|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.context.FacesContext
org.apache.portals.bridges.jsf.PortletFacesContextImpl
See MyFaces project for servlet implementation.
TODO There should be a base class shared with the MyFaces ServletFacesContextImpl.
Field Summary | |
private javax.faces.application.Application |
application
The application. |
private PortletExternalContextImpl |
externalContext
The portlet external context. |
static String |
JSF_VIEW_ID
The JSF_VIEW_ID used to maintain the state of the view action. |
private static org.apache.commons.logging.Log |
log
The logger. |
private javax.faces.application.FacesMessage.Severity |
maximumSeverity
The severity. |
private List |
messageClientIds
The message client ids. |
private List |
messages
The mesages. |
protected static Object |
NULL_DUMMY
|
private javax.faces.render.RenderKitFactory |
renderKitFactory
The render kit factory. |
private boolean |
renderResponse
The render response. |
private boolean |
responseComplete
Whether the response is complete. |
private javax.faces.context.ResponseStream |
responseStream
The response stream. |
private javax.faces.context.ResponseWriter |
responseWriter
The response writer. |
private javax.faces.component.UIViewRoot |
viewRoot
The view root. |
Fields inherited from class javax.faces.context.FacesContext |
|
Constructor Summary | |
PortletFacesContextImpl(javax.portlet.PortletContext portletContext,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse)
|
Method Summary | |
void |
addMessage(String clientId,
javax.faces.application.FacesMessage message)
|
javax.faces.application.Application |
getApplication()
|
Iterator |
getClientIdsWithMessages()
|
javax.faces.context.ExternalContext |
getExternalContext()
|
javax.faces.application.FacesMessage.Severity |
getMaximumSeverity()
|
Iterator |
getMessages()
|
Iterator |
getMessages(String clientId)
|
javax.faces.render.RenderKit |
getRenderKit()
|
boolean |
getRenderResponse()
|
boolean |
getResponseComplete()
|
javax.faces.context.ResponseStream |
getResponseStream()
|
javax.faces.context.ResponseWriter |
getResponseWriter()
|
javax.faces.component.UIViewRoot |
getViewRoot()
|
void |
release()
|
void |
renderResponse()
|
javax.faces.component.UIViewRoot |
resolveViewRoot(String defaultViewName,
javax.portlet.PortletRequest portletRequest)
|
void |
responseComplete()
|
void |
setResponseStream(javax.faces.context.ResponseStream responseStream)
|
void |
setResponseWriter(javax.faces.context.ResponseWriter responseWriter)
|
void |
setViewRoot(javax.faces.component.UIViewRoot viewRoot)
|
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 |
Field Detail |
private static final org.apache.commons.logging.Log log
protected static final Object NULL_DUMMY
private List messageClientIds
private List messages
private javax.faces.application.Application application
private PortletExternalContextImpl externalContext
private javax.faces.context.ResponseStream responseStream
private javax.faces.context.ResponseWriter responseWriter
private javax.faces.application.FacesMessage.Severity maximumSeverity
private javax.faces.component.UIViewRoot viewRoot
private boolean renderResponse
private boolean responseComplete
private javax.faces.render.RenderKitFactory renderKitFactory
public static final String JSF_VIEW_ID
Constructor Detail |
public PortletFacesContextImpl(javax.portlet.PortletContext portletContext, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse)
portletContext
- The PortletContext
.portletRequest
- The PortletRequest
.portletResponse
- The PortletResponse
.Method Detail |
public javax.faces.component.UIViewRoot resolveViewRoot(String defaultViewName, javax.portlet.PortletRequest portletRequest)
public javax.faces.context.ExternalContext getExternalContext()
FacesContext.getExternalContext()
public javax.faces.application.FacesMessage.Severity getMaximumSeverity()
FacesContext.getMaximumSeverity()
public Iterator getMessages()
FacesContext.getMessages()
public javax.faces.application.Application getApplication()
FacesContext.getApplication()
public Iterator getClientIdsWithMessages()
FacesContext.getClientIdsWithMessages()
public Iterator getMessages(String clientId)
FacesContext.getMessages(java.lang.String)
public javax.faces.render.RenderKit getRenderKit()
FacesContext.getRenderKit()
public boolean getRenderResponse()
FacesContext.getRenderResponse()
public boolean getResponseComplete()
FacesContext.getResponseComplete()
public void setResponseStream(javax.faces.context.ResponseStream responseStream)
FacesContext.setResponseStream(javax.faces.context.ResponseStream)
public javax.faces.context.ResponseStream getResponseStream()
FacesContext.getResponseStream()
public void setResponseWriter(javax.faces.context.ResponseWriter responseWriter)
FacesContext.setResponseWriter(javax.faces.context.ResponseWriter)
public javax.faces.context.ResponseWriter getResponseWriter()
FacesContext.getResponseWriter()
public void setViewRoot(javax.faces.component.UIViewRoot viewRoot)
FacesContext.setViewRoot(javax.faces.component.UIViewRoot)
public javax.faces.component.UIViewRoot getViewRoot()
FacesContext.getViewRoot()
public void addMessage(String clientId, javax.faces.application.FacesMessage message)
FacesContext.addMessage(java.lang.String,
javax.faces.application.FacesMessage)
public void release()
FacesContext.release()
public void renderResponse()
FacesContext.renderResponse()
public void responseComplete()
FacesContext.responseComplete()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |