|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RestoreViewSupport
Support class for restore view phase
| Method Summary | |
|---|---|
java.lang.String |
calculateViewId(javax.faces.context.FacesContext facesContext)
Calculates the view id from the given faces context by the following algorithm |
java.lang.String |
deriveViewId(javax.faces.context.FacesContext context,
java.lang.String viewId)
Derive a view id retrieved from calling calculateViewId(FacesContext), but do not check if a resource with this name exists. |
boolean |
isPostback(javax.faces.context.FacesContext facesContext)
Determine if the current request is a post back by the following algorithm. |
void |
processComponentBinding(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Processes the component tree. |
| Method Detail |
|---|
java.lang.String calculateViewId(javax.faces.context.FacesContext facesContext)
Calculates the view id from the given faces context by the following algorithm
ExternalContext.getRequestPathInfo()
ExternalContext.getRequestServletPath()
FacesException
java.lang.String deriveViewId(javax.faces.context.FacesContext context,
java.lang.String viewId)
context - viewId -
void processComponentBinding(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
facesContext - component - the root componentboolean isPostback(javax.faces.context.FacesContext facesContext)
Determine if the current request is a post back by the following algorithm.
Find the render-kit-id for the current request by calling calculateRenderKitId() on the Application’s ViewHandler. Get that RenderKit’s ResponseStateManager and call its isPostback() method, passing the given FacesContext.
facesContext -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||