| org.apache.struts.faces.application.ViewHandlerImpl
ViewHandlerImpl | public class ViewHandlerImpl extends ViewHandler (Code) | | Custom ViewHandler implementation that adds features
specific to the Struts-Faces Integration Library. It leverages the
"decorator pattern" customization strategy that JSF supports, by
delegating most processing to the ViewHandler instance
handed to our constructor.
|
ViewHandlerImpl | public ViewHandlerImpl(ViewHandler handler)(Code) | | Construct a ViewHandlerImpl decorating the
specified ViewHandler instance.
Parameters: handler - ViewHandler to be decorated |
calculateLocale | public Locale calculateLocale(FacesContext context)(Code) | | |
calculateRenderKitId | public String calculateRenderKitId(FacesContext context)(Code) | | |
createView | public UIViewRoot createView(FacesContext context, String viewId)(Code) | | |
getHandler | public ViewHandler getHandler()(Code) | | Return the ViewHandler instance we are decorating.
|
renderView | public void renderView(FacesContext context, UIViewRoot view) throws IOException, FacesException(Code) | | If the Struts application has set a Locale , pass it
on to JSF prior to delegating the actual rendering.
Parameters: context - FacesContext for the current request Parameters: view - UIViewRoot to be rendered |
restoreView | public UIViewRoot restoreView(FacesContext context, String viewId)(Code) | | |
setHandler | public void setHandler(ViewHandler handler)(Code) | | Set the ViewHandler instance we are decorating.
Parameters: handler - ViewHandler instance to decorate |
|
|