Uses of Class
javax.faces.context.FacesContext
-
-
Uses of FacesContext in javax.faces.application
Methods in javax.faces.application with parameters of type FacesContext Modifier and Type Method Description String
ViewHandler. calculateCharacterEncoding(FacesContext context)
String
ViewHandlerWrapper. calculateCharacterEncoding(FacesContext context)
abstract Locale
ViewHandler. calculateLocale(FacesContext context)
Return the Locale object that should be used when rendering this view to the current user.Locale
ViewHandlerWrapper. calculateLocale(FacesContext context)
abstract String
ViewHandler. calculateRenderKitId(FacesContext context)
Return the id of an available render-kit that should be used to map the JSF components into user presentation.String
ViewHandlerWrapper. calculateRenderKitId(FacesContext context)
UIComponent
Application. createComponent(javax.el.ValueExpression componentExpression, FacesContext context, String componentType)
Call thegetValue()
method on the specifiedValueExpression
.UIComponent
Application. createComponent(javax.el.ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)
UIComponent
Application. createComponent(FacesContext context, String componentType, String rendererType)
UIComponent
Application. createComponent(FacesContext context, Resource componentResource)
???UIComponent
ApplicationWrapper. createComponent(javax.el.ValueExpression componentExpression, FacesContext contexte, String componentType)
UIComponent
ApplicationWrapper. createComponent(javax.el.ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)
UIComponent
ApplicationWrapper. createComponent(FacesContext context, String componentType, String rendererType)
UIComponent
ApplicationWrapper. createComponent(FacesContext context, Resource componentResource)
abstract UIViewRoot
ViewHandler. createView(FacesContext context, String viewId)
Build a root node for a component tree.UIViewRoot
ViewHandlerWrapper. createView(FacesContext context, String viewId)
ViewResource
ResourceHandler. createViewResource(FacesContext context, String resourceName)
ViewResource
ResourceHandlerWrapper. createViewResource(FacesContext context, String resourceName)
String
ViewHandler. deriveLogicalViewId(FacesContext context, String rawViewId)
String
ViewHandlerWrapper. deriveLogicalViewId(FacesContext context, String rawViewId)
String
ViewHandler. deriveViewId(FacesContext context, String input)
String
ViewHandlerWrapper. deriveViewId(FacesContext context, String input)
<T> T
Application. evaluateExpressionGet(FacesContext context, String expression, Class<? extends T> expectedType)
Get a value by evaluating an expression.<T> T
ApplicationWrapper. evaluateExpressionGet(FacesContext context, String expression, Class<? extends T> expectedType)
Deprecated.URL
NavigationCase. getActionURL(FacesContext context)
URL
NavigationCaseWrapper. getActionURL(FacesContext context)
abstract String
ViewHandler. getActionURL(FacesContext context, String viewId)
Returns a URL, suitable for encoding and rendering, that (if activated) will cause the JSF request processing lifecycle for the specified viewId to be executedString
ViewHandlerWrapper. getActionURL(FacesContext context, String viewId)
URL
NavigationCase. getBookmarkableURL(FacesContext context)
URL
NavigationCaseWrapper. getBookmarkableURL(FacesContext context)
String
ViewHandler. getBookmarkableURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)
Return a JSF action URL derived from the viewId argument that is suitable to be used as the target of a link in a JSF response.String
ViewHandlerWrapper. getBookmarkableURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)
protected Object
StateManager. getComponentStateToSave(FacesContext context)
Deprecated.protected Object
StateManagerWrapper. getComponentStateToSave(FacesContext context)
Boolean
NavigationCase. getCondition(FacesContext context)
Boolean
NavigationCaseWrapper. getCondition(FacesContext context)
abstract NavigationCase
ConfigurableNavigationHandler. getNavigationCase(FacesContext context, String fromAction, String outcome)
NavigationCase
ConfigurableNavigationHandler. getNavigationCase(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)
NavigationCase
ConfigurableNavigationHandlerWrapper. getNavigationCase(FacesContext context, String fromAction, String outcome)
NavigationCase
ConfigurableNavigationHandlerWrapper. getNavigationCase(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)
URL
NavigationCase. getRedirectURL(FacesContext context)
URL
NavigationCaseWrapper. getRedirectURL(FacesContext context)
String
ViewHandler. getRedirectURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)
Return a JSF action URL derived from the viewId argument that is suitable to be used by the NavigationHandler to issue a redirect request to the URL using a NonFaces request.String
ViewHandlerWrapper. getRedirectURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)
ResourceBundle
Application. getResourceBundle(FacesContext ctx, String name)
Find aResourceBundle
as defined in the application configuration resources under the specified name.ResourceBundle
ApplicationWrapper. getResourceBundle(FacesContext ctx, String name)
URL
NavigationCase. getResourceURL(FacesContext context)
URL
NavigationCaseWrapper. getResourceURL(FacesContext context)
abstract String
ViewHandler. getResourceURL(FacesContext context, String path)
Returns a URL, suitable for encoding and rendering, that (if activated) will retrieve the specified web application resource.String
ViewHandlerWrapper. getResourceURL(FacesContext context, String path)
String
NavigationCase. getToViewId(FacesContext context)
String
NavigationCaseWrapper. getToViewId(FacesContext context)
protected Object
StateManager. getTreeStructureToSave(FacesContext context)
Deprecated.protected Object
StateManagerWrapper. getTreeStructureToSave(FacesContext context)
ViewDeclarationLanguage
ViewHandler. getViewDeclarationLanguage(FacesContext context, String viewId)
Return the ViewDeclarationLanguage instance used for this ViewHandler instance.ViewDeclarationLanguage
ViewHandlerWrapper. getViewDeclarationLanguage(FacesContext context, String viewId)
Stream<String>
ResourceHandler. getViewResources(FacesContext facesContext, String path, int maxDepth, ResourceVisitOption... options)
Stream<String>
ResourceHandler. getViewResources(FacesContext facesContext, String path, ResourceVisitOption... options)
Stream<String>
ResourceHandlerWrapper. getViewResources(FacesContext facesContext, String path, int maxDepth, ResourceVisitOption... options)
Stream<String>
ResourceHandlerWrapper. getViewResources(FacesContext facesContext, String path, ResourceVisitOption... options)
Stream<String>
ViewHandler. getViews(FacesContext facesContext, String path, int maxDepth, ViewVisitOption... options)
Stream<String>
ViewHandler. getViews(FacesContext facesContext, String path, ViewVisitOption... options)
Stream<String>
ViewHandlerWrapper. getViews(FacesContext facesContext, String path, int maxDepth, ViewVisitOption... options)
Stream<String>
ViewHandlerWrapper. getViews(FacesContext facesContext, String path, ViewVisitOption... options)
String
StateManager. getViewState(FacesContext context)
This method should be called from somewhere when ajax response is created to update the state saving param on client.String
StateManagerWrapper. getViewState(FacesContext context)
abstract String
ViewHandler. getWebsocketURL(FacesContext context, String channelAndToken)
Return a JSF URL that represents a websocket connection for the passed channel and channelTokenString
ViewHandlerWrapper. getWebsocketURL(FacesContext context, String channelAndToken)
void
ConfigurableNavigationHandlerWrapper. handleNavigation(FacesContext context, String fromAction, String outcome)
abstract void
NavigationHandler. handleNavigation(FacesContext context, String fromAction, String outcome)
void
NavigationHandler. handleNavigation(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)
void
NavigationHandlerWrapper. handleNavigation(FacesContext context, String fromAction, String outcome)
void
NavigationHandlerWrapper. handleNavigation(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)
abstract void
ResourceHandler. handleResourceRequest(FacesContext context)
void
ResourceHandlerWrapper. handleResourceRequest(FacesContext context)
void
ViewHandler. initView(FacesContext context)
Initialize the view for the request processing lifecycle.void
ViewHandlerWrapper. initView(FacesContext context)
void
ConfigurableNavigationHandler. inspectFlow(FacesContext context, Flow flow)
void
ConfigurableNavigationHandlerWrapper. inspectFlow(FacesContext context, Flow flow)
boolean
ResourceHandler. isResourceRendered(FacesContext facesContext, String resourceName, String libraryName)
boolean
ResourceHandlerWrapper. isResourceRendered(FacesContext facesContext, String resourceName, String libraryName)
abstract boolean
ResourceHandler. isResourceRequest(FacesContext context)
boolean
ResourceHandlerWrapper. isResourceRequest(FacesContext context)
boolean
StateManager. isSavingStateInClient(FacesContext context)
boolean
StateManagerWrapper. isSavingStateInClient(FacesContext context)
void
ResourceHandler. markResourceRendered(FacesContext facesContext, String resourceName, String libraryName)
void
ResourceHandlerWrapper. markResourceRendered(FacesContext facesContext, String resourceName, String libraryName)
void
Application. publishEvent(FacesContext facesContext, Class<? extends SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source)
void
Application. publishEvent(FacesContext facesContext, Class<? extends SystemEvent> systemEventClass, Object source)
If there are one or more listeners for events of the type represented bysystemEventClass
, call those listeners,passing source as thesource
of the event.void
ApplicationWrapper. publishEvent(FacesContext facesContext, Class<? extends SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source)
void
ApplicationWrapper. publishEvent(FacesContext facesContext, Class<? extends SystemEvent> systemEventClass, Object source)
abstract void
ViewHandler. renderView(FacesContext context, UIViewRoot viewToRender)
Perform whatever actions are required to render the response view to the response object associated with the current FacesContext.void
ViewHandlerWrapper. renderView(FacesContext context, UIViewRoot viewToRender)
protected void
StateManager. restoreComponentState(FacesContext context, UIViewRoot viewRoot, String renderKitId)
Deprecated.protected void
StateManagerWrapper. restoreComponentState(FacesContext context, UIViewRoot viewRoot, String renderKitId)
protected UIViewRoot
StateManager. restoreTreeStructure(FacesContext context, String viewId, String renderKitId)
Deprecated.protected UIViewRoot
StateManagerWrapper. restoreTreeStructure(FacesContext context, String viewId, String renderKitId)
abstract UIViewRoot
StateManager. restoreView(FacesContext context, String viewId, String renderKitId)
Deprecated.UIViewRoot
StateManagerWrapper. restoreView(FacesContext context, String viewId, String renderKitId)
abstract UIViewRoot
ViewHandler. restoreView(FacesContext context, String viewId)
Perform whatever actions are required to restore the view associated with the specified FacesContext and viewId.UIViewRoot
ViewHandlerWrapper. restoreView(FacesContext context, String viewId)
StateManager.SerializedView
StateManager. saveSerializedView(FacesContext context)
Deprecated.StateManager.SerializedView
StateManagerWrapper. saveSerializedView(FacesContext context)
Object
StateManager. saveView(FacesContext context)
Deprecated.Object
StateManagerWrapper. saveView(FacesContext context)
abstract boolean
Resource. userAgentNeedsUpdate(FacesContext context)
boolean
ResourceWrapper. userAgentNeedsUpdate(FacesContext context)
void
StateManager. writeState(FacesContext context, Object state)
Associate the provided state object with the current response being generated.void
StateManager. writeState(FacesContext context, StateManager.SerializedView state)
Deprecated.void
StateManagerWrapper. writeState(FacesContext context, Object state)
void
StateManagerWrapper. writeState(FacesContext context, StateManager.SerializedView state)
abstract void
ViewHandler. writeState(FacesContext context)
Take any appropriate action to either immediately write out the current state information (by calling StateManager.writeState(javax.faces.context.FacesContext, java.lang.Object), or noting where state information should later be written.void
ViewHandlerWrapper. writeState(FacesContext context)
-
Uses of FacesContext in javax.faces.component
Methods in javax.faces.component that return FacesContext Modifier and Type Method Description protected abstract FacesContext
UIComponent. getFacesContext()
protected FacesContext
UIComponentBase. getFacesContext()
protected FacesContext
UIParameter. getFacesContext()
protected FacesContext
UISelectItem. getFacesContext()
protected FacesContext
UISelectItems. getFacesContext()
protected FacesContext
UIViewParameter. getFacesContext()
Methods in javax.faces.component with parameters of type FacesContext Modifier and Type Method Description void
UIViewRoot. addComponentResource(FacesContext context, UIComponent componentResource)
void
UIViewRoot. addComponentResource(FacesContext context, UIComponent componentResource, String target)
void
UIViewRoot. broadcastEvents(FacesContext context, PhaseId phaseId)
String
UIData. createUniqueId(FacesContext context, String seed)
String
UIForm. createUniqueId(FacesContext context, String seed)
String
UINamingContainer. createUniqueId(FacesContext context, String seed)
String
UIViewRoot. createUniqueId(FacesContext context, String seed)
String
UniqueIdVendor. createUniqueId(FacesContext context, String seed)
abstract void
UIComponent. decode(FacesContext context)
void
UIComponentBase. decode(FacesContext context)
Check the submitted form parameters for data associated with this component.void
UIInput. decode(FacesContext context)
void
UIViewAction. decode(FacesContext context)
void
UIViewParameter. decode(FacesContext context)
void
UIComponent. encodeAll(FacesContext context)
void
UIComponentBase. encodeAll(FacesContext context)
void
UIViewParameter. encodeAll(FacesContext context)
abstract void
UIComponent. encodeBegin(FacesContext context)
void
UIComponentBase. encodeBegin(FacesContext context)
void
UIData. encodeBegin(FacesContext context)
Perform necessary actions when rendering of this component starts, before delegating to the inherited implementation which calls the associated renderer's encodeBegin method.void
UIViewRoot. encodeBegin(FacesContext context)
abstract void
UIComponent. encodeChildren(FacesContext context)
void
UIComponentBase. encodeChildren(FacesContext context)
void
UIViewRoot. encodeChildren(FacesContext context)
abstract void
UIComponent. encodeEnd(FacesContext context)
void
UIComponentBase. encodeEnd(FacesContext context)
void
UIData. encodeEnd(FacesContext context)
void
UIViewRoot. encodeEnd(FacesContext context)
abstract String
UIComponent. getClientId(FacesContext context)
String
UIComponentBase. getClientId(FacesContext context)
Get a string which can be output to the response which uniquely identifies this UIComponent within the current view.List<UIComponent>
UIViewRoot. getComponentResources(FacesContext context)
List<UIComponent>
UIViewRoot. getComponentResources(FacesContext context, String target)
String
UIComponent. getContainerClientId(FacesContext ctx)
String
UIData. getContainerClientId(FacesContext context)
String
UIForm. getContainerClientId(FacesContext ctx)
protected Object
UIInput. getConvertedValue(FacesContext context, Object submittedValue)
Convert the provided object to the desired value.protected Object
UISelectMany. getConvertedValue(FacesContext context, Object submittedValue)
protected Object
UIViewParameter. getConvertedValue(FacesContext context, Object submittedValue)
static UIComponent
UIComponent. getCurrentComponent(FacesContext context)
static UIComponent
UIComponent. getCurrentCompositeComponent(FacesContext context)
protected abstract Renderer
UIComponent. getRenderer(FacesContext context)
protected Renderer
UIComponentBase. getRenderer(FacesContext context)
static char
UINamingContainer. getSeparatorChar(FacesContext context)
String
UIViewParameter. getStringValue(FacesContext context)
String
UIViewParameter. getStringValueFromModel(FacesContext context)
UIViewParameter
UIViewParameter.Reference. getUIViewParameter(FacesContext context)
void
ContextCallback. invokeContextCallback(FacesContext context, UIComponent target)
boolean
UIComponent. invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)
Invokes theinvokeContextCallback
method with the component, specified byclientId
.boolean
UIComponentBase. invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)
invokeOnComponent
must be implemented inUIComponentBase
too...boolean
UIData. invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)
boolean
UIForm. invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)
static boolean
UIViewAction. isProcessingBroadcast(FacesContext context)
void
UIComponent. popComponentFromEL(FacesContext context)
void
UIViewRoot. processApplication(FacesContext context)
abstract void
UIComponent. processDecodes(FacesContext context)
void
UIComponentBase. processDecodes(FacesContext context)
void
UIData. processDecodes(FacesContext context)
void
UIForm. processDecodes(FacesContext context)
void
UIInput. processDecodes(FacesContext context)
Set the "submitted value" of this component from the relevant data in the current servlet request object.void
UIViewRoot. processDecodes(FacesContext context)
abstract void
UIComponent. processRestoreState(FacesContext context, Object state)
void
UIComponentBase. processRestoreState(FacesContext context, Object state)
void
UIViewRoot. processRestoreState(FacesContext context, Object state)
abstract Object
UIComponent. processSaveState(FacesContext context)
Object
UIComponentBase. processSaveState(FacesContext context)
abstract void
UIComponent. processUpdates(FacesContext context)
void
UIComponentBase. processUpdates(FacesContext context)
This isn't an input component, so just pass on the processUpdates call to child components and facets that might be input components.void
UIData. processUpdates(FacesContext context)
void
UIForm. processUpdates(FacesContext context)
void
UIInput. processUpdates(FacesContext context)
void
UIViewRoot. processUpdates(FacesContext context)
abstract void
UIComponent. processValidators(FacesContext context)
void
UIComponentBase. processValidators(FacesContext context)
void
UIData. processValidators(FacesContext context)
void
UIForm. processValidators(FacesContext context)
void
UIInput. processValidators(FacesContext context)
void
UISelectOne. processValidators(FacesContext context)
Verify that when ever there is a ValueExpression and submitted value is not empty, then visit all the UISelectItem elements within the UISelectOne radio components to check if the submitted value exists in any of the select items.void
UIViewParameter. processValidators(FacesContext context)
void
UIViewRoot. processValidators(FacesContext context)
void
UIComponent. pushComponentToEL(FacesContext context, UIComponent component)
void
UIViewRoot. removeComponentResource(FacesContext context, UIComponent componentResource)
void
UIViewRoot. removeComponentResource(FacesContext context, UIComponent componentResource, String target)
void
UIViewRoot. resetValues(FacesContext context, Collection<String> clientIds)
static Object
UIComponentBase. restoreAttachedState(FacesContext context, Object stateObj)
void
StateHolder. restoreState(FacesContext context, Object state)
void
UIComponentBase. restoreState(FacesContext context, Object state)
Invoked in the "restore view" phase, this initialises this object's members from the values saved previously into the provided state object.void
UIData. restoreState(FacesContext context, Object state)
void
UIInput. restoreState(FacesContext facesContext, Object state)
void
UIOutput. restoreState(FacesContext facesContext, Object state)
void
UIViewRoot. restoreState(FacesContext facesContext, Object state)
void
TransientStateHolder. restoreTransientState(FacesContext context, Object state)
Restore the "transient state" using the object passed as state.void
UIComponent. restoreTransientState(FacesContext context, Object state)
void
UIViewRoot. restoreViewScopeState(FacesContext facesContext, Object state)
static Object
UIComponentBase. saveAttachedState(FacesContext context, Object attachedObject)
Serializes objects which are "attached" to this component but which are not UIComponent children of it.Object
StateHolder. saveState(FacesContext context)
Object
UIComponentBase. saveState(FacesContext context)
Invoked after the render phase has completed, this method returns an object which can be passed to the restoreState of some other instance of UIComponentBase to reset that object's state to the same values as this object currently has.Object
UIData. saveState(FacesContext context)
Object
UIInput. saveState(FacesContext facesContext)
Object
UIOutput. saveState(FacesContext facesContext)
Object
UIViewRoot. saveState(FacesContext facesContext)
Object
TransientStateHolder. saveTransientState(FacesContext context)
Return the object containing related "transient states".Object
UIComponent. saveTransientState(FacesContext context)
void
UIInput. updateModel(FacesContext context)
void
UIViewParameter. updateModel(FacesContext context)
void
UIInput. validate(FacesContext context)
Determine whether the new value is valid, and queue a ValueChangeEvent if necessary.protected void
UIInput. validateValue(FacesContext context, Object convertedValue)
protected void
UISelectMany. validateValue(FacesContext context, Object convertedValue)
protected void
UISelectOne. validateValue(FacesContext context, Object value)
Verify that the result of converting the newly submitted value is equal to the value property of one of the child SelectItem objects.Constructors in javax.faces.component with parameters of type FacesContext Constructor Description Reference(FacesContext context, UIViewParameter param, int indexInParent, String viewIdAtTimeOfConstruction)
-
Uses of FacesContext in javax.faces.component.behavior
Methods in javax.faces.component.behavior that return FacesContext Modifier and Type Method Description abstract FacesContext
ClientBehaviorContext. getFacesContext()
Methods in javax.faces.component.behavior with parameters of type FacesContext Modifier and Type Method Description static ClientBehaviorContext
ClientBehaviorContext. createClientBehaviorContext(FacesContext context, UIComponent component, String eventName, String sourceId, Collection<ClientBehaviorContext.Parameter> parameters)
void
ClientBehavior. decode(FacesContext context, UIComponent component)
void
ClientBehaviorBase. decode(FacesContext context, UIComponent component)
protected ClientBehaviorRenderer
ClientBehaviorBase. getRenderer(FacesContext context)
void
AjaxBehavior. restoreState(FacesContext facesContext, Object o)
void
BehaviorBase. restoreState(FacesContext context, Object state)
Object
AjaxBehavior. saveState(FacesContext facesContext)
Object
BehaviorBase. saveState(FacesContext context)
-
Uses of FacesContext in javax.faces.component.html
Methods in javax.faces.component.html with parameters of type FacesContext Modifier and Type Method Description protected void
HtmlInputFile. validateValue(FacesContext context, Object convertedValue)
-
Uses of FacesContext in javax.faces.component.search
Methods in javax.faces.component.search that return FacesContext Modifier and Type Method Description abstract FacesContext
SearchExpressionContext. getFacesContext()
Methods in javax.faces.component.search with parameters of type FacesContext Modifier and Type Method Description static SearchExpressionContext
SearchExpressionContext. createSearchExpressionContext(FacesContext context, UIComponent source)
static SearchExpressionContext
SearchExpressionContext. createSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints)
char[]
SearchExpressionHandler. getExpressionSeperatorChars(FacesContext context)
char[]
SearchExpressionHandlerWrapper. getExpressionSeperatorChars(FacesContext context)
abstract SearchExpressionContext
SearchExpressionContextFactory. getSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints)
abstract String[]
SearchExpressionHandler. splitExpressions(FacesContext context, String expressions)
String[]
SearchExpressionHandlerWrapper. splitExpressions(FacesContext context, String expressions)
-
Uses of FacesContext in javax.faces.component.visit
Methods in javax.faces.component.visit that return FacesContext Modifier and Type Method Description abstract FacesContext
VisitContext. getFacesContext()
FacesContext
VisitContextWrapper. getFacesContext()
Methods in javax.faces.component.visit with parameters of type FacesContext Modifier and Type Method Description static VisitContext
VisitContext. createVisitContext(FacesContext context)
static VisitContext
VisitContext. createVisitContext(FacesContext context, Collection<String> ids, Set<VisitHint> hints)
abstract VisitContext
VisitContextFactory. getVisitContext(FacesContext context, Collection<String> ids, Set<VisitHint> hints)
-
Uses of FacesContext in javax.faces.context
Subclasses of FacesContext in javax.faces.context Modifier and Type Class Description class
FacesContextWrapper
Methods in javax.faces.context that return FacesContext Modifier and Type Method Description static FacesContext
FacesContext. getCurrentInstance()
abstract FacesContext
FacesContextFactory. getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle)
FacesContext
FacesContextWrapper. getWrapped()
Methods in javax.faces.context with parameters of type FacesContext Modifier and Type Method Description abstract void
Flash. doPostPhaseActions(FacesContext context)
void
FlashWrapper. doPostPhaseActions(FacesContext context)
abstract void
Flash. doPrePhaseActions(FacesContext context)
void
FlashWrapper. doPrePhaseActions(FacesContext context)
abstract PartialViewContext
PartialViewContextFactory. getPartialViewContext(FacesContext context)
protected static void
FacesContext. setCurrentInstance(FacesContext context)
Constructors in javax.faces.context with parameters of type FacesContext Constructor Description FacesContextWrapper(FacesContext delegate)
-
Uses of FacesContext in javax.faces.convert
Methods in javax.faces.convert with parameters of type FacesContext Modifier and Type Method Description Object
BigDecimalConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
BigIntegerConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
BooleanConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
ByteConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
CharacterConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
T
Converter. getAsObject(FacesContext context, UIComponent component, String value)
Object
DateTimeConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
DoubleConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
EnumConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
FloatConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
IntegerConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
LongConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
NumberConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
ShortConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
String
BigDecimalConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
BigIntegerConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
BooleanConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
ByteConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
CharacterConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
Converter. getAsString(FacesContext context, UIComponent component, T value)
String
DateTimeConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
DoubleConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
EnumConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
FloatConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
IntegerConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
LongConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
NumberConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
ShortConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
void
DateTimeConverter. restoreState(FacesContext facesContext, Object state)
void
EnumConverter. restoreState(FacesContext context, Object state)
void
NumberConverter. restoreState(FacesContext facesContext, Object state)
Object
DateTimeConverter. saveState(FacesContext facesContext)
Object
EnumConverter. saveState(FacesContext context)
Object
NumberConverter. saveState(FacesContext facesContext)
-
Uses of FacesContext in javax.faces.el
Methods in javax.faces.el with parameters of type FacesContext Modifier and Type Method Description abstract Class
MethodBinding. getType(FacesContext facescontext)
Deprecated.abstract Class
ValueBinding. getType(FacesContext facesContext)
Deprecated.abstract Object
ValueBinding. getValue(FacesContext facesContext)
Deprecated.abstract Object
MethodBinding. invoke(FacesContext facescontext, Object[] aobj)
Deprecated.abstract boolean
ValueBinding. isReadOnly(FacesContext facesContext)
Deprecated.abstract Object
VariableResolver. resolveVariable(FacesContext facesContext, String name)
Deprecated.abstract void
ValueBinding. setValue(FacesContext facesContext, Object value)
Deprecated. -
Uses of FacesContext in javax.faces.event
Methods in javax.faces.event that return FacesContext Modifier and Type Method Description FacesContext
ExceptionQueuedEventContext. getContext()
FacesContext
FacesEvent. getFacesContext()
FacesContext
PhaseEvent. getFacesContext()
FacesContext
SystemEvent. getFacesContext()
Methods in javax.faces.event with parameters of type FacesContext Modifier and Type Method Description void
MethodExpressionActionListener. restoreState(FacesContext context, Object state)
void
MethodExpressionValueChangeListener. restoreState(FacesContext context, Object state)
Object
MethodExpressionActionListener. saveState(FacesContext context)
Object
MethodExpressionValueChangeListener. saveState(FacesContext context)
-
Uses of FacesContext in javax.faces.flow
Methods in javax.faces.flow with parameters of type FacesContext Modifier and Type Method Description abstract void
FlowHandler. addFlow(FacesContext context, Flow toAdd)
abstract void
FlowHandler. clientWindowTransition(FacesContext context)
abstract FlowHandler
FlowHandlerFactory. createFlowHandler(FacesContext context)
FlowHandler
FlowHandlerFactoryWrapper. createFlowHandler(FacesContext context)
abstract String
FlowCallNode. getCalledFlowDocumentId(FacesContext context)
abstract String
FlowCallNode. getCalledFlowId(FacesContext context)
abstract Boolean
SwitchCase. getCondition(FacesContext context)
abstract Flow
FlowHandler. getCurrentFlow(FacesContext context)
abstract String
SwitchNode. getDefaultOutcome(FacesContext context)
abstract Flow
FlowHandler. getFlow(FacesContext context, String definingDocumentId, String id)
abstract String
ReturnNode. getFromOutcome(FacesContext context)
abstract String
FlowHandler. getLastDisplayedViewId(FacesContext context)
abstract boolean
FlowHandler. isActive(FacesContext context, String definingDocument, String id)
abstract void
FlowHandler. popReturnMode(FacesContext context)
abstract void
FlowHandler. pushReturnMode(FacesContext context)
abstract void
FlowHandler. transition(FacesContext context, Flow sourceFlow, Flow targetFlow, FlowCallNode outboundCallNode, String toViewId)
-
Uses of FacesContext in javax.faces.lifecycle
Methods in javax.faces.lifecycle with parameters of type FacesContext Modifier and Type Method Description void
Lifecycle. attachWindow(FacesContext context)
void
LifecycleWrapper. attachWindow(FacesContext context)
abstract void
ClientWindow. decode(FacesContext context)
void
ClientWindowWrapper. decode(FacesContext context)
void
ClientWindow. disableClientWindowRenderMode(FacesContext context)
void
ClientWindowWrapper. disableClientWindowRenderMode(FacesContext context)
void
ClientWindow. enableClientWindowRenderMode(FacesContext context)
void
ClientWindowWrapper. enableClientWindowRenderMode(FacesContext context)
abstract void
Lifecycle. execute(FacesContext context)
void
LifecycleWrapper. execute(FacesContext context)
abstract ClientWindow
ClientWindowFactory. getClientWindow(FacesContext context)
abstract Map<String,String>
ClientWindow. getQueryURLParameters(FacesContext context)
Map<String,String>
ClientWindowWrapper. getQueryURLParameters(FacesContext context)
boolean
ClientWindow. isClientWindowRenderModeEnabled(FacesContext context)
boolean
ClientWindowWrapper. isClientWindowRenderModeEnabled(FacesContext context)
abstract void
Lifecycle. render(FacesContext context)
void
LifecycleWrapper. render(FacesContext context)
-
Uses of FacesContext in javax.faces.render
Methods in javax.faces.render with parameters of type FacesContext Modifier and Type Method Description String
Renderer. convertClientId(FacesContext context, String clientId)
String
RendererWrapper. convertClientId(FacesContext context, String clientId)
void
ClientBehaviorRenderer. decode(FacesContext context, UIComponent component, ClientBehavior behavior)
void
Renderer. decode(FacesContext context, UIComponent component)
void
RendererWrapper. decode(FacesContext context, UIComponent component)
void
Renderer. encodeBegin(FacesContext context, UIComponent component)
void
RendererWrapper. encodeBegin(FacesContext context, UIComponent component)
void
Renderer. encodeChildren(FacesContext context, UIComponent component)
Render all children if there are any.void
RendererWrapper. encodeChildren(FacesContext context, UIComponent component)
void
Renderer. encodeEnd(FacesContext context, UIComponent component)
void
RendererWrapper. encodeEnd(FacesContext context, UIComponent component)
Object
ResponseStateManager. getComponentStateToRestore(FacesContext context)
Deprecated.Object
Renderer. getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)
Object
RendererWrapper. getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)
String
ResponseStateManager. getCryptographicallyStrongTokenFromSession(FacesContext context)
abstract RenderKit
RenderKitFactory. getRenderKit(FacesContext context, String renderKitId)
Object
ResponseStateManager. getState(FacesContext context, String viewId)
Object
ResponseStateManager. getTreeStructureToRestore(FacesContext context, String viewId)
Deprecated.String
ResponseStateManager. getViewState(FacesContext context, Object state)
boolean
ResponseStateManager. isPostback(FacesContext context)
Checks if the current request is a postbackboolean
ResponseStateManager. isStateless(FacesContext context, String viewId)
void
ResponseStateManager. writeState(FacesContext context, Object state)
void
ResponseStateManager. writeState(FacesContext context, StateManager.SerializedView state)
Deprecated. -
Uses of FacesContext in javax.faces.validator
Methods in javax.faces.validator with parameters of type FacesContext Modifier and Type Method Description void
BeanValidator. restoreState(FacesContext context, Object state)
void
DoubleRangeValidator. restoreState(FacesContext context, Object state)
void
LengthValidator. restoreState(FacesContext context, Object state)
void
LongRangeValidator. restoreState(FacesContext context, Object state)
void
MethodExpressionValidator. restoreState(FacesContext context, Object state)
void
RegexValidator. restoreState(FacesContext context, Object state)
Object
BeanValidator. saveState(FacesContext context)
Object
DoubleRangeValidator. saveState(FacesContext context)
Object
LengthValidator. saveState(FacesContext context)
Object
LongRangeValidator. saveState(FacesContext context)
Object
MethodExpressionValidator. saveState(FacesContext context)
Object
RegexValidator. saveState(FacesContext context)
void
BeanValidator. validate(FacesContext context, UIComponent component, Object value)
void
DoubleRangeValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)
void
LengthValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)
void
LongRangeValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)
void
MethodExpressionValidator. validate(FacesContext context, UIComponent component, Object value)
void
RegexValidator. validate(FacesContext context, UIComponent component, Object value)
void
RequiredValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)
void
Validator. validate(FacesContext context, UIComponent component, T value)
-
Uses of FacesContext in javax.faces.view
Methods in javax.faces.view with parameters of type FacesContext Modifier and Type Method Description void
AttachedObjectHandler. applyAttachedObject(FacesContext context, UIComponent parent)
Take the argumentparent
and apply this attachedobject
to it.abstract void
ViewDeclarationLanguage. buildView(FacesContext context, UIViewRoot view)
void
ViewDeclarationLanguageWrapper. buildView(FacesContext context, UIViewRoot view)
List<String>
ViewDeclarationLanguage. calculateResourceLibraryContracts(FacesContext context, String viewId)
List<String>
ViewDeclarationLanguageWrapper. calculateResourceLibraryContracts(FacesContext context, String viewId)
UIComponent
ViewDeclarationLanguage. createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)
UIComponent
ViewDeclarationLanguageWrapper. createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)
abstract UIViewRoot
ViewMetadata. createMetadataView(FacesContext context)
abstract UIViewRoot
ViewDeclarationLanguage. createView(FacesContext context, String viewId)
UIViewRoot
ViewDeclarationLanguageWrapper. createView(FacesContext context, String viewId)
abstract BeanInfo
ViewDeclarationLanguage. getComponentMetadata(FacesContext context, Resource componentResource)
BeanInfo
ViewDeclarationLanguageWrapper. getComponentMetadata(FacesContext context, Resource componentResource)
abstract Resource
ViewDeclarationLanguage. getScriptComponentResource(FacesContext context, Resource componentResource)
Resource
ViewDeclarationLanguageWrapper. getScriptComponentResource(FacesContext context, Resource componentResource)
abstract StateManagementStrategy
ViewDeclarationLanguage. getStateManagementStrategy(FacesContext context, String viewId)
StateManagementStrategy
ViewDeclarationLanguageWrapper. getStateManagementStrategy(FacesContext context, String viewId)
abstract ViewMetadata
ViewDeclarationLanguage. getViewMetadata(FacesContext context, String viewId)
ViewMetadata
ViewDeclarationLanguageWrapper. getViewMetadata(FacesContext context, String viewId)
Stream<String>
ViewDeclarationLanguage. getViews(FacesContext facesContext, String path, int maxDepth, ViewVisitOption... options)
Stream<String>
ViewDeclarationLanguage. getViews(FacesContext facesContext, String path, ViewVisitOption... options)
Stream<String>
ViewDeclarationLanguageWrapper. getViews(FacesContext facesContext, String path, int maxDepth, ViewVisitOption... options)
Stream<String>
ViewDeclarationLanguageWrapper. getViews(FacesContext facesContext, String path, ViewVisitOption... options)
abstract void
ViewDeclarationLanguage. renderView(FacesContext context, UIViewRoot view)
void
ViewDeclarationLanguageWrapper. renderView(FacesContext context, UIViewRoot view)
abstract UIViewRoot
StateManagementStrategy. restoreView(FacesContext context, String viewId, String renderKitId)
abstract UIViewRoot
ViewDeclarationLanguage. restoreView(FacesContext context, String viewId)
UIViewRoot
ViewDeclarationLanguageWrapper. restoreView(FacesContext context, String viewId)
void
ViewDeclarationLanguage. retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)
void
ViewDeclarationLanguageWrapper. retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)
void
ViewDeclarationLanguage. retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)
void
ViewDeclarationLanguageWrapper. retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)
abstract Object
StateManagementStrategy. saveView(FacesContext context)
boolean
ViewDeclarationLanguage. viewExists(FacesContext facesContext, String viewId)
boolean
ViewDeclarationLanguageWrapper. viewExists(FacesContext facesContext, String viewId)
-
Uses of FacesContext in javax.faces.view.facelets
Methods in javax.faces.view.facelets that return FacesContext Modifier and Type Method Description abstract FacesContext
FaceletContext. getFacesContext()
The current FacesContext bound to this "request"Methods in javax.faces.view.facelets with parameters of type FacesContext Modifier and Type Method Description abstract void
Facelet. apply(FacesContext facesContext, UIComponent parent)
The passed UIComponent parent will be populated/restored in accordance with the JSF 1.2 specification.void
FaceletsAttachedObjectHandler. applyAttachedObject(FacesContext context, UIComponent parent)
Take the argumentparent
and apply this attachedobject
to it. -
Uses of FacesContext in javax.faces.webapp
Methods in javax.faces.webapp that return FacesContext Modifier and Type Method Description protected FacesContext
UIComponentClassicTagBase. getFacesContext()
protected abstract FacesContext
UIComponentTagBase. getFacesContext()
Methods in javax.faces.webapp with parameters of type FacesContext Modifier and Type Method Description protected abstract UIComponent
UIComponentClassicTagBase. createComponent(FacesContext context, String newId)
protected UIComponent
UIComponentELTag. createComponent(FacesContext context, String newId)
protected UIComponent
UIComponentTag. createComponent(FacesContext context, String id)
Deprecated.Create a UIComponent.protected UIComponent
UIComponentClassicTagBase. findComponent(FacesContext context)
Return the corresponding UIComponent for this tag, creating it if necessary. -
Uses of FacesContext in org.apache.myfaces.core.api.shared
Methods in org.apache.myfaces.core.api.shared with parameters of type FacesContext Modifier and Type Method Description static void
MessageUtils. addErrorMessage(FacesContext facesContext, UIComponent component, String messageId)
static void
MessageUtils. addErrorMessage(FacesContext facesContext, UIComponent component, String messageId, Object[] args)
static void
MessageUtils. addErrorMessage(FacesContext facesContext, UIComponent component, Throwable cause)
static void
ComponentUtils. callValidators(FacesContext context, UIInput input, Object convertedValue)
static Converter
SharedRendererUtils. findUIOutputConverter(FacesContext facesContext, UIOutput component)
static Class<?>
SharedRendererUtils. getClassFromAttribute(FacesContext facesContext, Object attribute)
Gets a Class object from a given component attribute.static Object
SharedRendererUtils. getConvertedUISelectManyValue(FacesContext facesContext, UISelectMany component, String[] submittedValue)
static Object
SharedRendererUtils. getConvertedUISelectManyValue(FacesContext facesContext, UISelectMany component, String[] submittedValue, boolean considerValueType)
Gets the converted value of a UISelectMany component.static FacesMessage
MessageUtils. getErrorMessage(FacesContext facesContext, String messageId, Object[] args)
static Object
MessageUtils. getLabel(FacesContext facesContext, UIComponent component)
static FacesMessage
MessageUtils. getMessage(FacesContext facesContext, Locale locale, FacesMessage.Severity severity, String messageId, Object[] args)
static Converter
SharedRendererUtils. getSelectItemsValueConverter(Iterator<SelectItem> iterator, FacesContext facesContext)
Iterates through the SelectItems with the given Iterator and tries to obtain a by-class-converter based on the Class of SelectItem.getValue().static Converter
SharedRendererUtils. getValueTypeConverter(FacesContext facesContext, UISelectMany component)
Uses the valueType attribute of the given UISelectMany component to get a by-type converter.static boolean
ComponentUtils. isRendered(FacesContext facesContext, UIComponent uiComponent)
CallUIComponent.pushComponentToEL(javax.faces.context.FacesContext,javax.faces.component.UIComponent)
, reads the isRendered property, callUIComponent.popComponentFromEL(javax.faces.context.FacesContext)
and returns the value of isRendered.static javax.el.ValueReference
ValueReferenceResolver. resolve(javax.el.ValueExpression valueExpression, FacesContext context)
Get the ValueReference from the ValueExpression.Constructors in org.apache.myfaces.core.api.shared with parameters of type FacesContext Constructor Description FacesMessageInterpolator(javax.validation.MessageInterpolator interpolator, FacesContext facesContext)
SelectItemsIterator(UIComponent selectItemsParent, FacesContext facesContext)
-
Uses of FacesContext in org.apache.myfaces.core.api.shared.lang
Methods in org.apache.myfaces.core.api.shared.lang with parameters of type FacesContext Modifier and Type Method Description static Object
ClassUtils. convertToTypeNoLogging(FacesContext facesContext, Object value, Class<?> desiredClass)
-