| org.apache.tapestry.internal.structure.ComponentPageElement
All known Subclasses: org.apache.tapestry.internal.structure.ComponentPageElementImpl,
addEmbeddedElement | void addEmbeddedElement(ComponentPageElement child)(Code) | | Adds a component to its container. The embedded component's id must be unique within the
container (after the id is converted to lower case).
|
addMixin | void addMixin(Instantiator instantiator)(Code) | | Adds a mixin.
Parameters: instantiator - used to instantiate an instance of the mixin |
addToTemplate | void addToTemplate(PageElement element)(Code) | | Used during the construction of a page. Adds a page element as part of the template for this
page element. A page element will eventually render by sequentially rendering these elements.
A page elements template is really just the outermost portions of the component's template
... where a template contains elements that are all components, those components will receive
portions of the template as their body.
|
enqueueBeforeRenderBody | void enqueueBeforeRenderBody(RenderQueue queue)(Code) | | Invoked when the component should render its body.
|
getComponent | Component getComponent()(Code) | | Returns the core component associated with this page element (as opposed to any mixins
attached to the component).
|
getContainerElement | ComponentPageElement getContainerElement()(Code) | | Containing component (or null for the root component of a page).
|
getContainingPage | Page getContainingPage()(Code) | | Returns the page which contains this component.
|
getDefaultBindingPrefix | String getDefaultBindingPrefix(String parameterName)(Code) | | Searches the component (and its mixins) for a formal parameter matching the given name. If
found, the
ParameterModel.getDefaultBindingPrefix default binding prefix is
returned. Otherwise the parameter is an informal parameter, and null is returned.
Parameters: parameterName - the name of the parameter, possibly qualified with the mixin class name the default binding prefix, or null |
getEmbeddedElement | ComponentPageElement getEmbeddedElement(String id)(Code) | | Retrieves a component page element by its id. The search is caseless.
Parameters: id - used to locate the element the page element throws: IllegalArgumentException - if no component exists with the given id |
|
|