org.apache.tapestry5.internal.services

## 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:
    `RequestPageCache`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Page` | `loadPage(String pageName, ComponentResourceSelector selector)` Loads the page for the indicated selector.

- - ### Method Detail

    - #### loadPage

          Page loadPage(String pageName,
                        ComponentResourceSelector selector)

      Loads the page for the indicated selector.
      Parameters:
        `pageName` - the canonicalized logical name of the page, which will be made available via `Page.getName()` and `ComponentResourcesCommon.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.

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.