Interface PageLoader
- All Known Implementing Classes:
PageLoaderImpl
public interface PageLoader
Instantiates a fully loaded, configured instance of a Tapestry page. This is a recursive process, since part of
loading a page is to load the page elements for the page, many of which are components. Further, in some cases, the
full component tree is not identified until after each component's template is loaded. Pages are instantiated once
for each
ComponentResourceSelector
(prior to 5.3, once for each locale; prior to 5.1, for locale and pooled).- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionloadPage
(String pageName, ComponentResourceSelector selector) Loads the page for the indicated selector.
-
Method Details
-
loadPage
Loads the page for the indicated selector.- Parameters:
pageName
- the canonicalized logical name of the page, which will be made available viaPage.getName()
andComponentResourcesCommon.getPageName()
(for any component within the page).selector
- Encapsulates the locale and other information used to select the component's template and message catalog resources.
-