|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.application.ViewHandler
com.ibm.xsp.application.ViewHandlerEx
public abstract class ViewHandlerEx
Extension of the JSF Viewhandler with specific implementation points for XPages
| Field Summary |
|---|
| Fields inherited from class javax.faces.application.ViewHandler |
|---|
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME |
| Constructor Summary | |
|---|---|
ViewHandlerEx()
|
|
| Method Summary | |
|---|---|
javax.faces.component.UIViewRoot |
createView(javax.faces.context.FacesContext context,
java.lang.String viewId)
Construct an instance of the view root |
protected abstract javax.faces.component.UIViewRoot |
doCreateView(javax.faces.context.FacesContext context,
java.lang.String viewId,
java.util.Locale locale,
java.lang.String renderKitId)
Do the creation of the view and ensure it is an XSP view root |
abstract void |
doInitRender(javax.faces.context.FacesContext context)
Performs some setup required to begin rendering. |
abstract FacesPageDriver |
getPageDriver()
Return the FacesDriver used by this application |
boolean |
isGlobalResource(javax.faces.context.FacesContext context,
java.lang.String path)
Abstract method for checking is a resource a global one in the xpage application.ie that it starts with /.ibmxspres/ |
boolean |
isModuleResource(javax.faces.context.FacesContext context,
java.lang.String path)
Abstract method for checking is a resource a module one in the xpage application .ie that it starts with /.ibmmodres/ |
abstract void |
setPageDriver(FacesPageDriver driver)
Set the FacesPageDriver to be used by this application |
| Methods inherited from class javax.faces.application.ViewHandler |
|---|
calculateLocale, calculateRenderKitId, getActionURL, getResourceURL, renderView, restoreView, writeState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewHandlerEx()
| Method Detail |
|---|
public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context,
java.lang.String viewId)
createView in class javax.faces.application.ViewHandler{@link - javax.faces.context.FacesContext}viewId -
public boolean isGlobalResource(javax.faces.context.FacesContext context,
java.lang.String path)
{@link - javax.faces.context.FacesContext}path -
public boolean isModuleResource(javax.faces.context.FacesContext context,
java.lang.String path)
{@link - javax.faces.context.FacesContext}path -
protected abstract javax.faces.component.UIViewRoot doCreateView(javax.faces.context.FacesContext context,
java.lang.String viewId,
java.util.Locale locale,
java.lang.String renderKitId)
public abstract void setPageDriver(FacesPageDriver driver)
FacesPageDriver to be used by this application
public abstract FacesPageDriver getPageDriver()
FacesDriver used by this application
public abstract void doInitRender(javax.faces.context.FacesContext context)
throws java.io.IOException
Amongst other things it will call
FacesContext.setResponseWriter(javax.faces.context.ResponseWriter)
with a non-null writer.
context -
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||