|
|||||||||
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
public class 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. |
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()
getExternalContext
in class javax.faces.context.FacesContext
FacesContext.getExternalContext()
public javax.faces.application.FacesMessage.Severity getMaximumSeverity()
getMaximumSeverity
in class javax.faces.context.FacesContext
FacesContext.getMaximumSeverity()
public Iterator getMessages()
getMessages
in class javax.faces.context.FacesContext
FacesContext.getMessages()
public javax.faces.application.Application getApplication()
getApplication
in class javax.faces.context.FacesContext
FacesContext.getApplication()
public Iterator getClientIdsWithMessages()
getClientIdsWithMessages
in class javax.faces.context.FacesContext
FacesContext.getClientIdsWithMessages()
public Iterator getMessages(String clientId)
getMessages
in class javax.faces.context.FacesContext
FacesContext.getMessages(java.lang.String)
public javax.faces.render.RenderKit getRenderKit()
getRenderKit
in class javax.faces.context.FacesContext
FacesContext.getRenderKit()
public boolean getRenderResponse()
getRenderResponse
in class javax.faces.context.FacesContext
FacesContext.getRenderResponse()
public boolean getResponseComplete()
getResponseComplete
in class javax.faces.context.FacesContext
FacesContext.getResponseComplete()
public void setResponseStream(javax.faces.context.ResponseStream responseStream)
setResponseStream
in class javax.faces.context.FacesContext
FacesContext.setResponseStream(javax.faces.context.ResponseStream)
public javax.faces.context.ResponseStream getResponseStream()
getResponseStream
in class javax.faces.context.FacesContext
FacesContext.getResponseStream()
public void setResponseWriter(javax.faces.context.ResponseWriter responseWriter)
setResponseWriter
in class javax.faces.context.FacesContext
FacesContext.setResponseWriter(javax.faces.context.ResponseWriter)
public javax.faces.context.ResponseWriter getResponseWriter()
getResponseWriter
in class javax.faces.context.FacesContext
FacesContext.getResponseWriter()
public void setViewRoot(javax.faces.component.UIViewRoot viewRoot)
setViewRoot
in class javax.faces.context.FacesContext
FacesContext.setViewRoot(javax.faces.component.UIViewRoot)
public javax.faces.component.UIViewRoot getViewRoot()
getViewRoot
in class javax.faces.context.FacesContext
FacesContext.getViewRoot()
public void addMessage(String clientId, javax.faces.application.FacesMessage message)
addMessage
in class javax.faces.context.FacesContext
FacesContext.addMessage(java.lang.String,
javax.faces.application.FacesMessage)
public void release()
release
in class javax.faces.context.FacesContext
FacesContext.release()
public void renderResponse()
renderResponse
in class javax.faces.context.FacesContext
FacesContext.renderResponse()
public void responseComplete()
responseComplete
in class javax.faces.context.FacesContext
FacesContext.responseComplete()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |