com.ibm.xsp.page
Interface FacesPage

All Known Implementing Classes:
AbstractCompiledPage

public interface FacesPage

Classes which implement this interface are used to construct a JSF view from an XPage. The contents of the page are assumed to never change - if they change a new FacesPage must be loaded.


Method Summary
 void addComponent(javax.faces.context.FacesContext context, FacesComponentBuilder builder, javax.faces.component.UIComponent parent, java.lang.String initialTag)
          Creates this page's view root and adds it, or one of it's descendant components, as a child of the specified parent.
 javax.faces.component.UIViewRoot createViewRoot(javax.faces.context.FacesContext context)
          Create the view for the specified page
 

Method Detail

createViewRoot

javax.faces.component.UIViewRoot createViewRoot(javax.faces.context.FacesContext context)
                                                throws FacesPageException,
                                                       java.lang.UnsupportedOperationException
Create the view for the specified page

Parameters:
context -
Returns:
Throws:
FacesPageException
java.lang.UnsupportedOperationException

addComponent

void addComponent(javax.faces.context.FacesContext context,
                  FacesComponentBuilder builder,
                  javax.faces.component.UIComponent parent,
                  java.lang.String initialTag)
                  throws FacesPageException,
                         java.lang.UnsupportedOperationException
Creates this page's view root and adds it, or one of it's descendant components, as a child of the specified parent.

The optional initial tag refers to a tag in the included page (this page). It is the id of the component that will be inserted into the calling page as a child of the parent. It is used when including a portion of one page in another

The parent is a component in a caller page. It is usually an UIIncludeComposite or an UIInclude.

Parameters:
context -
builder -
parent -
initialTag -
Throws:
FacesPageException
java.lang.UnsupportedOperationException