org.apache.portals.bridges.jsf
Class PortletViewHandlerImpl
java.lang.Object
javax.faces.application.ViewHandler
org.apache.portals.bridges.jsf.PortletViewHandlerImpl
public class PortletViewHandlerImpl
- extends javax.faces.application.ViewHandler
View handler for JSF portlet bridge.
- Author:
- David Le Strat
Fields inherited from class javax.faces.application.ViewHandler |
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME |
Constructor Summary |
PortletViewHandlerImpl(javax.faces.application.ViewHandler handler)
Construct a new ViewHandler instance that delegates
non-portlet-specific behavior to the specified implementation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletViewHandlerImpl
public PortletViewHandlerImpl(javax.faces.application.ViewHandler handler)
Construct a new ViewHandler
instance that delegates
non-portlet-specific behavior to the specified implementation.
- Parameters:
handler
- The ViewHandler
instance
calculateLocale
public Locale calculateLocale(javax.faces.context.FacesContext facesContext)
- Specified by:
calculateLocale
in class javax.faces.application.ViewHandler
- See Also:
ViewHandler.calculateLocale(javax.faces.context.FacesContext)
calculateRenderKitId
public String calculateRenderKitId(javax.faces.context.FacesContext facesContext)
- Specified by:
calculateRenderKitId
in class javax.faces.application.ViewHandler
- See Also:
ViewHandler.calculateRenderKitId(javax.faces.context.FacesContext)
createView
public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext facesContext,
String viewId)
- Specified by:
createView
in class javax.faces.application.ViewHandler
- See Also:
ViewHandler.createView(javax.faces.context.FacesContext,
java.lang.String)
getActionURL
public String getActionURL(javax.faces.context.FacesContext facesContext,
String viewId)
- Specified by:
getActionURL
in class javax.faces.application.ViewHandler
- See Also:
ViewHandler.getActionURL(javax.faces.context.FacesContext,
java.lang.String)
getResourceURL
public String getResourceURL(javax.faces.context.FacesContext facesContext,
String path)
- Specified by:
getResourceURL
in class javax.faces.application.ViewHandler
- See Also:
ViewHandler.getResourceURL(javax.faces.context.FacesContext,
java.lang.String)
renderView
public void renderView(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIViewRoot viewToRender)
throws IOException,
javax.faces.FacesException
- Specified by:
renderView
in class javax.faces.application.ViewHandler
- Throws:
IOException
javax.faces.FacesException
- See Also:
ViewHandler.renderView(javax.faces.context.FacesContext,
javax.faces.component.UIViewRoot)
restoreView
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext facesContext,
String viewId)
- Specified by:
restoreView
in class javax.faces.application.ViewHandler
- See Also:
ViewHandler.restoreView(javax.faces.context.FacesContext,
java.lang.String)
writeState
public void writeState(javax.faces.context.FacesContext facesContext)
throws IOException
- Specified by:
writeState
in class javax.faces.application.ViewHandler
- Throws:
IOException
- See Also:
ViewHandler.writeState(javax.faces.context.FacesContext)
Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.