public class ExtFacesContextImpl extends ExtFacesContext implements Serializable
| Constructor and Description |
|---|
ExtFacesContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponentErrorMessage(javax.faces.context.FacesContext facesContext,
String clientId,
String messageId)
Adds the specified key as a message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_ERROR. |
void |
addComponentErrorMessage(javax.faces.context.FacesContext facesContext,
String clientId,
String messageId,
Object... arguments)
Adds the specified key as a global message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_ERROR and substitutes the specified argument(s) for the
tokens in the specified key. |
void |
addComponentErrorMessage(String clientId,
String messageId)
Adds the specified key as a message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_ERROR. |
void |
addComponentErrorMessage(String clientId,
String messageId,
Object... arguments)
Adds the specified key as a global message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_ERROR and substitutes the specified argument(s) for the
tokens in the specified key. |
void |
addComponentInfoMessage(javax.faces.context.FacesContext facesContext,
String clientId,
String messageId)
Adds the specified key as a message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_INFO. |
void |
addComponentInfoMessage(javax.faces.context.FacesContext facesContext,
String clientId,
String messageId,
Object... arguments)
Adds the specified key as a global message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_INFO and substitutes the specified argument(s) for the
tokens in the specified key. |
void |
addComponentInfoMessage(String clientId,
String messageId)
Adds the specified key as a message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_INFO. |
void |
addComponentInfoMessage(String clientId,
String messageId,
Object... arguments)
Adds the specified key as a global message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_INFO and substitutes the specified argument(s) for the
tokens in the specified key. |
void |
addGlobalErrorMessage(javax.faces.context.FacesContext facesContext,
String messageId)
Adds the specified key as a global message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_ERROR. |
void |
addGlobalErrorMessage(javax.faces.context.FacesContext facesContext,
String messageId,
Object... arguments)
Adds the specified key as a global message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_ERROR and substitutes the specified argument(s) for the
tokens in the specified key. |
void |
addGlobalErrorMessage(String messageId)
Adds the specified key as a global message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_ERROR. |
void |
addGlobalErrorMessage(String messageId,
Object... arguments)
Adds the specified key as a global message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_ERROR and substitutes the specified argument(s) for the
tokens in the specified key. |
void |
addGlobalInfoMessage(javax.faces.context.FacesContext facesContext,
String messageId)
Adds the specified key as a global message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_INFO. |
void |
addGlobalInfoMessage(javax.faces.context.FacesContext facesContext,
String messageId,
Object... arguments)
Adds the specified key as a global message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_INFO and substitutes the specified argument(s) for the
tokens in the specified key. |
void |
addGlobalInfoMessage(String messageId)
Adds the specified key as a global message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_INFO. |
void |
addGlobalInfoMessage(String messageId,
Object... arguments)
Adds the specified key as a global message to the FacesContext with severity
javax.faces.application.FacesMessage.SEVERITY_INFO and substitutes the specified argument(s) for the
tokens in the specified key. |
void |
addGlobalSuccessInfoMessage()
Adds a global information message to the current FacesContext with "your-request-processed-successfully" key as
the messageId.
|
void |
addGlobalSuccessInfoMessage(javax.faces.context.FacesContext facesContext)
Adds a global information message to the current FacesContext with "your-request-processed-successfully" key as
the messageId.
|
void |
addGlobalUnexpectedErrorMessage()
Adds a global error message to the current FacesContext with "an-unexpected-error-occurred" key as the messageId.
|
void |
addGlobalUnexpectedErrorMessage(javax.faces.context.FacesContext facesContext)
Adds a global error message to the current FacesContext with "an-unexpected-error-occurred" key as the messageId.
|
void |
addMessage(javax.faces.context.FacesContext facesContext,
String clientId,
javax.faces.application.FacesMessage.Severity severity,
String messageId)
Adds the specified key as a message associated with the UIComponent that has the specified clientId.
|
void |
addMessage(javax.faces.context.FacesContext facesContext,
String clientId,
javax.faces.application.FacesMessage.Severity severity,
String messageId,
Object... arguments)
Adds the specified key as a message associated with the UIComponent that has the specified clientId.
|
void |
addMessage(String clientId,
javax.faces.application.FacesMessage.Severity severity,
String messageId)
Adds the specified key as a message associated with the UIComponent that has the specified clientId.
|
void |
addMessage(String clientId,
javax.faces.application.FacesMessage.Severity severity,
String messageId,
Object... arguments)
Adds the specified key as a message associated with the UIComponent that has the specified clientId.
|
void |
addMessage(String clientId,
javax.faces.application.FacesMessage facesMessage) |
javax.faces.application.Application |
getApplication() |
Map<Object,Object> |
getAttributes() |
Iterator<String> |
getClientIdsWithMessages() |
javax.faces.event.PhaseId |
getCurrentPhaseId() |
javax.el.ELContext |
getELContext() |
javax.faces.context.ExceptionHandler |
getExceptionHandler() |
javax.faces.context.ExternalContext |
getExternalContext() |
javax.faces.context.FacesContext |
getFacesContext()
Gets the underlying/wrapped FacesContext ThreadLocal singleton instance.
|
Locale |
getLocale()
Returns the locale of the viewRoot of the current JSF FacesContext
|
Locale |
getLocale(javax.faces.context.FacesContext facesContext)
Returns the locale of the viewRoot of the current JSF FacesContext
|
javax.faces.application.FacesMessage.Severity |
getMaximumSeverity() |
String |
getMessage(javax.faces.context.FacesContext facesContext,
Locale locale,
String messageId)
Returns the message associated with the specified messageId by delegating to the FacesMessageFactory, according
to the specified locale.
|
String |
getMessage(javax.faces.context.FacesContext facesContext,
Locale locale,
String messageId,
Object... arguments)
Returns the message associated with the specified messageId by delegating to the FacesMessageFactory, according
to the specified locale and arguments that are to be substituted.
|
String |
getMessage(javax.faces.context.FacesContext facesContext,
String messageId)
Returns the message associated with the specified messageId by delegating to the FacesMessageFactory, according
to the current locale.
|
String |
getMessage(javax.faces.context.FacesContext facesContext,
String messageId,
Object... arguments)
Returns the message associated with the specified messageId by delegating to the FacesMessageFactory, according
to the current locale and arguments that are to be substituted.
|
String |
getMessage(Locale locale,
String messageId)
Returns the message associated with the specified messageId by delegating to the FacesMessageFactory, according
to the specified locale.
|
String |
getMessage(Locale locale,
String messageId,
Object... arguments)
Returns the message associated with the specified messageId by delegating to the FacesMessageFactory, according
to the specified locale and arguments that are to be substituted.
|
String |
getMessage(String messageId)
Returns the message associated with the specified messageId by delegating to the FacesMessageFactory, according
to the current locale.
|
String |
getMessage(String messageId,
Object... arguments)
Returns the message associated with the specified messageId by delegating to the FacesMessageFactory, according
to the current locale and arguments that are to be substituted.
|
List<javax.faces.application.FacesMessage> |
getMessageList() |
List<javax.faces.application.FacesMessage> |
getMessageList(String clientId) |
Iterator<javax.faces.application.FacesMessage> |
getMessages() |
Iterator<javax.faces.application.FacesMessage> |
getMessages(String clientId) |
String |
getNamespace()
Delegates to the underlying
ExternalContext.encodeNamespace(String) method in order to get the
application namespace. |
String |
getNamespace(javax.faces.context.FacesContext facesContext)
Delegates to the underlying
ExternalContext.encodeNamespace(String) method in order to get the
application namespace. |
char |
getNamingContainerSeparatorChar() |
javax.faces.component.UIForm |
getParentForm(javax.faces.component.UIComponent uiComponent)
Returns the parent form of the given component or
null if no parent form is found. |
javax.faces.context.PartialViewContext |
getPartialViewContext() |
javax.faces.render.RenderKit |
getRenderKit() |
boolean |
getRenderResponse() |
Object |
getRequestAttribute(javax.faces.context.FacesContext facesContext,
String name)
Returns the value of the request attribute associated with the specified name.
|
Object |
getRequestAttribute(String name)
Returns the value of the request attribute associated with the specified name.
|
String |
getRequestContextPath()
Returns The request context path.
|
String |
getRequestContextPath(javax.faces.context.FacesContext facesContext)
Returns The request context path.
|
String |
getRequestParameter(javax.faces.context.FacesContext facesContext,
String name)
Retrieves the specified parameter passed as part of the request
|
String |
getRequestParameter(String name)
Retrieves the specified parameter passed as part of the request
|
boolean |
getRequestParameterAsBool(javax.faces.context.FacesContext facesContext,
String name,
boolean defaultValue)
Retrieves the specified parameter passed as part of the request as a boolean.
|
boolean |
getRequestParameterAsBool(String name,
boolean defaultValue)
Retrieves the specified parameter passed as part of the request as a boolean.
|
int |
getRequestParameterAsInt(javax.faces.context.FacesContext facesContext,
String name,
int defaultValue)
Retrieves the specified parameter passed as part of the request as an integer.
|
int |
getRequestParameterAsInt(String name,
int defaultValue)
Retrieves the specified parameter passed as part of the request as an integer.
|
long |
getRequestParameterAsLong(javax.faces.context.FacesContext facesContext,
String name,
long defaultValue)
Retrieves the specified parameter passed as part of the request as an integer.
|
long |
getRequestParameterAsLong(String name,
long defaultValue)
Retrieves the specified parameter passed as part of the request as an integer.
|
String |
getRequestParameterFromMap(javax.faces.context.FacesContext facesContext,
String name)
Retrieves the specified parameter from the ExternalContext's request parameter map.
|
String |
getRequestParameterFromMap(String name)
Retrieves the specified parameter from the ExternalContext's request parameter map.
|
Map<String,String> |
getRequestParameterMap()
Returns the map of request parameters from the ExternalContext.
|
Map<String,String> |
getRequestParameterMap(javax.faces.context.FacesContext facesContext)
Returns the map of request parameters from the ExternalContext.
|
String |
getRequestQueryString()
Retrieves the value of the original "javax.servlet.forward.query_string" request attribute.
|
String |
getRequestQueryString(javax.faces.context.FacesContext facesContext)
Retrieves the value of the original "javax.servlet.forward.query_string" request attribute.
|
String |
getRequestQueryStringParameter(javax.faces.context.FacesContext facesContext,
String name)
Retrieves the value of the specified parameter name from the original "javax.servlet.forward.query_string"
request attribute.
|
String |
getRequestQueryStringParameter(String name)
Retrieves the value of the specified parameter name from the original "javax.servlet.forward.query_string"
request attribute.
|
List<String> |
getResourceLibraryContracts() |
boolean |
getResponseComplete() |
javax.faces.context.ResponseStream |
getResponseStream() |
javax.faces.context.ResponseWriter |
getResponseWriter() |
Object |
getSession(boolean create)
Returns the session object associated with the current FacesContext.
|
Object |
getSession(javax.faces.context.FacesContext facesContext,
boolean create)
Returns the session object associated with the current FacesContext.
|
Object |
getSessionAttribute(javax.faces.context.FacesContext facesContext,
String name)
Returns the value of the session attribute associated with the specified name.
|
Object |
getSessionAttribute(String name)
Returns the value of the session attribute associated with the specified name.
|
javax.faces.component.UIViewRoot |
getViewRoot() |
boolean |
isPostback() |
boolean |
isProcessingEvents() |
boolean |
isProjectStage(javax.faces.application.ProjectStage stage) |
boolean |
isReleased() |
boolean |
isValidationFailed() |
javax.faces.component.UIComponent |
matchComponentInHierarchy(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent parent,
String partialClientId)
Traverses the component tree starting at the specified UIComponent parent and returns the first UIComponent child
that contains the specified partialClientId.
|
javax.faces.component.UIComponent |
matchComponentInHierarchy(javax.faces.component.UIComponent parent,
String partialClientId)
Traverses the component tree starting at the specified UIComponent parent and returns the first UIComponent child
that contains the specified partialClientId.
|
javax.faces.component.UIComponent |
matchComponentInViewRoot(javax.faces.context.FacesContext facesContext,
String partialClientId)
Traverses the component tree associated with the UIViewRoot of this FacesContext and returns the first
UIComponent child that contains the specified partialClientId.
|
javax.faces.component.UIComponent |
matchComponentInViewRoot(String partialClientId)
Traverses the component tree associated with the UIViewRoot of this FacesContext and returns the first
UIComponent child that contains the specified partialClientId.
|
void |
navigate(javax.faces.context.FacesContext facesContext,
String fromAction,
String outcome)
Sets the current JSF navigation to the specified outcome.
|
void |
navigate(String fromAction,
String outcome)
Sets the current JSF navigation to the specified outcome.
|
void |
navigateTo(javax.faces.context.FacesContext facesContext,
String outcome)
Sets the current JSF navigation to the specified outcome.
|
void |
navigateTo(String outcome)
Sets the current JSF navigation to the specified outcome.
|
void |
recreateComponentTree()
Delete the whole component tree.
|
void |
recreateComponentTree(javax.faces.context.FacesContext facesContext)
Delete the whole component tree.
|
void |
registerPhaseListener(javax.faces.event.PhaseListener phaseListener)
Register a
PhaseListener programatically (instead of in the faces-config.xml). |
void |
release() |
void |
removeChildrenFromComponentTree(javax.faces.context.FacesContext facesContext,
String clientId)
clear component tree since input fields will not be refreshed.
|
void |
removeChildrenFromComponentTree(String clientId)
clear component tree since input fields will not be refreshed.
|
void |
removeMessages(javax.faces.context.FacesContext facesContext,
String clientId)
Removes all FacesMessage instances from this FacesContext that are associated with the specified clientId.
|
void |
removeMessages(String clientId)
Removes all FacesMessage instances from this FacesContext that are associated with the specified clientId.
|
void |
removeMessagesForImmediateComponents()
Removes all FacesMessage instances from this FacesContext that are associated with components whose immediate
attribute is true.The typical use case for this method is when seemingly bogus messages are added to the
FacesContext on components whose immediate attribute is true.
|
void |
removeMessagesForImmediateComponents(javax.faces.context.FacesContext facesContext)
Removes all FacesMessage instances from this FacesContext that are associated with components whose immediate
attribute is true.The typical use case for this method is when seemingly bogus messages are added to the
FacesContext on components whose immediate attribute is true.
|
void |
removeMessagesForImmediateComponents(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
Removes all FacesMessage instances from this FacesContext that are associated with components whose immediate
attribute is true.The typical use case for this method is when seemingly bogus messages are added to the
FacesContext on components whose immediate attribute is true.
|
void |
removeMessagesForImmediateComponents(javax.faces.component.UIComponent uiComponent)
Removes all FacesMessage instances from this FacesContext that are associated with components whose immediate
attribute is true.The typical use case for this method is when seemingly bogus messages are added to the
FacesContext on components whose immediate attribute is true.
|
void |
removeParentFormFromComponentTree(javax.faces.component.UIComponent uiComponent)
Delete the component subtree of a given component.
|
void |
renderResponse() |
void |
resetView()
Causes the current view's component tree to be discarded and re-rendered.
|
void |
resetView(boolean renderResponse)
Causes the current view's component tree to be discarded and (optionally) re-rendered.
|
void |
resetView(javax.faces.context.FacesContext facesContext)
Causes the current view's component tree to be discarded and re-rendered.
|
void |
resetView(javax.faces.context.FacesContext facesContext,
boolean renderResponse)
Causes the current view's component tree to be discarded and (optionally) re-rendered.
|
Object |
resolveExpression(javax.faces.context.FacesContext facesContext,
String elExpression)
Returns the object associated with the specified EL expression.
|
Object |
resolveExpression(String elExpression)
Returns the object associated with the specified EL expression.
|
void |
responseComplete() |
void |
setCurrentPhaseId(javax.faces.event.PhaseId currentPhaseId) |
void |
setExceptionHandler(javax.faces.context.ExceptionHandler exceptionHandler) |
void |
setProcessingEvents(boolean processingEvents) |
void |
setRequestAttribute(javax.faces.context.FacesContext facesContext,
String name,
Object value)
Sets the value of the a request attribute using the specified name and value.
|
void |
setRequestAttribute(String name,
Object value)
Sets the value of the a request attribute using the specified name and value.
|
void |
setResourceLibraryContracts(List<String> contracts) |
void |
setResponseStream(javax.faces.context.ResponseStream responseStream) |
void |
setResponseWriter(javax.faces.context.ResponseWriter responseWriter) |
void |
setSessionAttribute(javax.faces.context.FacesContext facesContext,
String name,
Object value)
Sets the value of the a session attribute using the specified name and value.
|
void |
setSessionAttribute(String name,
Object value)
Sets the value of the a session attribute using the specified name and value.
|
void |
setViewRoot(javax.faces.component.UIViewRoot viewRoot) |
void |
validationFailed() |
getInstance, setInstancepublic void addComponentErrorMessage(String clientId, String messageId)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_ERROR. The message will not be global, rather it will be
associated with the javax.faces.component.UIComponent that is associated with the specified
clientId.addComponentErrorMessage in interface FacesContextHelperaddComponentErrorMessage in class ExtFacesContextFacesContextHelper#addComponentErrorMessage(String, String)}public void addComponentErrorMessage(String clientId, String messageId, Object... arguments)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_ERROR and substitutes the specified argument(s) for the
tokens in the specified key. The message will not be global, rather it will be associated with the
javax.faces.component.UIComponent that is associated with the specified clientId.addComponentErrorMessage in interface FacesContextHelperaddComponentErrorMessage in class ExtFacesContextFacesContextHelper#addComponentErrorMessage(String, String, Object...)}public void addComponentErrorMessage(javax.faces.context.FacesContext facesContext,
String clientId,
String messageId)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_ERROR. The message will not be global, rather it will be
associated with the javax.faces.component.UIComponent that is associated with the specified
clientId.addComponentErrorMessage in interface FacesContextHelperaddComponentErrorMessage in class ExtFacesContextFacesContextHelper#addComponentErrorMessage(String, String)}public void addComponentErrorMessage(javax.faces.context.FacesContext facesContext,
String clientId,
String messageId,
Object... arguments)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_ERROR and substitutes the specified argument(s) for the
tokens in the specified key. The message will not be global, rather it will be associated with the
javax.faces.component.UIComponent that is associated with the specified clientId.addComponentErrorMessage in interface FacesContextHelperaddComponentErrorMessage in class ExtFacesContextFacesContextHelper#addComponentErrorMessage(String, String, Object...)}public void addComponentInfoMessage(String clientId, String messageId)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_INFO. The message will not be global, rather it will be
associated with the javax.faces.component.UIComponent that is associated with the specified
clientId.addComponentInfoMessage in interface FacesContextHelperaddComponentInfoMessage in class ExtFacesContextFacesContextHelper#addComponentInfoMessage(String, String)}public void addComponentInfoMessage(String clientId, String messageId, Object... arguments)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_INFO and substitutes the specified argument(s) for the
tokens in the specified key. The message will not be global, rather it will be associated with the
javax.faces.component.UIComponent that is associated with the specified clientId.addComponentInfoMessage in interface FacesContextHelperaddComponentInfoMessage in class ExtFacesContextFacesContextHelper#addComponentInfoMessage(String, String, Object...)}public void addComponentInfoMessage(javax.faces.context.FacesContext facesContext,
String clientId,
String messageId)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_INFO. The message will not be global, rather it will be
associated with the javax.faces.component.UIComponent that is associated with the specified
clientId.addComponentInfoMessage in interface FacesContextHelperaddComponentInfoMessage in class ExtFacesContextFacesContextHelper#addComponentInfoMessage(String, String)}public void addComponentInfoMessage(javax.faces.context.FacesContext facesContext,
String clientId,
String messageId,
Object... arguments)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_INFO and substitutes the specified argument(s) for the
tokens in the specified key. The message will not be global, rather it will be associated with the
javax.faces.component.UIComponent that is associated with the specified clientId.addComponentInfoMessage in interface FacesContextHelperaddComponentInfoMessage in class ExtFacesContextFacesContextHelper#addComponentInfoMessage(String, String, Object...)}public void addGlobalErrorMessage(String messageId)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_ERROR.addGlobalErrorMessage in interface FacesContextHelperaddGlobalErrorMessage in class ExtFacesContextFacesContextHelper#addGlobalErrorMessage(String)}public void addGlobalErrorMessage(String messageId, Object... arguments)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_ERROR and substitutes the specified argument(s) for the
tokens in the specified key.addGlobalErrorMessage in interface FacesContextHelperaddGlobalErrorMessage in class ExtFacesContextFacesContextHelper#addGlobalErrorMessage(String, Object...)}public void addGlobalErrorMessage(javax.faces.context.FacesContext facesContext,
String messageId)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_ERROR.addGlobalErrorMessage in interface FacesContextHelperaddGlobalErrorMessage in class ExtFacesContextFacesContextHelper#addGlobalErrorMessage(String)}public void addGlobalErrorMessage(javax.faces.context.FacesContext facesContext,
String messageId,
Object... arguments)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_ERROR and substitutes the specified argument(s) for the
tokens in the specified key.addGlobalErrorMessage in interface FacesContextHelperaddGlobalErrorMessage in class ExtFacesContextFacesContextHelper#addGlobalErrorMessage(String, Object...)}public void addGlobalInfoMessage(String messageId)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_INFO.addGlobalInfoMessage in interface FacesContextHelperaddGlobalInfoMessage in class ExtFacesContextFacesContextHelper#addGlobalInfoMessage(String)}public void addGlobalInfoMessage(String messageId, Object... arguments)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_INFO and substitutes the specified argument(s) for the
tokens in the specified key.addGlobalInfoMessage in interface FacesContextHelperaddGlobalInfoMessage in class ExtFacesContextFacesContextHelper#addGlobalInfoMessage(String, Object...)}public void addGlobalInfoMessage(javax.faces.context.FacesContext facesContext,
String messageId)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_INFO.addGlobalInfoMessage in interface FacesContextHelperaddGlobalInfoMessage in class ExtFacesContextFacesContextHelper#addGlobalInfoMessage(String)}public void addGlobalInfoMessage(javax.faces.context.FacesContext facesContext,
String messageId,
Object... arguments)
FacesContextHelper
javax.faces.application.FacesMessage.SEVERITY_INFO and substitutes the specified argument(s) for the
tokens in the specified key.addGlobalInfoMessage in interface FacesContextHelperaddGlobalInfoMessage in class ExtFacesContextFacesContextHelper#addGlobalInfoMessage(String, Object...)}public void addGlobalSuccessInfoMessage()
FacesContextHelperaddGlobalSuccessInfoMessage in interface FacesContextHelperaddGlobalSuccessInfoMessage in class ExtFacesContextFacesContextHelper#addGlobalSuccessInfoMessage()}public void addGlobalSuccessInfoMessage(javax.faces.context.FacesContext facesContext)
FacesContextHelperaddGlobalSuccessInfoMessage in interface FacesContextHelperaddGlobalSuccessInfoMessage in class ExtFacesContextFacesContextHelper#addGlobalSuccessInfoMessage()}public void addGlobalUnexpectedErrorMessage()
FacesContextHelperaddGlobalUnexpectedErrorMessage in interface FacesContextHelperaddGlobalUnexpectedErrorMessage in class ExtFacesContextFacesContextHelper#addGlobalUnexpectedErrorMessage()}public void addGlobalUnexpectedErrorMessage(javax.faces.context.FacesContext facesContext)
FacesContextHelperaddGlobalUnexpectedErrorMessage in interface FacesContextHelperaddGlobalUnexpectedErrorMessage in class ExtFacesContextFacesContextHelper#addGlobalUnexpectedErrorMessage()}public void addMessage(String clientId, javax.faces.application.FacesMessage facesMessage)
addMessage in class ExtFacesContextpublic void addMessage(String clientId, javax.faces.application.FacesMessage.Severity severity, String messageId)
FacesContextHelperaddMessage in interface FacesContextHelperaddMessage in class ExtFacesContextFacesContextHelper#addMessage(String, Severity, String)}public void addMessage(String clientId, javax.faces.application.FacesMessage.Severity severity, String messageId, Object... arguments)
FacesContextHelperaddMessage in interface FacesContextHelperaddMessage in class ExtFacesContextFacesContextHelper#addMessage(String, Severity, String, Object...)}public void addMessage(javax.faces.context.FacesContext facesContext,
String clientId,
javax.faces.application.FacesMessage.Severity severity,
String messageId)
FacesContextHelperaddMessage in interface FacesContextHelperaddMessage in class ExtFacesContextFacesContextHelper#addMessage(String, Severity, String)}public void addMessage(javax.faces.context.FacesContext facesContext,
String clientId,
javax.faces.application.FacesMessage.Severity severity,
String messageId,
Object... arguments)
FacesContextHelperaddMessage in interface FacesContextHelperaddMessage in class ExtFacesContextFacesContextHelper#addMessage(String, Severity, String, Object...)}public javax.faces.application.Application getApplication()
getApplication in class ExtFacesContextpublic Map<Object,Object> getAttributes()
getAttributes in class ExtFacesContextpublic Iterator<String> getClientIdsWithMessages()
getClientIdsWithMessages in class ExtFacesContextpublic javax.faces.event.PhaseId getCurrentPhaseId()
getCurrentPhaseId in class ExtFacesContextpublic javax.el.ELContext getELContext()
getELContext in class ExtFacesContextpublic javax.faces.context.ExceptionHandler getExceptionHandler()
getExceptionHandler in class ExtFacesContextpublic javax.faces.context.ExternalContext getExternalContext()
getExternalContext in class ExtFacesContextpublic javax.faces.context.FacesContext getFacesContext()
FacesContextHelpergetFacesContext in interface FacesContextHelpergetFacesContext in class ExtFacesContextFacesContextHelper#getFacesContext()}public Locale getLocale()
FacesContextHelpergetLocale in interface FacesContextHelpergetLocale in class ExtFacesContextFacesContextHelper#getLocale()}public Locale getLocale(javax.faces.context.FacesContext facesContext)
FacesContextHelpergetLocale in interface FacesContextHelpergetLocale in class ExtFacesContextFacesContextHelper#getLocale()}public javax.faces.application.FacesMessage.Severity getMaximumSeverity()
getMaximumSeverity in class ExtFacesContextpublic String getMessage(String messageId)
FacesContextHelpergetMessage in interface FacesContextHelpergetMessage in class ExtFacesContextFacesContextHelper#getMessage(String)}public String getMessage(String messageId, Object... arguments)
FacesContextHelpergetMessage in interface FacesContextHelpergetMessage in class ExtFacesContextFacesContextHelper#getMessage(String, Object...)}public String getMessage(Locale locale, String messageId)
FacesContextHelpergetMessage in interface FacesContextHelpergetMessage in class ExtFacesContextFacesContextHelper#getMessage(Locale, String)}public String getMessage(javax.faces.context.FacesContext facesContext, String messageId)
FacesContextHelpergetMessage in interface FacesContextHelpergetMessage in class ExtFacesContextFacesContextHelper#getMessage(String)}public String getMessage(Locale locale, String messageId, Object... arguments)
FacesContextHelpergetMessage in interface FacesContextHelpergetMessage in class ExtFacesContextFacesContextHelper#getMessage(Locale, String, Object...)}public String getMessage(javax.faces.context.FacesContext facesContext, String messageId, Object... arguments)
FacesContextHelpergetMessage in interface FacesContextHelpergetMessage in class ExtFacesContextFacesContextHelper#getMessage(String, Object...)}public String getMessage(javax.faces.context.FacesContext facesContext, Locale locale, String messageId)
FacesContextHelpergetMessage in interface FacesContextHelpergetMessage in class ExtFacesContextFacesContextHelper#getMessage(Locale, String)}public String getMessage(javax.faces.context.FacesContext facesContext, Locale locale, String messageId, Object... arguments)
FacesContextHelpergetMessage in interface FacesContextHelpergetMessage in class ExtFacesContextFacesContextHelper#getMessage(Locale, String, Object...)}public List<javax.faces.application.FacesMessage> getMessageList()
getMessageList in class ExtFacesContextpublic List<javax.faces.application.FacesMessage> getMessageList(String clientId)
getMessageList in class ExtFacesContextpublic Iterator<javax.faces.application.FacesMessage> getMessages()
getMessages in class ExtFacesContextpublic Iterator<javax.faces.application.FacesMessage> getMessages(String clientId)
getMessages in class ExtFacesContextpublic String getNamespace()
FacesContextHelperExternalContext.encodeNamespace(String) method in order to get the
application namespace.getNamespace in interface FacesContextHelpergetNamespace in class ExtFacesContextFacesContextHelper#getNamespace()}public String getNamespace(javax.faces.context.FacesContext facesContext)
FacesContextHelperExternalContext.encodeNamespace(String) method in order to get the
application namespace.getNamespace in interface FacesContextHelpergetNamespace in class ExtFacesContextFacesContextHelper#getNamespace()}public char getNamingContainerSeparatorChar()
getNamingContainerSeparatorChar in class ExtFacesContextpublic javax.faces.component.UIForm getParentForm(javax.faces.component.UIComponent uiComponent)
FacesContextHelpernull if no parent form is found.getParentForm in interface FacesContextHelpergetParentForm in class ExtFacesContextuiComponent - The component whose parent is to be found.FacesContextHelper#getParentForm(UIComponent)}public javax.faces.context.PartialViewContext getPartialViewContext()
getPartialViewContext in class ExtFacesContextpublic javax.faces.render.RenderKit getRenderKit()
getRenderKit in class ExtFacesContextpublic boolean getRenderResponse()
getRenderResponse in class ExtFacesContextpublic Object getRequestAttribute(String name)
FacesContextHelpergetRequestAttribute in interface FacesContextHelpergetRequestAttribute in class ExtFacesContextFacesContextHelper#getRequestAttribute(String)}public Object getRequestAttribute(javax.faces.context.FacesContext facesContext, String name)
FacesContextHelpergetRequestAttribute in interface FacesContextHelpergetRequestAttribute in class ExtFacesContextFacesContextHelper#getRequestAttribute(String)}public String getRequestContextPath()
FacesContextHelperFacesContext.getExternalContext() ExternalContext.getRequestContextPath()getRequestContextPath in interface FacesContextHelpergetRequestContextPath in class ExtFacesContextFacesContextHelper#getRequestContextPath()}public String getRequestContextPath(javax.faces.context.FacesContext facesContext)
FacesContextHelperFacesContext.getExternalContext() ExternalContext.getRequestContextPath()getRequestContextPath in interface FacesContextHelpergetRequestContextPath in class ExtFacesContextFacesContextHelper#getRequestContextPath()}public String getRequestParameter(String name)
FacesContextHelpergetRequestParameter in interface FacesContextHelpergetRequestParameter in class ExtFacesContextFacesContextHelper#getRequestParameter(String)}public String getRequestParameter(javax.faces.context.FacesContext facesContext, String name)
FacesContextHelpergetRequestParameter in interface FacesContextHelpergetRequestParameter in class ExtFacesContextFacesContextHelper#getRequestParameter(String)}public boolean getRequestParameterAsBool(String name, boolean defaultValue)
FacesContextHelpergetRequestParameterAsBool in interface FacesContextHelpergetRequestParameterAsBool in class ExtFacesContextFacesContextHelper#getRequestParameterAsBool(String, boolean)}public boolean getRequestParameterAsBool(javax.faces.context.FacesContext facesContext,
String name,
boolean defaultValue)
FacesContextHelpergetRequestParameterAsBool in interface FacesContextHelpergetRequestParameterAsBool in class ExtFacesContextFacesContextHelper#getRequestParameterAsBool(String, boolean)}public int getRequestParameterAsInt(String name, int defaultValue)
FacesContextHelpergetRequestParameterAsInt in interface FacesContextHelpergetRequestParameterAsInt in class ExtFacesContextFacesContextHelper#getRequestParameterAsInt(String, int)}public int getRequestParameterAsInt(javax.faces.context.FacesContext facesContext,
String name,
int defaultValue)
FacesContextHelpergetRequestParameterAsInt in interface FacesContextHelpergetRequestParameterAsInt in class ExtFacesContextFacesContextHelper#getRequestParameterAsInt(String, int)}public long getRequestParameterAsLong(String name, long defaultValue)
FacesContextHelpergetRequestParameterAsLong in interface FacesContextHelpergetRequestParameterAsLong in class ExtFacesContextFacesContextHelper#getRequestParameterAsLong(String, long)}public long getRequestParameterAsLong(javax.faces.context.FacesContext facesContext,
String name,
long defaultValue)
FacesContextHelpergetRequestParameterAsLong in interface FacesContextHelpergetRequestParameterAsLong in class ExtFacesContextFacesContextHelper#getRequestParameterAsLong(String, long)}public String getRequestParameterFromMap(String name)
FacesContextHelpergetRequestParameterFromMap in interface FacesContextHelpergetRequestParameterFromMap in class ExtFacesContextFacesContextHelper#getRequestParameterFromMap(String)}public String getRequestParameterFromMap(javax.faces.context.FacesContext facesContext, String name)
FacesContextHelpergetRequestParameterFromMap in interface FacesContextHelpergetRequestParameterFromMap in class ExtFacesContextFacesContextHelper#getRequestParameterFromMap(String)}public Map<String,String> getRequestParameterMap()
FacesContextHelpergetRequestParameterMap in interface FacesContextHelpergetRequestParameterMap in class ExtFacesContextFacesContextHelper#getRequestParameterMap()}public Map<String,String> getRequestParameterMap(javax.faces.context.FacesContext facesContext)
FacesContextHelpergetRequestParameterMap in interface FacesContextHelpergetRequestParameterMap in class ExtFacesContextFacesContextHelper#getRequestParameterMap()}public String getRequestQueryString()
FacesContextHelpergetRequestQueryString in interface FacesContextHelpergetRequestQueryString in class ExtFacesContextFacesContextHelper#getRequestQueryString()}public String getRequestQueryString(javax.faces.context.FacesContext facesContext)
FacesContextHelpergetRequestQueryString in interface FacesContextHelpergetRequestQueryString in class ExtFacesContextFacesContextHelper#getRequestQueryString()}public String getRequestQueryStringParameter(String name)
FacesContextHelpergetRequestQueryStringParameter in interface FacesContextHelpergetRequestQueryStringParameter in class ExtFacesContextFacesContextHelper#getRequestQueryStringParameter(String)}public String getRequestQueryStringParameter(javax.faces.context.FacesContext facesContext, String name)
FacesContextHelpergetRequestQueryStringParameter in interface FacesContextHelpergetRequestQueryStringParameter in class ExtFacesContextFacesContextHelper#getRequestQueryStringParameter(String)}public List<String> getResourceLibraryContracts()
getResourceLibraryContracts in class ExtFacesContextpublic boolean getResponseComplete()
getResponseComplete in class ExtFacesContextpublic javax.faces.context.ResponseStream getResponseStream()
getResponseStream in class ExtFacesContextpublic javax.faces.context.ResponseWriter getResponseWriter()
getResponseWriter in class ExtFacesContextpublic Object getSession(boolean create)
FacesContextHelpergetSession in interface FacesContextHelpergetSession in class ExtFacesContextcreate - Flag indicating whether or not a session should be created if it doesn't yet exist.FacesContextHelper#getSession(boolean)}public Object getSession(javax.faces.context.FacesContext facesContext, boolean create)
FacesContextHelpergetSession in interface FacesContextHelpergetSession in class ExtFacesContextcreate - Flag indicating whether or not a session should be created if it doesn't yet exist.FacesContextHelper#getSession(boolean)}public Object getSessionAttribute(String name)
FacesContextHelpergetSessionAttribute in interface FacesContextHelpergetSessionAttribute in class ExtFacesContextFacesContextHelper#getSessionAttribute(String)}public Object getSessionAttribute(javax.faces.context.FacesContext facesContext, String name)
FacesContextHelpergetSessionAttribute in interface FacesContextHelpergetSessionAttribute in class ExtFacesContextFacesContextHelper#getSessionAttribute(String)}public javax.faces.component.UIViewRoot getViewRoot()
getViewRoot in class ExtFacesContextpublic boolean isPostback()
isPostback in class ExtFacesContextpublic boolean isProcessingEvents()
isProcessingEvents in class ExtFacesContextpublic boolean isProjectStage(javax.faces.application.ProjectStage stage)
isProjectStage in class ExtFacesContextpublic boolean isReleased()
isReleased in class ExtFacesContextpublic boolean isValidationFailed()
isValidationFailed in class ExtFacesContextpublic javax.faces.component.UIComponent matchComponentInHierarchy(javax.faces.component.UIComponent parent,
String partialClientId)
FacesContextHelpermatchComponentInHierarchy in interface FacesContextHelpermatchComponentInHierarchy in class ExtFacesContextFacesContextHelper#matchComponentInHierarchy(UIComponent, String)}public javax.faces.component.UIComponent matchComponentInHierarchy(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent parent,
String partialClientId)
FacesContextHelpermatchComponentInHierarchy in interface FacesContextHelpermatchComponentInHierarchy in class ExtFacesContextFacesContextHelper#matchComponentInHierarchy(UIComponent, String)}public javax.faces.component.UIComponent matchComponentInViewRoot(String partialClientId)
FacesContextHelpermatchComponentInViewRoot in interface FacesContextHelpermatchComponentInViewRoot in class ExtFacesContextFacesContextHelper#matchComponentInViewRoot(String)}public javax.faces.component.UIComponent matchComponentInViewRoot(javax.faces.context.FacesContext facesContext,
String partialClientId)
FacesContextHelpermatchComponentInViewRoot in interface FacesContextHelpermatchComponentInViewRoot in class ExtFacesContextFacesContextHelper#matchComponentInViewRoot(String)}public void navigate(String fromAction, String outcome)
FacesContextHelpernavigate in interface FacesContextHelpernavigate in class ExtFacesContextfromAction - The "from action" as specified in a JSF navigation rule. Can be null to if no action is
specified in the rule.outcome - The "from outcome" as specified in a JSF navigation ruleFacesContextHelper#navigate(String, String)}public void navigate(javax.faces.context.FacesContext facesContext,
String fromAction,
String outcome)
FacesContextHelpernavigate in interface FacesContextHelpernavigate in class ExtFacesContextfromAction - The "from action" as specified in a JSF navigation rule. Can be null to if no action is
specified in the rule.outcome - The "from outcome" as specified in a JSF navigation ruleFacesContextHelper#navigate(String, String)}public void navigateTo(String outcome)
FacesContextHelpernavigateTo in interface FacesContextHelpernavigateTo in class ExtFacesContextoutcome - The "from outcome" as specified in a JSF navigation ruleFacesContextHelper#navigateTo(String)}public void navigateTo(javax.faces.context.FacesContext facesContext,
String outcome)
FacesContextHelpernavigateTo in interface FacesContextHelpernavigateTo in class ExtFacesContextoutcome - The "from outcome" as specified in a JSF navigation ruleFacesContextHelper#navigateTo(String)}public void recreateComponentTree()
FacesContextHelperrecreateComponentTree in interface FacesContextHelperrecreateComponentTree in class ExtFacesContextFacesContextHelper#recreateComponentTree()}public void recreateComponentTree(javax.faces.context.FacesContext facesContext)
FacesContextHelperrecreateComponentTree in interface FacesContextHelperrecreateComponentTree in class ExtFacesContextFacesContextHelper#recreateComponentTree()}public void registerPhaseListener(javax.faces.event.PhaseListener phaseListener)
FacesContextHelperPhaseListener programatically (instead of in the faces-config.xml). Such a PhaseListener can
therefore be controlled by spring and use dependency injection, which is not possible otherwise.registerPhaseListener in interface FacesContextHelperregisterPhaseListener in class ExtFacesContextFacesContextHelper#registerPhaseListener(PhaseListener)}public void release()
release in class ExtFacesContextpublic void removeChildrenFromComponentTree(String clientId)
FacesContextHelperremoveChildrenFromComponentTree in interface FacesContextHelperremoveChildrenFromComponentTree in class ExtFacesContextclientId - all children of the component with this id are cleared.FacesContextHelper#removeChildrenFromComponentTree(String)}public void removeChildrenFromComponentTree(javax.faces.context.FacesContext facesContext,
String clientId)
FacesContextHelperremoveChildrenFromComponentTree in interface FacesContextHelperremoveChildrenFromComponentTree in class ExtFacesContextclientId - all children of the component with this id are cleared.FacesContextHelper#removeChildrenFromComponentTree(String)}public void removeMessages(String clientId)
FacesContextHelperremoveMessages in interface FacesContextHelperremoveMessages in class ExtFacesContextFacesContextHelper#removeMessages(String)}public void removeMessages(javax.faces.context.FacesContext facesContext,
String clientId)
FacesContextHelperremoveMessages in interface FacesContextHelperremoveMessages in class ExtFacesContextFacesContextHelper#removeMessages(String)}public void removeMessagesForImmediateComponents()
FacesContextHelperUIInput.processDecodes(javax.faces.context.FacesContext)
calls validate() if the the immediate attribute is true.removeMessagesForImmediateComponents in interface FacesContextHelperremoveMessagesForImmediateComponents in class ExtFacesContextFacesContextHelper#removeMessagesForImmediateComponents()}public void removeMessagesForImmediateComponents(javax.faces.component.UIComponent uiComponent)
FacesContextHelperUIInput.processDecodes(javax.faces.context.FacesContext)
calls validate() if the the immediate attribute is true.removeMessagesForImmediateComponents in interface FacesContextHelperremoveMessagesForImmediateComponents in class ExtFacesContextFacesContextHelper#removeMessagesForImmediateComponents(UIComponent)}public void removeMessagesForImmediateComponents(javax.faces.context.FacesContext facesContext)
FacesContextHelperUIInput.processDecodes(javax.faces.context.FacesContext)
calls validate() if the the immediate attribute is true.removeMessagesForImmediateComponents in interface FacesContextHelperremoveMessagesForImmediateComponents in class ExtFacesContextFacesContextHelper#removeMessagesForImmediateComponents()}public void removeMessagesForImmediateComponents(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
FacesContextHelperUIInput.processDecodes(javax.faces.context.FacesContext)
calls validate() if the the immediate attribute is true.removeMessagesForImmediateComponents in interface FacesContextHelperremoveMessagesForImmediateComponents in class ExtFacesContextFacesContextHelper#removeMessagesForImmediateComponents(UIComponent)}public void removeParentFormFromComponentTree(javax.faces.component.UIComponent uiComponent)
FacesContextHelperremoveParentFormFromComponentTree in interface FacesContextHelperremoveParentFormFromComponentTree in class ExtFacesContextFacesContextHelper#removeParentFormFromComponentTree(UIComponent)}public void renderResponse()
renderResponse in class ExtFacesContextpublic void resetView()
FacesContextHelperresetView in interface FacesContextHelperresetView in class ExtFacesContextFacesContextHelper#resetView()}public void resetView(boolean renderResponse)
FacesContextHelperresetView in interface FacesContextHelperresetView in class ExtFacesContextrenderResponse - causes the response to be rendered immediately if true.FacesContextHelper#resetView(boolean)}public void resetView(javax.faces.context.FacesContext facesContext)
FacesContextHelperresetView in interface FacesContextHelperresetView in class ExtFacesContextFacesContextHelper#resetView()}public void resetView(javax.faces.context.FacesContext facesContext,
boolean renderResponse)
FacesContextHelperresetView in interface FacesContextHelperresetView in class ExtFacesContextrenderResponse - causes the response to be rendered immediately if true.FacesContextHelper#resetView(boolean)}public Object resolveExpression(String elExpression)
FacesContextHelperresolveExpression in interface FacesContextHelperresolveExpression in class ExtFacesContextFacesContextHelper#resolveExpression(String)}public Object resolveExpression(javax.faces.context.FacesContext facesContext, String elExpression)
FacesContextHelperresolveExpression in interface FacesContextHelperresolveExpression in class ExtFacesContextFacesContextHelper#resolveExpression(String)}public void responseComplete()
responseComplete in class ExtFacesContextpublic void setCurrentPhaseId(javax.faces.event.PhaseId currentPhaseId)
setCurrentPhaseId in class ExtFacesContextpublic void setExceptionHandler(javax.faces.context.ExceptionHandler exceptionHandler)
setExceptionHandler in class ExtFacesContextpublic void setProcessingEvents(boolean processingEvents)
setProcessingEvents in class ExtFacesContextpublic void setRequestAttribute(String name, Object value)
FacesContextHelpersetRequestAttribute in interface FacesContextHelpersetRequestAttribute in class ExtFacesContextFacesContextHelper#setRequestAttribute(String, Object)}public void setRequestAttribute(javax.faces.context.FacesContext facesContext,
String name,
Object value)
FacesContextHelpersetRequestAttribute in interface FacesContextHelpersetRequestAttribute in class ExtFacesContextFacesContextHelper#setRequestAttribute(String, Object)}public void setResourceLibraryContracts(List<String> contracts)
setResourceLibraryContracts in class ExtFacesContextpublic void setResponseStream(javax.faces.context.ResponseStream responseStream)
setResponseStream in class ExtFacesContextpublic void setResponseWriter(javax.faces.context.ResponseWriter responseWriter)
setResponseWriter in class ExtFacesContextpublic void setSessionAttribute(String name, Object value)
FacesContextHelpersetSessionAttribute in interface FacesContextHelpersetSessionAttribute in class ExtFacesContextFacesContextHelper#setSessionAttribute(String, Object)}public void setSessionAttribute(javax.faces.context.FacesContext facesContext,
String name,
Object value)
FacesContextHelpersetSessionAttribute in interface FacesContextHelpersetSessionAttribute in class ExtFacesContextFacesContextHelper#setSessionAttribute(String, Object)}public void setViewRoot(javax.faces.component.UIViewRoot viewRoot)
setViewRoot in class ExtFacesContextpublic void validationFailed()
validationFailed in class ExtFacesContextCopyright © 2016 Liferay, Inc.. All rights reserved.