Uses of Class
jakarta.faces.context.FacesContext
Packages that use FacesContext
Package
Description
-
Uses of FacesContext in jakarta.faces.application
Methods in jakarta.faces.application with parameters of type FacesContextModifier and TypeMethodDescriptionViewHandler.calculateCharacterEncoding
(FacesContext context) 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.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 Faces components into user presentation.ViewHandlerWrapper.calculateRenderKitId
(FacesContext context) Application.createComponent
(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType) Call thegetValue()
method on the specifiedValueExpression
.Application.createComponent
(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType, String rendererType) Application.createComponent
(FacesContext context, Resource componentResource) ???Application.createComponent
(FacesContext context, String componentType, String rendererType) ApplicationWrapper.createComponent
(jakarta.el.ValueExpression componentExpression, FacesContext contexte, String componentType) ApplicationWrapper.createComponent
(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType, String rendererType) ApplicationWrapper.createComponent
(FacesContext context, Resource componentResource) ApplicationWrapper.createComponent
(FacesContext context, String componentType, String rendererType) abstract UIViewRoot
ViewHandler.createView
(FacesContext context, String viewId) Build a root node for a component tree.ViewHandlerWrapper.createView
(FacesContext context, String viewId) ResourceHandler.createViewResource
(FacesContext context, String resourceName) ResourceHandlerWrapper.createViewResource
(FacesContext context, String resourceName) ViewHandler.deriveLogicalViewId
(FacesContext context, String rawViewId) ViewHandlerWrapper.deriveLogicalViewId
(FacesContext context, String rawViewId) ViewHandler.deriveViewId
(FacesContext context, String input) 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) NavigationCase.getActionURL
(FacesContext context) 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 Faces request processing lifecycle for the specified viewId to be executedViewHandlerWrapper.getActionURL
(FacesContext context, String viewId) NavigationCase.getBookmarkableURL
(FacesContext context) NavigationCaseWrapper.getBookmarkableURL
(FacesContext context) ViewHandler.getBookmarkableURL
(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) Return a Faces action URL derived from the viewId argument that is suitable to be used as the target of a link in a Faces response.ViewHandlerWrapper.getBookmarkableURL
(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) NavigationCase.getCondition
(FacesContext context) NavigationCaseWrapper.getCondition
(FacesContext context) abstract NavigationCase
ConfigurableNavigationHandler.getNavigationCase
(FacesContext context, String fromAction, String outcome) ConfigurableNavigationHandler.getNavigationCase
(FacesContext context, String fromAction, String outcome, String toFlowDocumentId) ConfigurableNavigationHandlerWrapper.getNavigationCase
(FacesContext context, String fromAction, String outcome) ConfigurableNavigationHandlerWrapper.getNavigationCase
(FacesContext context, String fromAction, String outcome, String toFlowDocumentId) NavigationCase.getRedirectURL
(FacesContext context) NavigationCaseWrapper.getRedirectURL
(FacesContext context) ViewHandler.getRedirectURL
(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) Return a Faces 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.ViewHandlerWrapper.getRedirectURL
(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) Application.getResourceBundle
(FacesContext ctx, String name) Find aResourceBundle
as defined in the application configuration resources under the specified name.ApplicationWrapper.getResourceBundle
(FacesContext ctx, String name) NavigationCase.getResourceURL
(FacesContext context) 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.ViewHandlerWrapper.getResourceURL
(FacesContext context, String path) NavigationCase.getToViewId
(FacesContext context) NavigationCaseWrapper.getToViewId
(FacesContext context) ViewHandler.getViewDeclarationLanguage
(FacesContext context, String viewId) Return the ViewDeclarationLanguage instance used for this ViewHandler instance.ViewHandlerWrapper.getViewDeclarationLanguage
(FacesContext context, String viewId) ResourceHandler.getViewResources
(FacesContext facesContext, String path, int maxDepth, ResourceVisitOption... options) ResourceHandler.getViewResources
(FacesContext facesContext, String path, ResourceVisitOption... options) ResourceHandlerWrapper.getViewResources
(FacesContext facesContext, String path, int maxDepth, ResourceVisitOption... options) ResourceHandlerWrapper.getViewResources
(FacesContext facesContext, String path, ResourceVisitOption... options) ViewHandler.getViews
(FacesContext facesContext, String path, int maxDepth, ViewVisitOption... options) ViewHandler.getViews
(FacesContext facesContext, String path, ViewVisitOption... options) ViewHandlerWrapper.getViews
(FacesContext facesContext, String path, int maxDepth, ViewVisitOption... options) ViewHandlerWrapper.getViews
(FacesContext facesContext, String path, ViewVisitOption... options) StateManager.getViewState
(FacesContext context) This method should be called from somewhere when ajax response is created to update the state saving param on client.StateManagerWrapper.getViewState
(FacesContext context) abstract String
ViewHandler.getWebsocketURL
(FacesContext context, String channelAndToken) Return a Faces URL that represents a websocket connection for the passed channel and channelTokenViewHandlerWrapper.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) abstract UIViewRoot
ViewHandler.restoreView
(FacesContext context, String viewId) Perform whatever actions are required to restore the view associated with the specified FacesContext and viewId.ViewHandlerWrapper.restoreView
(FacesContext context, String viewId) 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
StateManagerWrapper.writeState
(FacesContext context, Object state) abstract void
ViewHandler.writeState
(FacesContext context) Take any appropriate action to either immediately write out the current state information (by calling StateManager.writeState(jakarta.faces.context.FacesContext, java.lang.Object), or noting where state information should later be written.void
ViewHandlerWrapper.writeState
(FacesContext context) -
Uses of FacesContext in jakarta.faces.component
Methods in jakarta.faces.component that return FacesContextModifier and TypeMethodDescriptionprotected 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 jakarta.faces.component with parameters of type FacesContextModifier and TypeMethodDescriptionvoid
UIViewRoot.addComponentResource
(FacesContext context, UIComponent componentResource) void
UIViewRoot.addComponentResource
(FacesContext context, UIComponent componentResource, String target) void
UIViewRoot.broadcastEvents
(FacesContext context, PhaseId phaseId) UIData.createUniqueId
(FacesContext context, String seed) UIForm.createUniqueId
(FacesContext context, String seed) UINamingContainer.createUniqueId
(FacesContext context, String seed) UIViewRoot.createUniqueId
(FacesContext context, String seed) 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) UIComponentBase.getClientId
(FacesContext context) Get a string which can be output to the response which uniquely identifies this UIComponent within the current view.UIViewRoot.getComponentResources
(FacesContext context) UIViewRoot.getComponentResources
(FacesContext context, String target) UIComponent.getContainerClientId
(FacesContext ctx) UIData.getContainerClientId
(FacesContext context) 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) UIViewParameter.getStringValue
(FacesContext context) UIViewParameter.getStringValueFromModel
(FacesContext context) 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) 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) Check whether a group exists and then visit all the UISelectItem elements within the UISelectOne radio components to check if the submitted value is empty (ie.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.StateHolder.saveState
(FacesContext context) 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.UIData.saveState
(FacesContext context) UIInput.saveState
(FacesContext facesContext) UIOutput.saveState
(FacesContext facesContext) UIViewRoot.saveState
(FacesContext facesContext) TransientStateHolder.saveTransientState
(FacesContext context) Return the object containing related "transient states".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 jakarta.faces.component with parameters of type FacesContextModifierConstructorDescriptionReference
(FacesContext context, UIViewParameter param, int indexInParent, String viewIdAtTimeOfConstruction) -
Uses of FacesContext in jakarta.faces.component.behavior
Methods in jakarta.faces.component.behavior that return FacesContextMethods in jakarta.faces.component.behavior with parameters of type FacesContextModifier and TypeMethodDescriptionstatic 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) AjaxBehavior.saveState
(FacesContext facesContext) BehaviorBase.saveState
(FacesContext context) -
Uses of FacesContext in jakarta.faces.component.html
Methods in jakarta.faces.component.html with parameters of type FacesContextModifier and TypeMethodDescriptionprotected void
HtmlInputFile.validateValue
(FacesContext context, Object convertedValue) -
Uses of FacesContext in jakarta.faces.component.search
Methods in jakarta.faces.component.search that return FacesContextModifier and TypeMethodDescriptionabstract FacesContext
SearchExpressionContext.getFacesContext()
Methods in jakarta.faces.component.search with parameters of type FacesContextModifier and TypeMethodDescriptionstatic 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 jakarta.faces.component.visit
Methods in jakarta.faces.component.visit that return FacesContextModifier and TypeMethodDescriptionabstract FacesContext
VisitContext.getFacesContext()
VisitContextWrapper.getFacesContext()
Methods in jakarta.faces.component.visit with parameters of type FacesContextModifier and TypeMethodDescriptionstatic 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 jakarta.faces.context
Subclasses of FacesContext in jakarta.faces.contextMethods in jakarta.faces.context that return FacesContextModifier and TypeMethodDescriptionstatic FacesContext
FacesContext.getCurrentInstance()
abstract FacesContext
FacesContextFactory.getFacesContext
(Object context, Object request, Object response, Lifecycle lifecycle) FacesContextWrapper.getWrapped()
Methods in jakarta.faces.context with parameters of type FacesContextModifier and TypeMethodDescriptionabstract 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 jakarta.faces.context with parameters of type FacesContext -
Uses of FacesContext in jakarta.faces.convert
Methods in jakarta.faces.convert with parameters of type FacesContextModifier and TypeMethodDescriptionBigDecimalConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) BigIntegerConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) BooleanConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) ByteConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) CharacterConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) Converter.getAsObject
(FacesContext context, UIComponent component, String value) DateTimeConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) DoubleConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) EnumConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) FloatConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) IntegerConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) LongConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) NumberConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) ShortConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) UUIDConverter.getAsObject
(FacesContext facesContext, UIComponent uiComponent, String value) BigDecimalConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) BigIntegerConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) BooleanConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) ByteConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) CharacterConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) Converter.getAsString
(FacesContext context, UIComponent component, T value) DateTimeConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) DoubleConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) EnumConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) FloatConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) IntegerConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) LongConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) NumberConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) ShortConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, Object value) UUIDConverter.getAsString
(FacesContext facesContext, UIComponent uiComponent, UUID value) void
DateTimeConverter.restoreState
(FacesContext facesContext, Object state) void
EnumConverter.restoreState
(FacesContext context, Object state) void
NumberConverter.restoreState
(FacesContext facesContext, Object state) DateTimeConverter.saveState
(FacesContext facesContext) EnumConverter.saveState
(FacesContext context) NumberConverter.saveState
(FacesContext facesContext) -
Uses of FacesContext in jakarta.faces.event
Methods in jakarta.faces.event that return FacesContextModifier and TypeMethodDescriptionExceptionQueuedEventContext.getContext()
FacesEvent.getFacesContext()
PhaseEvent.getFacesContext()
SystemEvent.getFacesContext()
Methods in jakarta.faces.event with parameters of type FacesContextModifier and TypeMethodDescriptionvoid
MethodExpressionActionListener.restoreState
(FacesContext context, Object state) void
MethodExpressionValueChangeListener.restoreState
(FacesContext context, Object state) MethodExpressionActionListener.saveState
(FacesContext context) MethodExpressionValueChangeListener.saveState
(FacesContext context) Constructors in jakarta.faces.event with parameters of type FacesContextModifierConstructorDescriptionActionEvent
(FacesContext facesContext, UIComponent uiComponent) AjaxBehaviorEvent
(FacesContext facesContext, UIComponent uiComponent, Behavior behavior) BehaviorEvent
(FacesContext facesContext, UIComponent uiComponent, Behavior behavior) ComponentSystemEvent
(FacesContext facesContext, UIComponent component) ExceptionQueuedEvent
(FacesContext facesContext, ExceptionQueuedEventContext eventContext) ExceptionQueuedEventContext
(FacesContext context, Throwable thrown) ExceptionQueuedEventContext
(FacesContext context, Throwable thrown, UIComponent component) ExceptionQueuedEventContext
(FacesContext context, Throwable thrown, UIComponent component, PhaseId phaseId) FacesEvent
(FacesContext facesContext, UIComponent uiComponent) PhaseEvent
(FacesContext facesContext, PhaseId phaseId, Lifecycle lifecycle) PostAddToViewEvent
(FacesContext facesContext, UIComponent component) PostConstructApplicationEvent
(FacesContext facesContext, Application application) PostConstructCustomScopeEvent
(FacesContext facesContext, ScopeContext source) Deprecated, for removal: This API element is subject to removal in a future version.PostConstructViewMapEvent
(FacesContext facesContext, UIViewRoot root) PostKeepFlashValueEvent
(FacesContext facesContext, String key) PostPutFlashValueEvent
(FacesContext facesContext, String key) PostRenderViewEvent
(FacesContext facesContext, UIViewRoot root) PostRestoreStateEvent
(FacesContext facesContext, UIComponent component) PostValidateEvent
(FacesContext facesContext, UIComponent component) PreClearFlashEvent
(FacesContext facesContext, Map<String, Object> source) PreDestroyApplicationEvent
(FacesContext facesContext, Application application) PreDestroyCustomScopeEvent
(FacesContext facesContext, ScopeContext source) Deprecated, for removal: This API element is subject to removal in a future version.PreDestroyViewMapEvent
(FacesContext facesContext, UIViewRoot root) PreRemoveFlashValueEvent
(FacesContext facesContext, String key) PreRemoveFromViewEvent
(FacesContext facesContext, UIComponent component) PreRenderComponentEvent
(FacesContext facesContext, UIComponent component) PreRenderViewEvent
(FacesContext facesContext, UIViewRoot root) PreValidateEvent
(FacesContext facesContext, UIComponent component) SystemEvent
(FacesContext facesContext, Object source) ValueChangeEvent
(FacesContext facesContext, UIComponent uiComponent, Object oldValue, Object newValue) -
Uses of FacesContext in jakarta.faces.flow
Methods in jakarta.faces.flow with parameters of type FacesContextModifier and TypeMethodDescriptionabstract void
FlowHandler.addFlow
(FacesContext context, Flow toAdd) abstract void
FlowHandler.clientWindowTransition
(FacesContext context) abstract FlowHandler
FlowHandlerFactory.createFlowHandler
(FacesContext context) 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 jakarta.faces.lifecycle
Methods in jakarta.faces.lifecycle with parameters of type FacesContextModifier and TypeMethodDescriptionvoid
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) ClientWindow.getQueryURLParameters
(FacesContext context) 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 jakarta.faces.render
Methods in jakarta.faces.render with parameters of type FacesContextModifier and TypeMethodDescriptionRenderer.convertClientId
(FacesContext context, String clientId) RendererWrapper.convertClientId
(FacesContext context, String clientId) void
ClientBehaviorRenderer.decode
(FacesContext context, UIComponent component, ClientBehavior behavior) void
Renderer.decode
(FacesContext context, T component) void
RendererWrapper.decode
(FacesContext context, UIComponent component) void
Renderer.encodeBegin
(FacesContext context, T component) void
RendererWrapper.encodeBegin
(FacesContext context, UIComponent component) void
Renderer.encodeChildren
(FacesContext context, T component) Render all children if there are any.void
RendererWrapper.encodeChildren
(FacesContext context, UIComponent component) void
Renderer.encodeEnd
(FacesContext context, T component) void
RendererWrapper.encodeEnd
(FacesContext context, UIComponent component) Renderer.getConvertedValue
(FacesContext context, T component, Object submittedValue) RendererWrapper.getConvertedValue
(FacesContext context, UIComponent component, Object submittedValue) ResponseStateManager.getCryptographicallyStrongTokenFromSession
(FacesContext context) abstract RenderKit
RenderKitFactory.getRenderKit
(FacesContext context, String renderKitId) ResponseStateManager.getState
(FacesContext context, String viewId) 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) -
Uses of FacesContext in jakarta.faces.validator
Methods in jakarta.faces.validator with parameters of type FacesContextModifier and TypeMethodDescriptionvoid
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) BeanValidator.saveState
(FacesContext context) DoubleRangeValidator.saveState
(FacesContext context) LengthValidator.saveState
(FacesContext context) LongRangeValidator.saveState
(FacesContext context) MethodExpressionValidator.saveState
(FacesContext context) 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 jakarta.faces.view
Methods in jakarta.faces.view with parameters of type FacesContextModifier and TypeMethodDescriptionvoid
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) ViewDeclarationLanguage.calculateResourceLibraryContracts
(FacesContext context, String viewId) ViewDeclarationLanguageWrapper.calculateResourceLibraryContracts
(FacesContext context, String viewId) ViewDeclarationLanguage.createComponent
(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes) 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) ViewDeclarationLanguageWrapper.createView
(FacesContext context, String viewId) abstract BeanInfo
ViewDeclarationLanguage.getComponentMetadata
(FacesContext context, Resource componentResource) ViewDeclarationLanguageWrapper.getComponentMetadata
(FacesContext context, Resource componentResource) abstract Resource
ViewDeclarationLanguage.getScriptComponentResource
(FacesContext context, Resource componentResource) ViewDeclarationLanguageWrapper.getScriptComponentResource
(FacesContext context, Resource componentResource) abstract StateManagementStrategy
ViewDeclarationLanguage.getStateManagementStrategy
(FacesContext context, String viewId) ViewDeclarationLanguageWrapper.getStateManagementStrategy
(FacesContext context, String viewId) abstract ViewMetadata
ViewDeclarationLanguage.getViewMetadata
(FacesContext context, String viewId) ViewDeclarationLanguageWrapper.getViewMetadata
(FacesContext context, String viewId) ViewDeclarationLanguage.getViews
(FacesContext facesContext, String path, int maxDepth, ViewVisitOption... options) ViewDeclarationLanguage.getViews
(FacesContext facesContext, String path, ViewVisitOption... options) ViewDeclarationLanguageWrapper.getViews
(FacesContext facesContext, String path, int maxDepth, ViewVisitOption... options) 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) 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 jakarta.faces.view.facelets
Methods in jakarta.faces.view.facelets that return FacesContextModifier and TypeMethodDescriptionabstract FacesContext
FaceletContext.getFacesContext()
The current FacesContext bound to this "request"Methods in jakarta.faces.view.facelets with parameters of type FacesContextModifier and TypeMethodDescriptionabstract void
Facelet.apply
(FacesContext facesContext, UIComponent parent) The passed UIComponent parent will be populated/restored in accordance with the Facelets chapter in the spec prose document.final void
FaceletsAttachedObjectHandler.applyAttachedObject
(FacesContext context, UIComponent parent) Take the argumentparent
and apply this attachedobject
to it.void
Facelet.applyMetadata
(FacesContext facesContext, UIComponent parent) The passed UIComponent parent will be populated/restored in accordance with the Facelets chapter in the spec prose document with only the meta data as per thef:metadata
tag.