org.apache.portals.bridges.jsf
Class PortletFacesContextImpl
java.lang.Object
javax.faces.context.FacesContext
org.apache.portals.bridges.jsf.PortletFacesContextImpl
public class PortletFacesContextImpl
- extends javax.faces.context.FacesContext
See MyFaces project for servlet implementation.
TODO There should be a base class shared with the MyFaces
ServletFacesContextImpl.
- Author:
- David Le Strat
Field Summary |
static java.lang.String |
JSF_VIEW_ID
The JSF_VIEW_ID used to maintain the state of the view action. |
protected static java.lang.Object |
NULL_DUMMY
|
Constructor Summary |
PortletFacesContextImpl(javax.portlet.PortletContext portletContext,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse)
|
Methods inherited from class javax.faces.context.FacesContext |
getCurrentInstance, setCurrentInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL_DUMMY
protected static final java.lang.Object NULL_DUMMY
JSF_VIEW_ID
public static final java.lang.String JSF_VIEW_ID
- The JSF_VIEW_ID used to maintain the state of the view action.
- See Also:
- Constant Field Values
PortletFacesContextImpl
public PortletFacesContextImpl(javax.portlet.PortletContext portletContext,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse)
- Parameters:
portletContext
- The PortletContext
.portletRequest
- The PortletRequest
.portletResponse
- The PortletResponse
.
resolveViewRoot
public javax.faces.component.UIViewRoot resolveViewRoot(java.lang.String defaultViewName,
javax.portlet.PortletRequest portletRequest)
getExternalContext
public javax.faces.context.ExternalContext getExternalContext()
- Specified by:
getExternalContext
in class javax.faces.context.FacesContext
- See Also:
FacesContext.getExternalContext()
getMaximumSeverity
public javax.faces.application.FacesMessage.Severity getMaximumSeverity()
- Specified by:
getMaximumSeverity
in class javax.faces.context.FacesContext
- See Also:
FacesContext.getMaximumSeverity()
getMessages
public java.util.Iterator getMessages()
- Specified by:
getMessages
in class javax.faces.context.FacesContext
- See Also:
FacesContext.getMessages()
getApplication
public javax.faces.application.Application getApplication()
- Specified by:
getApplication
in class javax.faces.context.FacesContext
- See Also:
FacesContext.getApplication()
getClientIdsWithMessages
public java.util.Iterator getClientIdsWithMessages()
- Specified by:
getClientIdsWithMessages
in class javax.faces.context.FacesContext
- See Also:
FacesContext.getClientIdsWithMessages()
getMessages
public java.util.Iterator getMessages(java.lang.String clientId)
- Specified by:
getMessages
in class javax.faces.context.FacesContext
- See Also:
FacesContext.getMessages(java.lang.String)
getRenderKit
public javax.faces.render.RenderKit getRenderKit()
- Specified by:
getRenderKit
in class javax.faces.context.FacesContext
- See Also:
FacesContext.getRenderKit()
getRenderResponse
public boolean getRenderResponse()
- Specified by:
getRenderResponse
in class javax.faces.context.FacesContext
- See Also:
FacesContext.getRenderResponse()
getResponseComplete
public boolean getResponseComplete()
- Specified by:
getResponseComplete
in class javax.faces.context.FacesContext
- See Also:
FacesContext.getResponseComplete()
setResponseStream
public void setResponseStream(javax.faces.context.ResponseStream responseStream)
- Specified by:
setResponseStream
in class javax.faces.context.FacesContext
- See Also:
FacesContext.setResponseStream(javax.faces.context.ResponseStream)
getResponseStream
public javax.faces.context.ResponseStream getResponseStream()
- Specified by:
getResponseStream
in class javax.faces.context.FacesContext
- See Also:
FacesContext.getResponseStream()
setResponseWriter
public void setResponseWriter(javax.faces.context.ResponseWriter responseWriter)
- Specified by:
setResponseWriter
in class javax.faces.context.FacesContext
- See Also:
FacesContext.setResponseWriter(javax.faces.context.ResponseWriter)
getResponseWriter
public javax.faces.context.ResponseWriter getResponseWriter()
- Specified by:
getResponseWriter
in class javax.faces.context.FacesContext
- See Also:
FacesContext.getResponseWriter()
setViewRoot
public void setViewRoot(javax.faces.component.UIViewRoot viewRoot)
- Specified by:
setViewRoot
in class javax.faces.context.FacesContext
- See Also:
FacesContext.setViewRoot(javax.faces.component.UIViewRoot)
getViewRoot
public javax.faces.component.UIViewRoot getViewRoot()
- Specified by:
getViewRoot
in class javax.faces.context.FacesContext
- See Also:
FacesContext.getViewRoot()
addMessage
public void addMessage(java.lang.String clientId,
javax.faces.application.FacesMessage message)
- Specified by:
addMessage
in class javax.faces.context.FacesContext
- See Also:
FacesContext.addMessage(java.lang.String,
javax.faces.application.FacesMessage)
release
public void release()
- Specified by:
release
in class javax.faces.context.FacesContext
- See Also:
FacesContext.release()
renderResponse
public void renderResponse()
- Specified by:
renderResponse
in class javax.faces.context.FacesContext
- See Also:
FacesContext.renderResponse()
responseComplete
public void responseComplete()
- Specified by:
responseComplete
in class javax.faces.context.FacesContext
- See Also:
FacesContext.responseComplete()
Copyright © 1999-2011 Apache Software Foundation. All Rights Reserved.