| java.lang.Object org.apache.tapestry.ioc.BaseLocatable org.apache.tapestry.internal.structure.ComponentPageElementImpl
Constructor Summary | |
public | ComponentPageElementImpl(Page page, ComponentPageElement container, String id, String elementName, Instantiator instantiator, TypeCoercer typeCoercer, ComponentMessagesSource messagesSource, Location location) Constructor for other components embedded within the root component or at deeper levels of
the hierarchy. | public | ComponentPageElementImpl(Page page, Instantiator instantiator, TypeCoercer typeCoercer, ComponentMessagesSource messagesSource) Constructor for the root component of a page. |
Method Summary | |
public void | addBlock(String blockId, Block block) | public void | addEmbeddedElement(ComponentPageElement child) | public void | addMixin(Instantiator instantiator) | public void | addToBody(PageElement element) | public void | addToTemplate(PageElement element) | public void | bindParameter(String parameterName, Binding binding) | public void | containingPageDidAttach() | public void | containingPageDidDetach() | public void | containingPageDidLoad() | public Link | createActionLink(String action, boolean forForm, Object... context) Delegates to the
Page.createActionLink(ElementComponentPageElementStringbooleanObject[]) the containing page . | public Link | createPageLink(String pageName, boolean override, Object... context) | public void | enqueueBeforeRenderBody(RenderQueue queue) | public Block | findBlock(String id) | public Block | getBlock(String id) | public String | getCompleteId() | public Component | getComponent() | public InternalComponentResources | getComponentResources() | public ComponentPageElement | getContainerElement() | public Page | getContainingPage() | public String | getDefaultBindingPrefix(String parameterName) | public String | getElementName() | public ComponentPageElement | getEmbeddedElement(String embeddedId) | public Object | getFieldChange(String fieldName) | public String | getId() | public Locale | getLocale() | public Log | getLog() | public Component | getMixinByClassName(String mixinClassName) | public String | getNestedId() | public String | getPageName() | public boolean | handleEvent(ComponentEvent event) | public boolean | hasFieldChange(String fieldName) | public boolean | isLoaded() | public boolean | isRendering() | public void | persistFieldChange(ComponentResources resources, String fieldName, Object newValue) | public void | queueRender(RenderQueue queue) | final public void | render(MarkupWriter writer, RenderQueue queue) Pushes the SetupRender phase state onto the queue. | public String | toString() | public boolean | triggerEvent(String eventType, Object[] context, ComponentEventHandler handler) |
ComponentPageElementImpl | public ComponentPageElementImpl(Page page, ComponentPageElement container, String id, String elementName, Instantiator instantiator, TypeCoercer typeCoercer, ComponentMessagesSource messagesSource, Location location)(Code) | | Constructor for other components embedded within the root component or at deeper levels of
the hierarchy.
Parameters: page - ultimately containing this component Parameters: container - component immediately containing this component (may be null for a root component) Parameters: id - unique (within the container) id for this component (may be null for a rootcomponent) Parameters: elementName - the name of the element which represents this component in the template, or nullfor <comp> element or a page component Parameters: instantiator - used to create the new component instance and access the component's model Parameters: typeCoercer - used when coercing parameter values Parameters: messagesSource - Provides access to the component's message catalog Parameters: location - location of the element (within a template), used as part of exception reporting |
containingPageDidAttach | public void containingPageDidAttach()(Code) | | |
containingPageDidDetach | public void containingPageDidDetach()(Code) | | |
containingPageDidLoad | public void containingPageDidLoad()(Code) | | |
getContainingPage | public Page getContainingPage()(Code) | | |
getLog | public Log getLog()(Code) | | |
hasFieldChange | public boolean hasFieldChange(String fieldName)(Code) | | |
isLoaded | public boolean isLoaded()(Code) | | |
isRendering | public boolean isRendering()(Code) | | |
|
|