|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.context.FacesContext
javax.faces.context.FacesContextWrapper
org.springframework.faces.webflow.FlowFacesContext
public class FlowFacesContext
Custom FacesContext implementation that delegates all standard FacesContext messaging functionality to a
Spring MessageSource made accessible as part of the current Web Flow request. Additionally, it manages the
renderResponse flag in flash scope so that the execution of the JSF Lifecycle may span multiple
requests in the case of the POST+REDIRECT+GET pattern being enabled.
FlowExternalContext| Nested Class Summary | |
|---|---|
static class |
FlowFacesContext.FacesMessageSource
A Spring Message Source that originated from JSF. |
protected static class |
FlowFacesContext.FlowFacesMessage
Adapter class to convert a FacesMessage to a Spring Message. |
| Constructor Summary | |
|---|---|
FlowFacesContext(RequestContext context,
javax.faces.context.FacesContext wrapped)
|
|
| Method Summary | |
|---|---|
void |
addMessage(java.lang.String clientId,
javax.faces.application.FacesMessage message)
Translates a FacesMessage to a Spring Web Flow message and adds it to the current MessageContext |
java.util.Iterator<java.lang.String> |
getClientIdsWithMessages()
Returns an Iterator for all component clientId's for which messages have been added. |
javax.el.ELContext |
getELContext()
|
javax.faces.context.ExternalContext |
getExternalContext()
|
javax.faces.application.FacesMessage.Severity |
getMaximumSeverity()
Return the maximum severity level recorded on any FacesMessages that has been queued, whether or not they are associated with any specific UIComponent. |
java.util.List<javax.faces.application.FacesMessage> |
getMessageList()
Returns a List for all Messages in the current MessageContext that does translation to FacesMessages. |
java.util.List<javax.faces.application.FacesMessage> |
getMessageList(java.lang.String clientId)
Returns a List for all Messages with the given clientId in the current MessageContext that does translation to FacesMessages. |
java.util.Iterator<javax.faces.application.FacesMessage> |
getMessages()
Returns an Iterator for all Messages in the current MessageContext that does translation to FacesMessages. |
java.util.Iterator<javax.faces.application.FacesMessage> |
getMessages(java.lang.String clientId)
Returns an Iterator for all Messages with the given clientId in the current MessageContext that does translation to FacesMessages. |
javax.faces.context.PartialViewContext |
getPartialViewContext()
|
boolean |
getRenderResponse()
|
boolean |
getResponseComplete()
|
javax.faces.context.FacesContext |
getWrapped()
|
boolean |
isValidationFailed()
|
static FlowFacesContext |
newInstance(RequestContext context,
javax.faces.lifecycle.Lifecycle lifecycle)
|
void |
release()
|
void |
renderResponse()
|
void |
responseComplete()
|
| Methods inherited from class javax.faces.context.FacesContextWrapper |
|---|
getApplication, getAttributes, getCurrentPhaseId, getExceptionHandler, getRenderKit, getResponseStream, getResponseWriter, getViewRoot, isPostback, isProcessingEvents, isProjectStage, isReleased, setCurrentPhaseId, setExceptionHandler, setProcessingEvents, setResponseStream, setResponseWriter, setViewRoot, validationFailed |
| 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 |
| Constructor Detail |
|---|
public FlowFacesContext(RequestContext context,
javax.faces.context.FacesContext wrapped)
| Method Detail |
|---|
public javax.faces.context.FacesContext getWrapped()
getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.FacesContext>getWrapped in class javax.faces.context.FacesContextWrapperpublic void release()
release in class javax.faces.context.FacesContextWrapperpublic javax.faces.context.ExternalContext getExternalContext()
getExternalContext in class javax.faces.context.FacesContextWrapperpublic javax.faces.context.PartialViewContext getPartialViewContext()
getPartialViewContext in class javax.faces.context.FacesContextWrapperpublic javax.el.ELContext getELContext()
getELContext in class javax.faces.context.FacesContextWrapperpublic boolean getRenderResponse()
getRenderResponse in class javax.faces.context.FacesContextWrapperpublic boolean getResponseComplete()
getResponseComplete in class javax.faces.context.FacesContextWrapperpublic void renderResponse()
renderResponse in class javax.faces.context.FacesContextWrapperpublic void responseComplete()
responseComplete in class javax.faces.context.FacesContextWrapperpublic boolean isValidationFailed()
isValidationFailed in class javax.faces.context.FacesContextWrapper
public void addMessage(java.lang.String clientId,
javax.faces.application.FacesMessage message)
addMessage in class javax.faces.context.FacesContextWrapperpublic java.util.Iterator<java.lang.String> getClientIdsWithMessages()
getClientIdsWithMessages in class javax.faces.context.FacesContextWrapperpublic javax.faces.application.FacesMessage.Severity getMaximumSeverity()
getMaximumSeverity in class javax.faces.context.FacesContextWrapperpublic java.util.Iterator<javax.faces.application.FacesMessage> getMessages()
getMessages in class javax.faces.context.FacesContextWrapperpublic java.util.List<javax.faces.application.FacesMessage> getMessageList()
getMessageList in class javax.faces.context.FacesContextWrapperpublic java.util.Iterator<javax.faces.application.FacesMessage> getMessages(java.lang.String clientId)
getMessages in class javax.faces.context.FacesContextWrapperpublic java.util.List<javax.faces.application.FacesMessage> getMessageList(java.lang.String clientId)
getMessageList in class javax.faces.context.FacesContextWrapper
public static FlowFacesContext newInstance(RequestContext context,
javax.faces.lifecycle.Lifecycle lifecycle)
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||