|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.application.ViewHandler
org.apache.shale.validator.faces.ValidatorViewHandler
public class ValidatorViewHandler
ValidatorViewHandler is a custom implementation of ViewHandler
that adds support for setting up a decorated RenderKit.
| Field Summary |
|---|
| Fields inherited from class javax.faces.application.ViewHandler |
|---|
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME |
| Constructor Summary | |
|---|---|
ValidatorViewHandler(javax.faces.application.ViewHandler original)
Create a ValidatorViewHandler instance that decorates the
specified ViewHandler provided by the JSF runtime
implementation. |
|
| Method Summary | |
|---|---|
java.util.Locale |
calculateLocale(javax.faces.context.FacesContext context)
|
java.lang.String |
calculateRenderKitId(javax.faces.context.FacesContext context)
|
javax.faces.component.UIViewRoot |
createView(javax.faces.context.FacesContext context,
java.lang.String viewId)
After delegating to our original ViewHandler,
ensure that our decorator RenderKit has been initialized. |
java.lang.String |
getActionURL(javax.faces.context.FacesContext context,
java.lang.String viewId)
|
java.lang.String |
getResourceURL(javax.faces.context.FacesContext context,
java.lang.String path)
|
void |
renderView(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot view)
|
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext context,
java.lang.String viewId)
|
void |
writeState(javax.faces.context.FacesContext context)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValidatorViewHandler(javax.faces.application.ViewHandler original)
Create a ValidatorViewHandler instance that decorates the
specified ViewHandler provided by the JSF runtime
implementation.
original - Original ViewHandler to be decorated| Method Detail |
|---|
public java.util.Locale calculateLocale(javax.faces.context.FacesContext context)
calculateLocale in class javax.faces.application.ViewHandlerpublic java.lang.String calculateRenderKitId(javax.faces.context.FacesContext context)
calculateRenderKitId in class javax.faces.application.ViewHandler
public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context,
java.lang.String viewId)
After delegating to our original ViewHandler,
ensure that our decorator RenderKit has been initialized.
createView in class javax.faces.application.ViewHandlercontext - FacesContext for the current requestviewId - View identifier of the view to be created
public java.lang.String getActionURL(javax.faces.context.FacesContext context,
java.lang.String viewId)
getActionURL in class javax.faces.application.ViewHandler
public java.lang.String getResourceURL(javax.faces.context.FacesContext context,
java.lang.String path)
getResourceURL in class javax.faces.application.ViewHandler
public void renderView(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot view)
throws java.io.IOException,
javax.faces.FacesException
renderView in class javax.faces.application.ViewHandlerjava.io.IOException
javax.faces.FacesException
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context,
java.lang.String viewId)
restoreView in class javax.faces.application.ViewHandler
public void writeState(javax.faces.context.FacesContext context)
throws java.io.IOException
writeState in class javax.faces.application.ViewHandlerjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||