Uses of Class
jakarta.faces.context.FacesContext
-
-
Uses of FacesContext in jakarta.faces.application
Methods in jakarta.faces.application with parameters of type FacesContext Modifier and Type Method Description StringViewHandler. calculateCharacterEncoding(FacesContext context)StringViewHandlerWrapper. calculateCharacterEncoding(FacesContext context)abstract LocaleViewHandler. calculateLocale(FacesContext context)Return the Locale object that should be used when rendering this view to the current user.LocaleViewHandlerWrapper. calculateLocale(FacesContext context)abstract StringViewHandler. calculateRenderKitId(FacesContext context)Return the id of an available render-kit that should be used to map the Faces components into user presentation.StringViewHandlerWrapper. calculateRenderKitId(FacesContext context)UIComponentApplication. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType)Call thegetValue()method on the specifiedValueExpression.UIComponentApplication. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)UIComponentApplication. createComponent(FacesContext context, Resource componentResource)???UIComponentApplication. createComponent(FacesContext context, String componentType, String rendererType)UIComponentApplicationWrapper. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext contexte, String componentType)UIComponentApplicationWrapper. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)UIComponentApplicationWrapper. createComponent(FacesContext context, Resource componentResource)UIComponentApplicationWrapper. createComponent(FacesContext context, String componentType, String rendererType)abstract UIViewRootViewHandler. createView(FacesContext context, String viewId)Build a root node for a component tree.UIViewRootViewHandlerWrapper. createView(FacesContext context, String viewId)ViewResourceResourceHandler. createViewResource(FacesContext context, String resourceName)ViewResourceResourceHandlerWrapper. createViewResource(FacesContext context, String resourceName)StringViewHandler. deriveLogicalViewId(FacesContext context, String rawViewId)StringViewHandlerWrapper. deriveLogicalViewId(FacesContext context, String rawViewId)StringViewHandler. deriveViewId(FacesContext context, String input)StringViewHandlerWrapper. deriveViewId(FacesContext context, String input)<T> TApplication. evaluateExpressionGet(FacesContext context, String expression, Class<? extends T> expectedType)Get a value by evaluating an expression.<T> TApplicationWrapper. evaluateExpressionGet(FacesContext context, String expression, Class<? extends T> expectedType)URLNavigationCase. getActionURL(FacesContext context)URLNavigationCaseWrapper. getActionURL(FacesContext context)abstract StringViewHandler. 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 executedStringViewHandlerWrapper. getActionURL(FacesContext context, String viewId)URLNavigationCase. getBookmarkableURL(FacesContext context)URLNavigationCaseWrapper. getBookmarkableURL(FacesContext context)StringViewHandler. 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.StringViewHandlerWrapper. getBookmarkableURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)BooleanNavigationCase. getCondition(FacesContext context)BooleanNavigationCaseWrapper. getCondition(FacesContext context)abstract NavigationCaseConfigurableNavigationHandler. getNavigationCase(FacesContext context, String fromAction, String outcome)NavigationCaseConfigurableNavigationHandler. getNavigationCase(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)NavigationCaseConfigurableNavigationHandlerWrapper. getNavigationCase(FacesContext context, String fromAction, String outcome)NavigationCaseConfigurableNavigationHandlerWrapper. getNavigationCase(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)URLNavigationCase. getRedirectURL(FacesContext context)URLNavigationCaseWrapper. getRedirectURL(FacesContext context)StringViewHandler. 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.StringViewHandlerWrapper. getRedirectURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)ResourceBundleApplication. getResourceBundle(FacesContext ctx, String name)Find aResourceBundleas defined in the application configuration resources under the specified name.ResourceBundleApplicationWrapper. getResourceBundle(FacesContext ctx, String name)URLNavigationCase. getResourceURL(FacesContext context)URLNavigationCaseWrapper. getResourceURL(FacesContext context)abstract StringViewHandler. getResourceURL(FacesContext context, String path)Returns a URL, suitable for encoding and rendering, that (if activated) will retrieve the specified web application resource.StringViewHandlerWrapper. getResourceURL(FacesContext context, String path)StringNavigationCase. getToViewId(FacesContext context)StringNavigationCaseWrapper. getToViewId(FacesContext context)ViewDeclarationLanguageViewHandler. getViewDeclarationLanguage(FacesContext context, String viewId)Return the ViewDeclarationLanguage instance used for this ViewHandler instance.ViewDeclarationLanguageViewHandlerWrapper. 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)StringStateManager. getViewState(FacesContext context)This method should be called from somewhere when ajax response is created to update the state saving param on client.StringStateManagerWrapper. getViewState(FacesContext context)abstract StringViewHandler. getWebsocketURL(FacesContext context, String channelAndToken)Return a Faces URL that represents a websocket connection for the passed channel and channelTokenStringViewHandlerWrapper. getWebsocketURL(FacesContext context, String channelAndToken)voidConfigurableNavigationHandlerWrapper. handleNavigation(FacesContext context, String fromAction, String outcome)abstract voidNavigationHandler. handleNavigation(FacesContext context, String fromAction, String outcome)voidNavigationHandler. handleNavigation(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)voidNavigationHandlerWrapper. handleNavigation(FacesContext context, String fromAction, String outcome)voidNavigationHandlerWrapper. handleNavigation(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)abstract voidResourceHandler. handleResourceRequest(FacesContext context)voidResourceHandlerWrapper. handleResourceRequest(FacesContext context)voidViewHandler. initView(FacesContext context)Initialize the view for the request processing lifecycle.voidViewHandlerWrapper. initView(FacesContext context)voidConfigurableNavigationHandler. inspectFlow(FacesContext context, Flow flow)voidConfigurableNavigationHandlerWrapper. inspectFlow(FacesContext context, Flow flow)booleanResourceHandler. isResourceRendered(FacesContext facesContext, String resourceName, String libraryName)booleanResourceHandlerWrapper. isResourceRendered(FacesContext facesContext, String resourceName, String libraryName)abstract booleanResourceHandler. isResourceRequest(FacesContext context)booleanResourceHandlerWrapper. isResourceRequest(FacesContext context)booleanStateManager. isSavingStateInClient(FacesContext context)booleanStateManagerWrapper. isSavingStateInClient(FacesContext context)voidResourceHandler. markResourceRendered(FacesContext facesContext, String resourceName, String libraryName)voidResourceHandlerWrapper. markResourceRendered(FacesContext facesContext, String resourceName, String libraryName)voidApplication. publishEvent(FacesContext facesContext, Class<? extends SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source)voidApplication. 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 thesourceof the event.voidApplicationWrapper. publishEvent(FacesContext facesContext, Class<? extends SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source)voidApplicationWrapper. publishEvent(FacesContext facesContext, Class<? extends SystemEvent> systemEventClass, Object source)abstract voidViewHandler. renderView(FacesContext context, UIViewRoot viewToRender)Perform whatever actions are required to render the response view to the response object associated with the current FacesContext.voidViewHandlerWrapper. renderView(FacesContext context, UIViewRoot viewToRender)abstract UIViewRootViewHandler. restoreView(FacesContext context, String viewId)Perform whatever actions are required to restore the view associated with the specified FacesContext and viewId.UIViewRootViewHandlerWrapper. restoreView(FacesContext context, String viewId)abstract booleanResource. userAgentNeedsUpdate(FacesContext context)booleanResourceWrapper. userAgentNeedsUpdate(FacesContext context)voidStateManager. writeState(FacesContext context, Object state)Associate the provided state object with the current response being generated.voidStateManagerWrapper. writeState(FacesContext context, Object state)abstract voidViewHandler. 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.voidViewHandlerWrapper. writeState(FacesContext context) -
Uses of FacesContext in jakarta.faces.component
Methods in jakarta.faces.component that return FacesContext Modifier and Type Method Description protected abstract FacesContextUIComponent. getFacesContext()protected FacesContextUIComponentBase. getFacesContext()protected FacesContextUIParameter. getFacesContext()protected FacesContextUISelectItem. getFacesContext()protected FacesContextUISelectItems. getFacesContext()protected FacesContextUIViewParameter. getFacesContext()Methods in jakarta.faces.component with parameters of type FacesContext Modifier and Type Method Description voidUIViewRoot. addComponentResource(FacesContext context, UIComponent componentResource)voidUIViewRoot. addComponentResource(FacesContext context, UIComponent componentResource, String target)voidUIViewRoot. broadcastEvents(FacesContext context, PhaseId phaseId)StringUIData. createUniqueId(FacesContext context, String seed)StringUIForm. createUniqueId(FacesContext context, String seed)StringUINamingContainer. createUniqueId(FacesContext context, String seed)StringUIViewRoot. createUniqueId(FacesContext context, String seed)StringUniqueIdVendor. createUniqueId(FacesContext context, String seed)abstract voidUIComponent. decode(FacesContext context)voidUIComponentBase. decode(FacesContext context)Check the submitted form parameters for data associated with this component.voidUIInput. decode(FacesContext context)voidUIViewAction. decode(FacesContext context)voidUIViewParameter. decode(FacesContext context)voidUIComponent. encodeAll(FacesContext context)voidUIComponentBase. encodeAll(FacesContext context)voidUIViewParameter. encodeAll(FacesContext context)abstract voidUIComponent. encodeBegin(FacesContext context)voidUIComponentBase. encodeBegin(FacesContext context)voidUIData. 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.voidUIViewRoot. encodeBegin(FacesContext context)abstract voidUIComponent. encodeChildren(FacesContext context)voidUIComponentBase. encodeChildren(FacesContext context)voidUIViewRoot. encodeChildren(FacesContext context)abstract voidUIComponent. encodeEnd(FacesContext context)voidUIComponentBase. encodeEnd(FacesContext context)voidUIData. encodeEnd(FacesContext context)voidUIViewRoot. encodeEnd(FacesContext context)abstract StringUIComponent. getClientId(FacesContext context)StringUIComponentBase. 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)StringUIComponent. getContainerClientId(FacesContext ctx)StringUIData. getContainerClientId(FacesContext context)StringUIForm. getContainerClientId(FacesContext ctx)protected ObjectUIInput. getConvertedValue(FacesContext context, Object submittedValue)Convert the provided object to the desired value.protected ObjectUISelectMany. getConvertedValue(FacesContext context, Object submittedValue)protected ObjectUIViewParameter. getConvertedValue(FacesContext context, Object submittedValue)static UIComponentUIComponent. getCurrentComponent(FacesContext context)static UIComponentUIComponent. getCurrentCompositeComponent(FacesContext context)protected abstract RendererUIComponent. getRenderer(FacesContext context)protected RendererUIComponentBase. getRenderer(FacesContext context)static charUINamingContainer. getSeparatorChar(FacesContext context)StringUIViewParameter. getStringValue(FacesContext context)StringUIViewParameter. getStringValueFromModel(FacesContext context)UIViewParameterUIViewParameter.Reference. getUIViewParameter(FacesContext context)voidContextCallback. invokeContextCallback(FacesContext context, UIComponent target)booleanUIComponent. invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)Invokes theinvokeContextCallbackmethod with the component, specified byclientId.booleanUIComponentBase. invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)invokeOnComponentmust be implemented inUIComponentBasetoo...booleanUIData. invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)booleanUIForm. invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)static booleanUIViewAction. isProcessingBroadcast(FacesContext context)voidUIComponent. popComponentFromEL(FacesContext context)voidUIViewRoot. processApplication(FacesContext context)abstract voidUIComponent. processDecodes(FacesContext context)voidUIComponentBase. processDecodes(FacesContext context)voidUIData. processDecodes(FacesContext context)voidUIForm. processDecodes(FacesContext context)voidUIInput. processDecodes(FacesContext context)Set the "submitted value" of this component from the relevant data in the current servlet request object.voidUIViewRoot. processDecodes(FacesContext context)abstract voidUIComponent. processRestoreState(FacesContext context, Object state)voidUIComponentBase. processRestoreState(FacesContext context, Object state)voidUIViewRoot. processRestoreState(FacesContext context, Object state)abstract ObjectUIComponent. processSaveState(FacesContext context)ObjectUIComponentBase. processSaveState(FacesContext context)abstract voidUIComponent. processUpdates(FacesContext context)voidUIComponentBase. 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.voidUIData. processUpdates(FacesContext context)voidUIForm. processUpdates(FacesContext context)voidUIInput. processUpdates(FacesContext context)voidUIViewRoot. processUpdates(FacesContext context)abstract voidUIComponent. processValidators(FacesContext context)voidUIComponentBase. processValidators(FacesContext context)voidUIData. processValidators(FacesContext context)voidUIForm. processValidators(FacesContext context)voidUIInput. processValidators(FacesContext context)voidUISelectOne. 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.voidUIViewParameter. processValidators(FacesContext context)voidUIViewRoot. processValidators(FacesContext context)voidUIComponent. pushComponentToEL(FacesContext context, UIComponent component)voidUIViewRoot. removeComponentResource(FacesContext context, UIComponent componentResource)voidUIViewRoot. removeComponentResource(FacesContext context, UIComponent componentResource, String target)voidUIViewRoot. resetValues(FacesContext context, Collection<String> clientIds)static ObjectUIComponentBase. restoreAttachedState(FacesContext context, Object stateObj)voidStateHolder. restoreState(FacesContext context, Object state)voidUIComponentBase. 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.voidUIData. restoreState(FacesContext context, Object state)voidUIInput. restoreState(FacesContext facesContext, Object state)voidUIOutput. restoreState(FacesContext facesContext, Object state)voidUIViewRoot. restoreState(FacesContext facesContext, Object state)voidTransientStateHolder. restoreTransientState(FacesContext context, Object state)Restore the "transient state" using the object passed as state.voidUIComponent. restoreTransientState(FacesContext context, Object state)voidUIViewRoot. restoreViewScopeState(FacesContext facesContext, Object state)static ObjectUIComponentBase. saveAttachedState(FacesContext context, Object attachedObject)Serializes objects which are "attached" to this component but which are not UIComponent children of it.ObjectStateHolder. saveState(FacesContext context)ObjectUIComponentBase. 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.ObjectUIData. saveState(FacesContext context)ObjectUIInput. saveState(FacesContext facesContext)ObjectUIOutput. saveState(FacesContext facesContext)ObjectUIViewRoot. saveState(FacesContext facesContext)ObjectTransientStateHolder. saveTransientState(FacesContext context)Return the object containing related "transient states".ObjectUIComponent. saveTransientState(FacesContext context)voidUIInput. updateModel(FacesContext context)voidUIViewParameter. updateModel(FacesContext context)voidUIInput. validate(FacesContext context)Determine whether the new value is valid, and queue a ValueChangeEvent if necessary.protected voidUIInput. validateValue(FacesContext context, Object convertedValue)protected voidUISelectMany. validateValue(FacesContext context, Object convertedValue)protected voidUISelectOne. 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 FacesContext Constructor Description Reference(FacesContext context, UIViewParameter param, int indexInParent, String viewIdAtTimeOfConstruction) -
Uses of FacesContext in jakarta.faces.component.behavior
Methods in jakarta.faces.component.behavior that return FacesContext Modifier and Type Method Description abstract FacesContextClientBehaviorContext. getFacesContext()Methods in jakarta.faces.component.behavior with parameters of type FacesContext Modifier and Type Method Description static ClientBehaviorContextClientBehaviorContext. createClientBehaviorContext(FacesContext context, UIComponent component, String eventName, String sourceId, Collection<ClientBehaviorContext.Parameter> parameters)voidClientBehavior. decode(FacesContext context, UIComponent component)voidClientBehaviorBase. decode(FacesContext context, UIComponent component)protected ClientBehaviorRendererClientBehaviorBase. getRenderer(FacesContext context)voidAjaxBehavior. restoreState(FacesContext facesContext, Object o)voidBehaviorBase. restoreState(FacesContext context, Object state)ObjectAjaxBehavior. saveState(FacesContext facesContext)ObjectBehaviorBase. saveState(FacesContext context) -
Uses of FacesContext in jakarta.faces.component.html
Methods in jakarta.faces.component.html with parameters of type FacesContext Modifier and Type Method Description protected voidHtmlInputFile. validateValue(FacesContext context, Object convertedValue) -
Uses of FacesContext in jakarta.faces.component.search
Methods in jakarta.faces.component.search that return FacesContext Modifier and Type Method Description abstract FacesContextSearchExpressionContext. getFacesContext()Methods in jakarta.faces.component.search with parameters of type FacesContext Modifier and Type Method Description static SearchExpressionContextSearchExpressionContext. createSearchExpressionContext(FacesContext context, UIComponent source)static SearchExpressionContextSearchExpressionContext. createSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints)char[]SearchExpressionHandler. getExpressionSeperatorChars(FacesContext context)char[]SearchExpressionHandlerWrapper. getExpressionSeperatorChars(FacesContext context)abstract SearchExpressionContextSearchExpressionContextFactory. 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 FacesContext Modifier and Type Method Description abstract FacesContextVisitContext. getFacesContext()FacesContextVisitContextWrapper. getFacesContext()Methods in jakarta.faces.component.visit with parameters of type FacesContext Modifier and Type Method Description static VisitContextVisitContext. createVisitContext(FacesContext context)static VisitContextVisitContext. createVisitContext(FacesContext context, Collection<String> ids, Set<VisitHint> hints)abstract VisitContextVisitContextFactory. getVisitContext(FacesContext context, Collection<String> ids, Set<VisitHint> hints) -
Uses of FacesContext in jakarta.faces.context
Subclasses of FacesContext in jakarta.faces.context Modifier and Type Class Description classFacesContextWrapperMethods in jakarta.faces.context that return FacesContext Modifier and Type Method Description static FacesContextFacesContext. getCurrentInstance()abstract FacesContextFacesContextFactory. getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle)FacesContextFacesContextWrapper. getWrapped()Methods in jakarta.faces.context with parameters of type FacesContext Modifier and Type Method Description abstract voidFlash. doPostPhaseActions(FacesContext context)voidFlashWrapper. doPostPhaseActions(FacesContext context)abstract voidFlash. doPrePhaseActions(FacesContext context)voidFlashWrapper. doPrePhaseActions(FacesContext context)abstract PartialViewContextPartialViewContextFactory. getPartialViewContext(FacesContext context)protected static voidFacesContext. setCurrentInstance(FacesContext context)Constructors in jakarta.faces.context with parameters of type FacesContext Constructor Description FacesContextWrapper(FacesContext delegate) -
Uses of FacesContext in jakarta.faces.convert
Methods in jakarta.faces.convert with parameters of type FacesContext Modifier and Type Method Description ObjectBigDecimalConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectBigIntegerConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectBooleanConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectByteConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectCharacterConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)TConverter. getAsObject(FacesContext context, UIComponent component, String value)ObjectDateTimeConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectDoubleConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectEnumConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectFloatConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectIntegerConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectLongConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectNumberConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectShortConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)StringBigDecimalConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringBigIntegerConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringBooleanConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringByteConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringCharacterConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringConverter. getAsString(FacesContext context, UIComponent component, T value)StringDateTimeConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringDoubleConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringEnumConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringFloatConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringIntegerConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringLongConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringNumberConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringShortConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)voidDateTimeConverter. restoreState(FacesContext facesContext, Object state)voidEnumConverter. restoreState(FacesContext context, Object state)voidNumberConverter. restoreState(FacesContext facesContext, Object state)ObjectDateTimeConverter. saveState(FacesContext facesContext)ObjectEnumConverter. saveState(FacesContext context)ObjectNumberConverter. saveState(FacesContext facesContext) -
Uses of FacesContext in jakarta.faces.event
Methods in jakarta.faces.event that return FacesContext Modifier and Type Method Description FacesContextExceptionQueuedEventContext. getContext()FacesContextFacesEvent. getFacesContext()FacesContextPhaseEvent. getFacesContext()FacesContextSystemEvent. getFacesContext()Methods in jakarta.faces.event with parameters of type FacesContext Modifier and Type Method Description voidMethodExpressionActionListener. restoreState(FacesContext context, Object state)voidMethodExpressionValueChangeListener. restoreState(FacesContext context, Object state)ObjectMethodExpressionActionListener. saveState(FacesContext context)ObjectMethodExpressionValueChangeListener. saveState(FacesContext context) -
Uses of FacesContext in jakarta.faces.flow
Methods in jakarta.faces.flow with parameters of type FacesContext Modifier and Type Method Description abstract voidFlowHandler. addFlow(FacesContext context, Flow toAdd)abstract voidFlowHandler. clientWindowTransition(FacesContext context)abstract FlowHandlerFlowHandlerFactory. createFlowHandler(FacesContext context)FlowHandlerFlowHandlerFactoryWrapper. createFlowHandler(FacesContext context)abstract StringFlowCallNode. getCalledFlowDocumentId(FacesContext context)abstract StringFlowCallNode. getCalledFlowId(FacesContext context)abstract BooleanSwitchCase. getCondition(FacesContext context)abstract FlowFlowHandler. getCurrentFlow(FacesContext context)abstract StringSwitchNode. getDefaultOutcome(FacesContext context)abstract FlowFlowHandler. getFlow(FacesContext context, String definingDocumentId, String id)abstract StringReturnNode. getFromOutcome(FacesContext context)abstract StringFlowHandler. getLastDisplayedViewId(FacesContext context)abstract booleanFlowHandler. isActive(FacesContext context, String definingDocument, String id)abstract voidFlowHandler. popReturnMode(FacesContext context)abstract voidFlowHandler. pushReturnMode(FacesContext context)abstract voidFlowHandler. 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 FacesContext Modifier and Type Method Description voidLifecycle. attachWindow(FacesContext context)voidLifecycleWrapper. attachWindow(FacesContext context)abstract voidClientWindow. decode(FacesContext context)voidClientWindowWrapper. decode(FacesContext context)voidClientWindow. disableClientWindowRenderMode(FacesContext context)voidClientWindowWrapper. disableClientWindowRenderMode(FacesContext context)voidClientWindow. enableClientWindowRenderMode(FacesContext context)voidClientWindowWrapper. enableClientWindowRenderMode(FacesContext context)abstract voidLifecycle. execute(FacesContext context)voidLifecycleWrapper. execute(FacesContext context)abstract ClientWindowClientWindowFactory. getClientWindow(FacesContext context)abstract Map<String,String>ClientWindow. getQueryURLParameters(FacesContext context)Map<String,String>ClientWindowWrapper. getQueryURLParameters(FacesContext context)booleanClientWindow. isClientWindowRenderModeEnabled(FacesContext context)booleanClientWindowWrapper. isClientWindowRenderModeEnabled(FacesContext context)abstract voidLifecycle. render(FacesContext context)voidLifecycleWrapper. render(FacesContext context) -
Uses of FacesContext in jakarta.faces.render
Methods in jakarta.faces.render with parameters of type FacesContext Modifier and Type Method Description StringRenderer. convertClientId(FacesContext context, String clientId)StringRendererWrapper. convertClientId(FacesContext context, String clientId)voidClientBehaviorRenderer. decode(FacesContext context, UIComponent component, ClientBehavior behavior)voidRenderer. decode(FacesContext context, T component)voidRendererWrapper. decode(FacesContext context, UIComponent component)voidRenderer. encodeBegin(FacesContext context, T component)voidRendererWrapper. encodeBegin(FacesContext context, UIComponent component)voidRenderer. encodeChildren(FacesContext context, T component)Render all children if there are any.voidRendererWrapper. encodeChildren(FacesContext context, UIComponent component)voidRenderer. encodeEnd(FacesContext context, T component)voidRendererWrapper. encodeEnd(FacesContext context, UIComponent component)ObjectRenderer. getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)ObjectRendererWrapper. getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)StringResponseStateManager. getCryptographicallyStrongTokenFromSession(FacesContext context)abstract RenderKitRenderKitFactory. getRenderKit(FacesContext context, String renderKitId)ObjectResponseStateManager. getState(FacesContext context, String viewId)StringResponseStateManager. getViewState(FacesContext context, Object state)booleanResponseStateManager. isPostback(FacesContext context)Checks if the current request is a postbackbooleanResponseStateManager. isStateless(FacesContext context, String viewId)voidResponseStateManager. writeState(FacesContext context, Object state) -
Uses of FacesContext in jakarta.faces.validator
Methods in jakarta.faces.validator with parameters of type FacesContext Modifier and Type Method Description voidBeanValidator. restoreState(FacesContext context, Object state)voidDoubleRangeValidator. restoreState(FacesContext context, Object state)voidLengthValidator. restoreState(FacesContext context, Object state)voidLongRangeValidator. restoreState(FacesContext context, Object state)voidMethodExpressionValidator. restoreState(FacesContext context, Object state)voidRegexValidator. restoreState(FacesContext context, Object state)ObjectBeanValidator. saveState(FacesContext context)ObjectDoubleRangeValidator. saveState(FacesContext context)ObjectLengthValidator. saveState(FacesContext context)ObjectLongRangeValidator. saveState(FacesContext context)ObjectMethodExpressionValidator. saveState(FacesContext context)ObjectRegexValidator. saveState(FacesContext context)voidBeanValidator. validate(FacesContext context, UIComponent component, Object value)voidDoubleRangeValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)voidLengthValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)voidLongRangeValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)voidMethodExpressionValidator. validate(FacesContext context, UIComponent component, Object value)voidRegexValidator. validate(FacesContext context, UIComponent component, Object value)voidRequiredValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)voidValidator. validate(FacesContext context, UIComponent component, T value) -
Uses of FacesContext in jakarta.faces.view
Methods in jakarta.faces.view with parameters of type FacesContext Modifier and Type Method Description voidAttachedObjectHandler. applyAttachedObject(FacesContext context, UIComponent parent)Take the argumentparentand apply this attachedobjectto it.abstract voidViewDeclarationLanguage. buildView(FacesContext context, UIViewRoot view)voidViewDeclarationLanguageWrapper. buildView(FacesContext context, UIViewRoot view)List<String>ViewDeclarationLanguage. calculateResourceLibraryContracts(FacesContext context, String viewId)List<String>ViewDeclarationLanguageWrapper. calculateResourceLibraryContracts(FacesContext context, String viewId)UIComponentViewDeclarationLanguage. createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)UIComponentViewDeclarationLanguageWrapper. createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)abstract UIViewRootViewMetadata. createMetadataView(FacesContext context)abstract UIViewRootViewDeclarationLanguage. createView(FacesContext context, String viewId)UIViewRootViewDeclarationLanguageWrapper. createView(FacesContext context, String viewId)abstract BeanInfoViewDeclarationLanguage. getComponentMetadata(FacesContext context, Resource componentResource)BeanInfoViewDeclarationLanguageWrapper. getComponentMetadata(FacesContext context, Resource componentResource)abstract ResourceViewDeclarationLanguage. getScriptComponentResource(FacesContext context, Resource componentResource)ResourceViewDeclarationLanguageWrapper. getScriptComponentResource(FacesContext context, Resource componentResource)abstract StateManagementStrategyViewDeclarationLanguage. getStateManagementStrategy(FacesContext context, String viewId)StateManagementStrategyViewDeclarationLanguageWrapper. getStateManagementStrategy(FacesContext context, String viewId)abstract ViewMetadataViewDeclarationLanguage. getViewMetadata(FacesContext context, String viewId)ViewMetadataViewDeclarationLanguageWrapper. 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 voidViewDeclarationLanguage. renderView(FacesContext context, UIViewRoot view)voidViewDeclarationLanguageWrapper. renderView(FacesContext context, UIViewRoot view)abstract UIViewRootStateManagementStrategy. restoreView(FacesContext context, String viewId, String renderKitId)abstract UIViewRootViewDeclarationLanguage. restoreView(FacesContext context, String viewId)UIViewRootViewDeclarationLanguageWrapper. restoreView(FacesContext context, String viewId)voidViewDeclarationLanguage. retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)voidViewDeclarationLanguageWrapper. retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)voidViewDeclarationLanguage. retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)voidViewDeclarationLanguageWrapper. retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)abstract ObjectStateManagementStrategy. saveView(FacesContext context)booleanViewDeclarationLanguage. viewExists(FacesContext facesContext, String viewId)booleanViewDeclarationLanguageWrapper. viewExists(FacesContext facesContext, String viewId) -
Uses of FacesContext in jakarta.faces.view.facelets
Methods in jakarta.faces.view.facelets that return FacesContext Modifier and Type Method Description abstract FacesContextFaceletContext. getFacesContext()The current FacesContext bound to this "request"Methods in jakarta.faces.view.facelets with parameters of type FacesContext Modifier and Type Method Description abstract voidFacelet. apply(FacesContext facesContext, UIComponent parent)The passed UIComponent parent will be populated/restored in accordance with the Facelets chapter in the spec prose document.voidFaceletsAttachedObjectHandler. applyAttachedObject(FacesContext context, UIComponent parent)Take the argumentparentand apply this attachedobjectto it.voidFacelet. 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:metadatatag. -
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 voidMessageUtils. addErrorMessage(FacesContext facesContext, UIComponent component, String messageId)static voidMessageUtils. addErrorMessage(FacesContext facesContext, UIComponent component, String messageId, Object[] args)static voidMessageUtils. addErrorMessage(FacesContext facesContext, UIComponent component, Throwable cause)static voidComponentUtils. callValidators(FacesContext context, UIInput input, Object convertedValue)static List<SelectItem>SelectItemsUtil. collectSelectItems(FacesContext context, UIComponent component)static <S extends SelectItem>
voidSelectItemsUtil. createSelectItems(FacesContext context, UISelectItems component, Object values, Supplier<S> supplier, Consumer<S> callback)static <T> TVarUtils. executeInScope(FacesContext context, String var, Object value, Supplier<T> callback)static ConverterSharedRendererUtils. findUIOutputConverter(FacesContext facesContext, UIOutput component)static Class<?>SharedRendererUtils. getClassFromAttribute(FacesContext facesContext, Object attribute)Gets a Class object from a given component attribute.static StringSharedRendererUtils. getConvertedStringValue(FacesContext context, UIComponent component, Converter converter, SelectItem selectItem)Convenient utility method that returns the currently given SelectItem value as String, using the given converter.static StringSharedRendererUtils. getConvertedStringValue(FacesContext context, UIComponent component, Converter converter, Object value)Convenient utility method that returns the currently given value as String, using the given converter.static ObjectSharedRendererUtils. getConvertedUISelectManyValue(FacesContext facesContext, UISelectMany component, String[] submittedValue)static ObjectSharedRendererUtils. getConvertedUISelectManyValue(FacesContext facesContext, UISelectMany component, String[] submittedValue, boolean considerValueType)Gets the converted value of a UISelectMany component.static FacesMessageMessageUtils. getErrorMessage(FacesContext facesContext, String messageId, Object[] args)static ObjectMessageUtils. getLabel(FacesContext facesContext, UIComponent component)static FacesMessageMessageUtils. getMessage(FacesContext facesContext, Locale locale, FacesMessage.Severity severity, String messageId, Object[] args)static ConverterSharedRendererUtils. 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 ConverterSharedRendererUtils. getValueTypeConverter(FacesContext facesContext, UISelectMany component)Uses the valueType attribute of the given UISelectMany component to get a by-type converter.voidResetValuesUtils.ResetInputContextCallback. invokeContextCallback(FacesContext fc, UIComponent component)Invokes the context callback on the given component.static booleanSelectItemsUtil. isNoSelectionOption(FacesContext context, UIComponent uiComponent, Object value, Iterator<SelectItem> iterator, Converter converter)static booleanComponentUtils. isRendered(FacesContext facesContext, UIComponent uiComponent)CallUIComponent.pushComponentToEL(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent), reads the isRendered property, callUIComponent.popComponentFromEL(jakarta.faces.context.FacesContext)and returns the value of isRendered.static booleanSelectItemsUtil. matchValue(FacesContext context, UIComponent uiComponent, Object value, Iterator<SelectItem> iterator, Converter converter)static voidResetValuesUtils. resetValues(FacesContext context, UIViewRoot viewRoot, Collection<String> clientIds)static voidResetValuesUtils. resetValues(FacesContext context, UIViewRoot viewRoot, Collection<String> clientIds, Set<VisitHint> visitHints)static jakarta.el.ValueReferenceValueReferenceResolver. resolve(jakarta.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(jakarta.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 ObjectClassUtils. convertToTypeNoLogging(FacesContext facesContext, Object value, Class<?> desiredClass)static StringBuilderSharedStringBuilder. get(FacesContext facesContext, String stringBuilderKey)static StringBuilderSharedStringBuilder. get(FacesContext facesContext, String stringBuilderKey, int initialSize)static StringBuilderSharedStringBuilder. get(FacesContext facesContext, String stringBuilderKey, String initialText)
-