|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface exposed to components as they are loaded by the page loader.
IComponent.finishLoad(IRequestCycle, IPageLoader,
org.apache.tapestry.spec.IComponentSpecification)
Method Summary | |
IComponent |
createImplicitComponent(IRequestCycle cycle,
IComponent container,
java.lang.String componentId,
java.lang.String componentType,
org.apache.hivemind.Location location)
Invoked to create an implicit component (one which is defined in the containing component's template, rather that in the containing component's specification). |
IPage |
loadPage(java.lang.String name,
INamespace namespace,
IRequestCycle cycle,
IComponentSpecification specification)
Invoked by the IPageSource to load a specific page. |
void |
loadTemplateForComponent(IRequestCycle cycle,
ITemplateComponent component)
Invoked by a component (from within its IComponent.finishLoad(IRequestCycle, IPageLoader, IComponentSpecification) method) to
load the template for the component. |
Method Detail |
public IComponent createImplicitComponent(IRequestCycle cycle, IComponent container, java.lang.String componentId, java.lang.String componentType, org.apache.hivemind.Location location)
ComponentTemplateLoaderImpl
public IPage loadPage(java.lang.String name, INamespace namespace, IRequestCycle cycle, IComponentSpecification specification)
IPageSource
to load a specific page. This method is not reentrant. The
page is immediately attached to the engine
.
name
- the simple (unqualified) name of the page to loadnamespace
- from which the page is to be loaded (used when resolving components embedded by
the page)cycle
- the request cycle the page is initially loaded for (this is used to define the
locale of the new page, and provide access to the corect specification source,
etc.).specification
- the specification for the pagepublic void loadTemplateForComponent(IRequestCycle cycle, ITemplateComponent component)
IComponent.finishLoad(IRequestCycle, IPageLoader, IComponentSpecification)
method) to
load the template for the component. This will result in new components being created, and
the "outers" of the component being updated.
ITemplateComponent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |