com.ibm.xsp.page
Interface FacesPageDispatcher

All Known Implementing Classes:
AbstractCompiledPageDispatcher

public interface FacesPageDispatcher

A FacesPageDispatcher is a logical representation of a FacesPage. There may be multiple .xsp files corresponding to a single logical representation e.g.

  • For localization purposes where there are different localized versions of the same file
  • For cross platform support where there are different platform specific versions of the same file

  • Method Summary
     FacesPage loadPage(javax.faces.context.FacesContext context, java.lang.String renderKitId, java.util.Locale locale)
              Creates the page according to the context, eg.
     

    Method Detail

    loadPage

    FacesPage loadPage(javax.faces.context.FacesContext context,
                       java.lang.String renderKitId,
                       java.util.Locale locale)
    Creates the page according to the context, eg. if the current locale is Spanish, the spanish page will be loaded.

    Parameters:
    context -
    Returns:
    The FacesPage that corresponds to the relevant xsp page.