| Modifier and Type | Method and Description |
|---|---|
protected void |
PropertyEditorHelper.addConversionErrorMessage(FacesContext context,
UIComponent component,
ConverterException ce)
Add a conversion error message in the case of a PropertyEditor based conversion error.
|
Locale |
ViewHandlerImpl.calculateLocale(FacesContext context)
Deprecated.
|
String |
ViewHandlerImpl.calculateRenderKitId(FacesContext context)
Deprecated.
|
UIComponent |
ApplicationImpl.createComponent(FacesContext context,
Resource componentResource) |
UIComponent |
ApplicationImpl.createComponent(FacesContext context,
String componentType,
String rendererType) |
UIComponent |
ApplicationImpl.createComponent(ValueBinding componentBinding,
FacesContext context,
String componentType) |
UIComponent |
ApplicationImpl.createComponent(jakarta.el.ValueExpression componentExpression,
FacesContext context,
String componentType) |
UIComponent |
ApplicationImpl.createComponent(jakarta.el.ValueExpression componentExpression,
FacesContext context,
String componentType,
String rendererType) |
protected DefaultFaceletFactory |
ApplicationAssociate.createFaceletFactory(FacesContext ctx,
Compiler compiler,
WebConfiguration webConfig) |
UIViewRoot |
ViewHandlerImpl.createView(FacesContext context,
String viewId)
Deprecated.
|
<T> T |
ApplicationImpl.evaluateExpressionGet(FacesContext context,
String expression,
Class<? extends T> expectedType) |
protected Locale |
ViewHandlerImpl.findMatch(FacesContext context,
Locale pref)
Deprecated.
Attempts to find a matching locale based on
pref and list of supported locales, using the matching
algorithm as described in JSTL 8.3.2. |
String |
ViewHandlerImpl.getActionURL(FacesContext context,
String viewId)
Deprecated.
|
NavigationCase |
NavigationHandlerImpl.getNavigationCase(FacesContext context,
String fromAction,
String outcome) |
NavigationCase |
NavigationHandlerImpl.getNavigationCase(FacesContext context,
String fromAction,
String outcome,
String toFlowDocumentId) |
ResourceBundle |
ApplicationAssociate.getResourceBundle(FacesContext context,
String var) |
ResourceBundle |
ApplicationImpl.getResourceBundle(FacesContext context,
String var) |
String |
ViewHandlerImpl.getResourceURL(FacesContext context,
String path)
Deprecated.
|
Class |
ValueBindingValueExpressionAdapter.getType(FacesContext context) |
Class<?> |
MethodBindingMethodExpressionAdapter.getType(FacesContext context) |
Object |
ValueBindingValueExpressionAdapter.getValue(FacesContext context) |
String |
ViewHandlerImpl.getWebsocketURL(FacesContext context,
String channel)
Deprecated.
|
void |
NavigationHandlerImpl.handleNavigation(FacesContext context,
String fromAction,
String outcome) |
void |
NavigationHandlerImpl.handleNavigation(FacesContext context,
String fromAction,
String outcome,
String toFlowDocumentId) |
void |
ViewHandlerImpl.initView(FacesContext context)
Deprecated.
Do not call the default implementation of
ViewHandler.initView(jakarta.faces.context.FacesContext) if the
ExternalContext.getRequestCharacterEncoding() returns a non-null result. |
void |
NavigationHandlerImpl.inspectFlow(FacesContext context,
Flow flow) |
Object |
MethodBindingMethodExpressionAdapter.invoke(FacesContext context,
Object[] params) |
boolean |
ValueBindingValueExpressionAdapter.isReadOnly(FacesContext context) |
static boolean |
NavigationHandlerImpl.isResetFlowHandlerState(FacesContext facesContext) |
void |
ApplicationImpl.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Class<?> sourceBaseType,
Object source) |
void |
ApplicationImpl.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Object source) |
void |
ViewHandlerImpl.renderView(FacesContext context,
UIViewRoot viewToRender)
Deprecated.
|
void |
MethodExpressionMethodBindingAdapter.restoreState(FacesContext context,
Object state) |
void |
ValueExpressionValueBindingAdapter.restoreState(FacesContext context,
Object state) |
void |
ValueBindingValueExpressionAdapter.restoreState(FacesContext context,
Object state) |
void |
MethodBindingMethodExpressionAdapter.restoreState(FacesContext context,
Object state) |
UIViewRoot |
ViewHandlerImpl.restoreView(FacesContext context,
String viewId)
Deprecated.
|
UIViewRoot |
StateManagerImpl.restoreView(FacesContext context,
String viewId,
String renderKitId)
Restores the view.
|
Object |
MethodExpressionMethodBindingAdapter.saveState(FacesContext context) |
Object |
ValueExpressionValueBindingAdapter.saveState(FacesContext context) |
Object |
ValueBindingValueExpressionAdapter.saveState(FacesContext context) |
Object |
MethodBindingMethodExpressionAdapter.saveState(FacesContext context) |
Object |
StateManagerImpl.saveView(FacesContext context)
Save the view.
|
static void |
NavigationHandlerImpl.setResetFlowHandlerStateIfUnset(FacesContext facesContext,
boolean resetFlowHandlerState) |
void |
ValueBindingValueExpressionAdapter.setValue(FacesContext context,
Object value) |
static void |
NavigationHandlerImpl.unsetResetFlowHandlerState(FacesContext facesContext) |
void |
ViewHandlerImpl.writeState(FacesContext context)
Deprecated.
|
void |
StateManagerImpl.writeState(FacesContext context,
Object state)
Write out the state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationManager.applyBehaviorAnnotations(FacesContext ctx,
Behavior b)
Apply annotations relevant to
Behavior instances. |
void |
AnnotationManager.applyClientBehaviorRendererAnnotations(FacesContext ctx,
ClientBehaviorRenderer b)
Apply annotations relevant to
ClientBehaviorRenderer instances. |
void |
AnnotationManager.applyComponentAnnotations(FacesContext ctx,
UIComponent c)
Apply annotations relevant to
UIComponent instances. |
void |
AnnotationManager.applyConfigAnnotations(FacesContext ctx,
Class<? extends Annotation> annotationType,
Set<? extends Class> annotatedClasses)
Apply the configuration metadata contained with in the
Collection of annotated classes. |
void |
AnnotationManager.applyConverterAnnotations(FacesContext ctx,
Converter c)
Apply annotations relevant to
Converter instances. |
void |
AnnotationManager.applyRendererAnnotations(FacesContext ctx,
Renderer r,
UIComponent c)
Apply annotations relevent to
Renderer instances. |
void |
AnnotationManager.applySystemEventAnnotations(FacesContext ctx,
SystemEvent e) |
void |
AnnotationManager.applyValidatorAnnotations(FacesContext ctx,
Validator v)
Apply annotations relevant to
Validator instances. |
protected void |
JndiHandler.invokeMethod(FacesContext facesContext,
Method method,
Object instance,
Object value)
Invoke the method.
|
Object |
JndiHandler.lookup(FacesContext facesContext,
String name)
Look up the given object using its JNDI name.
|
void |
RenderKitConfigHandler.push(FacesContext ctx) |
void |
NamedEventConfigHandler.push(FacesContext ctx) |
void |
ConfigAnnotationHandler.push(FacesContext ctx)
Push |
void |
ComponentConfigHandler.push(FacesContext ctx) |
void |
BehaviorConfigHandler.push(FacesContext ctx) |
void |
ValidatorConfigHandler.push(FacesContext ctx) |
void |
ManagedBeanConfigHandler.push(FacesContext ctx) |
void |
ConverterConfigHandler.push(FacesContext ctx) |
void |
JndiHandler.setField(FacesContext facesContext,
Field field,
Object instance,
Object value)
Set the field.
|
| Modifier and Type | Method and Description |
|---|---|
UIComponent |
InstanceFactory.createComponent(FacesContext context,
Resource componentResource,
jakarta.el.ExpressionFactory expressionFactory) |
UIComponent |
InstanceFactory.createComponent(FacesContext context,
String componentType,
String rendererType) |
UIComponent |
InstanceFactory.createComponent(ValueBinding componentBinding,
FacesContext context,
String componentType) |
UIComponent |
InstanceFactory.createComponent(jakarta.el.ValueExpression componentExpression,
FacesContext context,
String componentType) |
UIComponent |
InstanceFactory.createComponent(jakarta.el.ValueExpression componentExpression,
FacesContext context,
String componentType,
String rendererType) |
<T> T |
ExpressionLanguage.evaluateExpressionGet(FacesContext context,
String expression,
Class<? extends T> expectedType) |
ResourceBundle |
Singletons.getResourceBundle(FacesContext context,
String var) |
void |
Events.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Class<?> sourceBaseType,
Object source,
ProjectStage projectStage) |
void |
Events.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Object source,
ProjectStage projectStage) |
| Modifier and Type | Method and Description |
|---|---|
void |
ReentrantLisneterInvocationGuard.clearGuard(FacesContext ctx,
Class<? extends SystemEvent> systemEventClass) |
boolean |
ReentrantLisneterInvocationGuard.isGuardSet(FacesContext ctx,
Class<? extends SystemEvent> systemEventClass) |
void |
ReentrantLisneterInvocationGuard.setGuard(FacesContext ctx,
Class<? extends SystemEvent> systemEventClass) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ResourceHelper.clientAcceptsCompression(FacesContext ctx)
This method attempt to verify that the user agent can accept a gzip encoded response by interrogating the
Accept-Encoding requester header. |
Resource |
ResourceHandlerImpl.createViewResource(FacesContext facesContext,
String resourceName) |
LibraryInfo |
ClasspathResourceHelper.findLibrary(String libraryName,
String localePrefix,
String contract,
FacesContext ctx) |
LibraryInfo |
WebappResourceHelper.findLibrary(String libraryName,
String localePrefix,
String contract,
FacesContext ctx) |
abstract LibraryInfo |
ResourceHelper.findLibrary(String libraryName,
String localePrefix,
String contract,
FacesContext ctx)
Search for the specified library/localPrefix combination in an implementation dependent manner.
|
LibraryInfo |
FaceletWebappResourceHelper.findLibrary(String libraryName,
String localePrefix,
String contract,
FacesContext ctx) |
LibraryInfo |
ClasspathResourceHelper.findLibraryWithZipDirectoryEntryScan(String libraryName,
String localePrefix,
String contract,
FacesContext ctx,
boolean forceScan) |
ResourceInfo |
ClasspathResourceHelper.findResource(LibraryInfo library,
String resourceName,
String localePrefix,
boolean compressable,
FacesContext ctx) |
ResourceInfo |
WebappResourceHelper.findResource(LibraryInfo library,
String resourceName,
String localePrefix,
boolean compressable,
FacesContext ctx) |
abstract ResourceInfo |
ResourceHelper.findResource(LibraryInfo library,
String resourceName,
String localePrefix,
boolean compressable,
FacesContext ctx)
Search for the specified resource based in the library/localePrefix/resourceName combination in an implementation
dependent manner.
|
ResourceInfo |
FaceletWebappResourceHelper.findResource(LibraryInfo library,
String resourceName,
String localePrefix,
boolean compressable,
FacesContext ctx) |
ResourceInfo |
ResourceManager.findResource(String libraryName,
String resourceName,
String contentType,
boolean isViewResource,
FacesContext ctx) |
ResourceInfo |
ResourceManager.findResource(String libraryName,
String resourceName,
String contentType,
FacesContext ctx)
Attempt to lookup a
ResourceInfo based on the specified libraryName |
ResourceInfo |
ResourceManager.findViewResource(String resourceName,
String contentType,
FacesContext facesContext) |
InputStream |
ResourceHelper.getInputStream(ResourceInfo toStream,
FacesContext ctx)
If the resource is compressable, return an InputStream to read the compressed content, otherwise, call
ResourceHelper.getNonCompressedInputStream(ResourceInfo, jakarta.faces.context.FacesContext) to return the content of the
original resource. |
long |
ClientResourceInfo.getLastModified(FacesContext ctx)
Returns the time this resource was last modified.
|
long |
ResourceHelper.getLastModified(ResourceInfo resource,
FacesContext ctx)
The default implementation of this method will call through to
ResourceHelper.getURL(ResourceInfo, jakarta.faces.context.FacesContext) and leverage the URL to obtain the
date information of the resource and return the value of URLConnection.getLastModified() |
protected InputStream |
ClasspathResourceHelper.getNonCompressedInputStream(ResourceInfo resource,
FacesContext ctx) |
protected InputStream |
WebappResourceHelper.getNonCompressedInputStream(ResourceInfo resource,
FacesContext ctx) |
protected abstract InputStream |
ResourceHelper.getNonCompressedInputStream(ResourceInfo info,
FacesContext ctx)
If a
ResourceInfo is not compressable,
ResourceHelper.getInputStream(ResourceInfo, jakarta.faces.context.FacesContext) will call this method to return a stream to
the actual resource. |
protected InputStream |
FaceletWebappResourceHelper.getNonCompressedInputStream(ResourceInfo info,
FacesContext ctx) |
URL |
ClasspathResourceHelper.getURL(ResourceInfo resource,
FacesContext ctx) |
URL |
WebappResourceHelper.getURL(ResourceInfo resource,
FacesContext ctx) |
abstract URL |
ResourceHelper.getURL(ResourceInfo resource,
FacesContext ctx) |
URL |
FaceletWebappResourceHelper.getURL(ResourceInfo resource,
FacesContext ctx) |
Stream<String> |
ResourceManager.getViewResources(FacesContext facesContext,
String path,
int maxDepth,
ResourceVisitOption... options) |
Stream<String> |
ResourceHandlerImpl.getViewResources(FacesContext facesContext,
String path,
int maxDepth,
ResourceVisitOption... options) |
Stream<String> |
FaceletWebappResourceHelper.getViewResources(FacesContext facesContext,
String path,
int maxDepth,
ResourceVisitOption... options) |
Stream<String> |
ResourceHandlerImpl.getViewResources(FacesContext facesContext,
String path,
ResourceVisitOption... options) |
void |
ResourceHandlerImpl.handleResourceRequest(FacesContext context) |
boolean |
ResourceHandlerImpl.isResourceRequest(FacesContext context) |
protected boolean |
ResourceHelper.resourceSupportsEL(String resourceName,
String libraryName,
FacesContext ctx) |
boolean |
ResourceImpl.userAgentNeedsUpdate(FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
MultiViewHandler.addViewParameters(FacesContext ctx,
String viewId,
Map<String,List<String>> existingParameters) |
void |
FaceletViewHandlingStrategy.buildView(FacesContext ctx,
UIViewRoot view) |
void |
JspViewHandlingStrategy.buildView(FacesContext context,
UIViewRoot view) |
Locale |
MultiViewHandler.calculateLocale(FacesContext context)
This code is currently common to all
ViewHandlingStrategy instances. |
String |
MultiViewHandler.calculateRenderKitId(FacesContext context)
This code is currently common to all
ViewHandlingStrategy instances. |
List<String> |
FaceletViewHandlingStrategy.calculateResourceLibraryContracts(FacesContext context,
String viewId) |
void |
ViewScopeContextManager.clear(FacesContext facesContext)
Clear the current view map using the Faces context.
|
void |
ViewScopeManager.clear(FacesContext facesContext)
Clear the current view map using the Faces context.
|
void |
ViewScopeContextManager.clear(FacesContext facesContext,
Map<String,Object> viewMap)
Clear the given view map.
|
void |
ViewScopeManager.clear(FacesContext facesContext,
Map<String,Object> viewMap)
Clear the given view map.
|
protected String |
MultiViewHandler.convertViewId(FacesContext context,
String viewId)
Adjust the viewID per the requirements of
MultiViewHandler.renderView(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot). |
<T> T |
ViewScopeContextManager.createBean(FacesContext facesContext,
jakarta.enterprise.context.spi.Contextual<T> contextual,
jakarta.enterprise.context.spi.CreationalContext<T> creational)
Create the bean.
|
UIComponent |
FaceletViewHandlingStrategy.createComponent(FacesContext context,
String taglibURI,
String tagName,
Map<String,Object> attributes) |
BeanInfo |
FaceletViewHandlingStrategy.createComponentMetadata(FacesContext context,
Resource ccResource) |
UIViewRoot |
ViewMetadataImpl.createMetadataView(FacesContext context) |
protected ResponseWriter |
FaceletViewHandlingStrategy.createResponseWriter(FacesContext context) |
UIViewRoot |
ViewHandlingStrategy.createView(FacesContext ctx,
String viewId) |
UIViewRoot |
FaceletViewHandlingStrategy.createView(FacesContext ctx,
String viewId) |
UIViewRoot |
MultiViewHandler.createView(FacesContext context,
String viewId)
Derive the physical view ID (i.e.
|
String |
MultiViewHandler.deriveLogicalViewId(FacesContext context,
String requestViewId) |
protected String |
MultiViewHandler.derivePhysicalViewId(FacesContext ctx,
String requestViewId,
boolean checkPhysical) |
String |
MultiViewHandler.deriveViewId(FacesContext context,
String requestViewId) |
void |
ViewScopeManager.destroyBeans(FacesContext facesContext,
Map<String,Object> viewMap)
Destroy the managed beans from the given view map.
|
protected Locale |
MultiViewHandler.findMatch(FacesContext context,
Locale pref)
Attempts to find a matching locale based on
pref and list of supported locales, using the matching
algorithm as described in JSTL 8.3.2. |
void |
ViewScopeContextManager.fireDestroyedEvent(FacesContext facesContext,
UIViewRoot root) |
void |
ViewScopeContextManager.fireInitializedEvent(FacesContext facesContext,
UIViewRoot root) |
String |
MultiViewHandler.getActionURL(FacesContext context,
String viewId)
This code is currently common to all
ViewHandlingStrategy instances. |
<T> T |
ViewScopeContextManager.getBean(FacesContext facesContext,
jakarta.enterprise.context.spi.Contextual<T> contextual)
Get the value from the view map (or null if not found).
|
String |
MultiViewHandler.getBookmarkableURL(FacesContext context,
String viewId,
Map<String,List<String>> parameters,
boolean includeViewParams) |
BeanInfo |
FaceletViewHandlingStrategy.getComponentMetadata(FacesContext context,
Resource ccResource)
Called by Application._createComponent(Resource).
|
BeanInfo |
JspViewHandlingStrategy.getComponentMetadata(FacesContext context,
Resource componentResource)
Not supported in JSP-based views.
|
protected Map<String,List<String>> |
MultiViewHandler.getFullParameterList(FacesContext ctx,
String viewId,
Map<String,List<String>> existingParameters) |
static ViewScopeManager |
ViewScopeManager.getInstance(FacesContext facesContext)
Get our instance.
|
String |
MultiViewHandler.getRedirectURL(FacesContext context,
String viewId,
Map<String,List<String>> parameters,
boolean includeViewParams) |
String |
MultiViewHandler.getResourceURL(FacesContext context,
String path)
This code is currently common to all
ViewHandlingStrategy instances. |
protected String |
FaceletViewHandlingStrategy.getResponseContentType(FacesContext context,
String orig) |
protected String |
FaceletViewHandlingStrategy.getResponseEncoding(FacesContext context,
String orig) |
Resource |
FaceletViewHandlingStrategy.getScriptComponentResource(FacesContext context,
Resource componentResource) |
Resource |
JspViewHandlingStrategy.getScriptComponentResource(FacesContext context,
Resource componentResource)
Not supported in JSP-based views.
|
StateManagementStrategy |
FaceletViewHandlingStrategy.getStateManagementStrategy(FacesContext context,
String viewId) |
StateManagementStrategy |
JspViewHandlingStrategy.getStateManagementStrategy(FacesContext context,
String viewId) |
ViewDeclarationLanguage |
MultiViewHandler.getViewDeclarationLanguage(FacesContext context,
String viewId) |
ViewMetadata |
FaceletViewHandlingStrategy.getViewMetadata(FacesContext context,
String viewId) |
ViewMetadata |
JspViewHandlingStrategy.getViewMetadata(FacesContext context,
String viewId)
Not supported in JSP-based views.
|
Stream<String> |
FaceletViewHandlingStrategy.getViews(FacesContext context,
String path,
int maxDepth,
ViewVisitOption... options) |
Stream<String> |
MultiViewHandler.getViews(FacesContext context,
String path,
int maxDepth,
ViewVisitOption... options) |
Stream<String> |
JspViewHandlingStrategy.getViews(FacesContext context,
String path,
int maxDepth,
ViewVisitOption... options)
Not supported in JSP-based views.
|
Stream<String> |
FaceletViewHandlingStrategy.getViews(FacesContext context,
String path,
ViewVisitOption... options) |
Stream<String> |
MultiViewHandler.getViews(FacesContext context,
String path,
ViewVisitOption... options) |
Stream<String> |
JspViewHandlingStrategy.getViews(FacesContext context,
String path,
ViewVisitOption... options)
Not supported in JSP-based views.
|
String |
MultiViewHandler.getWebsocketURL(FacesContext context,
String channel) |
protected void |
FaceletViewHandlingStrategy.handleFaceletNotFound(FacesContext context,
String viewId,
String message)
Handles the case where a Facelet cannot be found.
|
protected void |
FaceletViewHandlingStrategy.handleRenderException(FacesContext context,
Exception e)
Handles the case where rendering throws an Exception.
|
void |
MultiViewHandler.initView(FacesContext context)
Call the default implementation of
ViewHandler.initView(jakarta.faces.context.FacesContext) |
static boolean |
FaceletViewHandlingStrategy.isBuildingMetadata(FacesContext context) |
void |
FaceletViewHandlingStrategy.renderView(FacesContext ctx,
UIViewRoot viewToRender) |
void |
MultiViewHandler.renderView(FacesContext context,
UIViewRoot viewToRender)
Call
ViewDeclarationLanguage.renderView(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot) if
the view can be rendered. |
void |
JspViewHandlingStrategy.renderView(FacesContext context,
UIViewRoot view) |
UIViewRoot |
ViewHandlingStrategy.restoreView(FacesContext ctx,
String viewId) |
UIViewRoot |
FaceletViewHandlingStrategy.restoreView(FacesContext context,
String viewId)
If
UIDebug.debugRequest(jakarta.faces.context.FacesContext)} is true, simply return a new
UIViewRoot(), otherwise, call the default logic. |
UIViewRoot |
MultiViewHandler.restoreView(FacesContext context,
String viewId)
|
UIViewRoot |
FaceletFullStateManagementStrategy.restoreView(FacesContext context,
String viewId,
String renderKitId)
Restore the view.
|
UIViewRoot |
JspStateManagementStrategy.restoreView(FacesContext context,
String viewId,
String renderKitId)
Restore the view.
|
UIViewRoot |
FaceletPartialStateManagementStrategy.restoreView(FacesContext context,
String viewId,
String renderKitId)
Restore the view.
|
void |
FaceletViewHandlingStrategy.retargetAttachedObjects(FacesContext context,
UIComponent topLevelComponent,
List<AttachedObjectHandler> handlers) |
void |
FaceletViewHandlingStrategy.retargetMethodExpressions(FacesContext context,
UIComponent topLevelComponent) |
Object |
FaceletFullStateManagementStrategy.saveView(FacesContext context)
Save the view.
|
Object |
JspStateManagementStrategy.saveView(FacesContext context)
Save the view.
|
Object |
FaceletPartialStateManagementStrategy.saveView(FacesContext context)
Save the view.
|
protected void |
MultiViewHandler.send404Error(FacesContext context)
Send
HttpServletResponse.SC_NOT_FOUND (404) to the client. |
boolean |
FaceletViewHandlingStrategy.viewExists(FacesContext context,
String viewId) |
void |
MultiViewHandler.writeState(FacesContext context)
This code is currently common to all
ViewHandlingStrategy instances. |
| Constructor and Description |
|---|
FaceletFullStateManagementStrategy(FacesContext context)
Constructor.
|
FaceletPartialStateManagementStrategy(FacesContext context)
Constructor.
|
JspStateManagementStrategy(FacesContext context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
CdiConverter.getAsObject(FacesContext facesContext,
UIComponent component,
String value)
Get the object.
|
String |
CdiConverter.getAsString(FacesContext facesContext,
UIComponent component,
Object value)
Get the string representation.
|
void |
CdiValidator.restoreState(FacesContext facesContext,
Object state)
Restore the state.
|
void |
CdiConverter.restoreState(FacesContext facesContext,
Object state)
Restore the state.
|
Object |
CdiValidator.saveState(FacesContext facesContext)
Save the state.
|
Object |
CdiConverter.saveState(FacesContext facesContext)
Save the state.
|
void |
CdiValidator.validate(FacesContext facesContext,
UIComponent component,
Object value)
Validate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentResourceContainer.encodeAll(FacesContext context)
Take no action to prevent component resources from inadvertantly being rendered.
|
UIComponent |
CompositeComponentStackManager.findCompositeComponentUsingLocation(FacesContext ctx,
Location location) |
static CompositeComponentStackManager |
CompositeComponentStackManager.getManager(FacesContext ctx) |
UIComponent |
CompositeComponentStackManager.getParentCompositeComponent(CompositeComponentStackManager.StackType stackType,
FacesContext ctx,
UIComponent forComponent) |
| Modifier and Type | Method and Description |
|---|---|
void |
AjaxBehaviors.BehaviorInfo.addBehavior(FacesContext context,
ClientBehaviorHolder behaviorHolder) |
void |
AjaxBehaviors.addBehaviors(FacesContext context,
ClientBehaviorHolder behaviorHolder) |
static AjaxBehaviors |
AjaxBehaviors.getAjaxBehaviors(FacesContext context,
boolean createIfNull) |
void |
AjaxBehaviors.pushBehavior(FacesContext context,
AjaxBehavior ajaxBehavior,
String eventName)
Push the
AjaxBehavior instance onto the List. |
| Constructor and Description |
|---|
BehaviorInfo(FacesContext context,
AjaxBehavior ajaxBehavior,
String eventName) |
| Modifier and Type | Method and Description |
|---|---|
FacesContext |
SearchExpressionContextImpl.getFacesContext() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
SearchExpressionHandlerImpl.extractFirstCommand(FacesContext facesContext,
String expression)
Extract the first command from the expression.
|
SearchExpressionContext |
SearchExpressionContextFactoryImpl.getSearchExpressionContext(FacesContext context,
UIComponent source,
Set<SearchExpressionHint> expressionHints,
Set<VisitHint> visitHints) |
String[] |
SearchExpressionHandlerImpl.splitExpressions(FacesContext context,
String expressions) |
| Constructor and Description |
|---|
SearchExpressionContextImpl(FacesContext facesContext) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ComponentValidators.addDefaultValidatorsToComponent(FacesContext ctx,
EditableValueHolder editableValueHolder)
Creates and installs default validators, if any, into the argument
EditableValueHolder. |
void |
ComponentValidators.addValidators(FacesContext ctx,
EditableValueHolder editableValueHolder)
Based on the
ValidatorInfo instances present on the stack, configure the argument
EditableValueHolder with Validators created from the available info. |
static ComponentValidators |
ComponentValidators.getValidators(FacesContext context,
boolean createIfNull) |
| Modifier and Type | Method and Description |
|---|---|
FacesContext |
PartialVisitContext.getFacesContext() |
FacesContext |
FullVisitContext.getFacesContext() |
| Modifier and Type | Method and Description |
|---|---|
VisitContext |
VisitContextFactoryImpl.getVisitContext(FacesContext context,
Collection<String> ids,
Set<VisitHint> hints) |
| Constructor and Description |
|---|
FullVisitContext(FacesContext facesContext)
Creates a FullVisitorContext instance.
|
FullVisitContext(FacesContext facesContext,
Set<VisitHint> hints)
Creates a FullVisitorContext instance with the specified hints.
|
PartialVisitContext(FacesContext facesContext,
Collection<String> clientIds)
Creates a PartialVisitorContext instance.
|
PartialVisitContext(FacesContext facesContext,
Collection<String> clientIds,
Set<VisitHint> hints)
Creates a PartialVisitorContext instance with the specified hints.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InitFacesContext
A special, minimal implementation of FacesContext used at application initialization time.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigManager.destroy(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext)
This method will remove any information about the application.
|
static Map<Class<? extends Annotation>,Set<Class<?>>> |
ConfigManager.getAnnotatedClasses(FacesContext ctx) |
static FaceletsConfiguration |
FaceletsConfiguration.getInstance(FacesContext context) |
boolean |
FaceletsConfiguration.isEscapeInlineText(FacesContext context) |
| Modifier and Type | Class and Description |
|---|---|
class |
NoOpFacesContext |
| Modifier and Type | Method and Description |
|---|---|
void |
NoOpFlash.doPostPhaseActions(FacesContext ctx) |
void |
NoOpFlash.doPrePhaseActions(FacesContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
AbstractConfigProcessor.createInstance(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
String className,
Class<?> rootType,
Object root,
Node source) |
protected Object |
AbstractConfigProcessor.createInstance(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
String className,
Class<?> rootType,
Object root,
Node source,
boolean performInjection,
boolean[] didPerformInjection) |
protected Object |
AbstractConfigProcessor.createInstance(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
String className,
Node source) |
void |
ApplicationConfigProcessor.destroy(jakarta.servlet.ServletContext sc,
FacesContext facesContext) |
void |
LifecycleConfigProcessor.destroy(jakarta.servlet.ServletContext sc,
FacesContext facesContext) |
void |
ConfigProcessor.destroy(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext) |
void |
AbstractConfigProcessor.destroy(jakarta.servlet.ServletContext sc,
FacesContext facesContext) |
protected void |
AbstractConfigProcessor.destroyInstance(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
String className,
Object instance) |
protected Class<?> |
AbstractConfigProcessor.findRootType(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
String source,
Node sourceNode,
Class<?>[] ctorArguments) |
void |
ConfigProcessor.initializeClassMetadataMap(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext)
Called to initialize the per-application metadata used by the ConfigProcessor
|
void |
AbstractConfigProcessor.initializeClassMetadataMap(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext) |
protected Class<?> |
AbstractConfigProcessor.loadClass(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
String className,
Object fallback,
Class<?> expectedType) |
void |
RenderKitConfigProcessor.process(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
ProtectedViewsConfigProcessor.process(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
ManagedBeanConfigProcessor.process(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
FacesFlowDefinitionConfigProcessor.process(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
FacesConfigExtensionProcessor.process(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
ConverterConfigProcessor.process(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
ApplicationConfigProcessor.process(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
ValidatorConfigProcessor.process(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
ResourceLibraryContractsConfigProcessor.process(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext,
DocumentInfo[] documentInfos)
Process the configuration documents.
|
void |
NavigationConfigProcessor.process(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
LifecycleConfigProcessor.process(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
FactoryConfigProcessor.process(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
FaceletTaglibConfigProcessor.process(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
ConfigProcessor.process(jakarta.servlet.ServletContext servletContext,
FacesContext facesContext,
DocumentInfo[] documentInfos)
Process the array of
Documents. |
void |
ComponentConfigProcessor.process(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
void |
BehaviorConfigProcessor.process(jakarta.servlet.ServletContext sc,
FacesContext facesContext,
DocumentInfo[] documentInfos) |
protected void |
AbstractConfigProcessor.processAnnotations(FacesContext ctx,
Class<? extends Annotation> annotationType) |
| Modifier and Type | Class and Description |
|---|---|
class |
FacesContextImpl |
| Modifier and Type | Method and Description |
|---|---|
static FacesContext |
FacesContextImpl.getDefaultFacesContext() |
FacesContext |
InjectionFacesContextFactory.getFacesContext(Object context,
Object request,
Object response,
Lifecycle lifecycle) |
FacesContext |
FacesContextFactoryImpl.getFacesContext(Object sc,
Object request,
Object response,
Lifecycle lifecycle) |
| Modifier and Type | Method and Description |
|---|---|
PartialViewContext |
PartialViewContextFactoryImpl.getPartialViewContext(FacesContext context) |
static StateContext |
StateContext.getStateContext(FacesContext ctx) |
protected void |
StateContext.NoopAddRemoveListener.handleAdd(FacesContext context,
UIComponent component) |
protected void |
StateContext.StatelessAddRemoveListener.handleAdd(FacesContext context,
UIComponent component) |
protected void |
StateContext.DynamicAddRemoveListener.handleAdd(FacesContext context,
UIComponent component)
Handle the add.
|
protected void |
StateContext.NoopAddRemoveListener.handleRemove(FacesContext context,
UIComponent component) |
protected void |
StateContext.StatelessAddRemoveListener.handleRemove(FacesContext context,
UIComponent component) |
protected void |
StateContext.DynamicAddRemoveListener.handleRemove(FacesContext context,
UIComponent component)
Handle the remove.
|
boolean |
StateContext.isPartialStateSaving(FacesContext ctx,
String viewId) |
static void |
StateContext.release(FacesContext facesContext)
Release the state context.
|
void |
StateContext.startTrackViewModifications(FacesContext ctx,
UIViewRoot root)
Installs a
SystemEventListener on the UIViewRoot to track components added to or removed
from the view. |
| Constructor and Description |
|---|
DynamicAddRemoveListener(FacesContext context)
Constructor.
|
NoopAddRemoveListener(FacesContext context) |
PartialViewContextImpl(FacesContext ctx) |
StatelessAddRemoveListener(FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
ELFlash.doLastPhaseActions(FacesContext context,
boolean outgoingResponseIsRedirect)
This is the most magic of methods.
|
void |
ELFlash.doPostPhaseActions(FacesContext context) |
void |
ELFlash.doPrePhaseActions(FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
static jakarta.el.ExpressionFactory |
ELUtils.getDefaultExpressionFactory(ApplicationAssociate associate,
FacesContext facesContext) |
static jakarta.el.ExpressionFactory |
ELUtils.getDefaultExpressionFactory(FacesContext facesContext) |
Map<String,Object> |
CompositeComponentAttributesELResolver.getEvalMapFor(UIComponent c,
FacesContext ctx)
Creates (if necessary) and caches an
ExpressionEvalMap instance associated with the owning
UIComponent |
Object |
VariableResolverImpl.resolveVariable(FacesContext context,
String name) |
Object |
ChainAwareVariableResolver.resolveVariable(FacesContext context,
String name)
See the class javadocs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UIValidateWholeBean.encodeBegin(FacesContext context) |
static Object |
MessageFactory.getLabel(FacesContext context,
UIComponent component)
Returns the
label property from the specified component. |
static FacesMessage |
MessageFactory.getMessage(FacesContext context,
String messageId,
FacesMessage.Severity severity,
Object... params) |
static FacesMessage |
MessageFactory.getMessage(FacesContext context,
String messageId,
Object... params)
Creates and returns a FacesMessage for the specified Locale.
|
void |
UIValidateWholeBean.restoreState(FacesContext context,
Object state) |
Object |
UIValidateWholeBean.saveState(FacesContext context) |
void |
UIValidateWholeBean.updateModel(FacesContext context) |
void |
UIValidateWholeBean.validate(FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
FocusHTMLRenderer.encodeEnd(FacesContext context,
UIComponent component) |
| Modifier and Type | Method and Description |
|---|---|
void |
CreditCardValidator.validate(FacesContext context,
UIComponent component,
Object obj)
Validate a String against a regular expression pattern...
|
| Modifier and Type | Method and Description |
|---|---|
protected FacesContext |
UILeaf.getFacesContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
UILeaf.decode(FacesContext faces) |
void |
UILeaf.encodeAll(FacesContext faces) |
void |
UIText.encodeBegin(FacesContext context) |
void |
UILeaf.encodeBegin(FacesContext faces) |
void |
UIInstructions.encodeBegin(FacesContext context) |
void |
UILiteralText.encodeBegin(FacesContext faces) |
void |
UILeaf.encodeChildren(FacesContext faces) |
void |
UILeaf.encodeEnd(FacesContext faces) |
List<FacesMessage> |
CompilationMessageHolderImpl.getNamespacePrefixMessages(FacesContext context,
String prefix) |
List<FacesMessage> |
CompilationMessageHolder.getNamespacePrefixMessages(FacesContext context,
String prefix) |
protected Renderer |
UILeaf.getRenderer(FacesContext faces) |
void |
CompilationMessageHolderImpl.processCompilationMessages(FacesContext context) |
void |
CompilationMessageHolder.processCompilationMessages(FacesContext context) |
void |
UILeaf.processDecodes(FacesContext faces) |
void |
UILeaf.processUpdates(FacesContext faces) |
void |
UILeaf.processValidators(FacesContext faces) |
void |
XMLInstruction.write(FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
RepeatRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
UIRepeat.encodeChildren(FacesContext faces) |
void |
RepeatRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
RepeatRenderer.encodeEnd(FacesContext context,
UIComponent component) |
String |
UIRepeat.getClientId(FacesContext faces) |
boolean |
UIRepeat.invokeOnComponent(FacesContext faces,
String clientId,
ContextCallback callback) |
void |
UIRepeat.process(FacesContext faces,
PhaseId phase) |
void |
UIRepeat.processDecodes(FacesContext faces) |
void |
UIRepeat.processUpdates(FacesContext faces) |
void |
UIRepeat.processValidators(FacesContext faces) |
void |
UIRepeat.restoreState(FacesContext faces,
Object object) |
Object |
UIRepeat.saveState(FacesContext faces) |
| Modifier and Type | Method and Description |
|---|---|
FacesContext |
LegacyELContext.getFacesContext()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Class |
LegacyValueBinding.getType(FacesContext context)
Deprecated.
|
Class |
LegacyMethodBinding.getType(FacesContext context)
Deprecated.
|
Object |
LegacyValueBinding.getValue(FacesContext context)
Deprecated.
|
Object |
LegacyMethodBinding.invoke(FacesContext context,
Object[] params)
Deprecated.
|
boolean |
LegacyValueBinding.isReadOnly(FacesContext context)
Deprecated.
|
void |
LegacyValueBinding.setValue(FacesContext context,
Object value)
Deprecated.
|
| Constructor and Description |
|---|
LegacyELContext(FacesContext faces)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
UIComponent |
DefaultFaceletFactory._createComponent(FacesContext context,
String taglibURI,
String tagName,
Map<String,Object> attributes) |
Facelet |
DefaultFaceletFactory.getFacelet(FacesContext context,
String uri) |
Facelet |
DefaultFaceletFactory.getFacelet(FacesContext context,
URL url)
Create a Facelet from the passed URL.
|
static IdMapper |
IdMapper.getMapper(FacesContext ctx) |
Facelet |
DefaultFaceletFactory.getMetadataFacelet(FacesContext context,
String uri) |
Facelet |
DefaultFaceletFactory.getMetadataFacelet(FacesContext context,
URL url) |
static void |
IdMapper.setMapper(FacesContext ctx,
IdMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
protected FacesContext |
BehaviorHolderWrapper.getFacesContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
BehaviorHolderWrapper.decode(FacesContext context) |
void |
BehaviorHolderWrapper.encodeBegin(FacesContext context) |
void |
BehaviorHolderWrapper.encodeChildren(FacesContext context) |
void |
BehaviorHolderWrapper.encodeEnd(FacesContext context) |
String |
BehaviorHolderWrapper.getClientId(FacesContext context) |
protected Renderer |
BehaviorHolderWrapper.getRenderer(FacesContext context) |
boolean |
BehaviorHolderWrapper.invokeOnComponent(FacesContext context,
String clientId,
ContextCallback callback) |
void |
BehaviorHolderWrapper.processDecodes(FacesContext context) |
void |
BehaviorHolderWrapper.processRestoreState(FacesContext context,
Object state) |
Object |
BehaviorHolderWrapper.processSaveState(FacesContext context) |
void |
BehaviorHolderWrapper.processUpdates(FacesContext context) |
void |
BehaviorHolderWrapper.processValidators(FacesContext context) |
void |
BehaviorHolderWrapper.restoreState(FacesContext context,
Object state) |
Object |
BehaviorHolderWrapper.saveState(FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
ValidatorTagHandlerDelegateImpl.applyAttachedObject(FacesContext context,
UIComponent parent) |
void |
ConverterTagHandlerDelegateImpl.applyAttachedObject(FacesContext context,
UIComponent parent) |
static void |
ComponentSupport.encodeRecursive(FacesContext context,
UIComponent viewToRender) |
static UIComponent |
ComponentSupport.findChildByTagId(FacesContext context,
UIComponent parent,
String id)
By TagId, find Child
|
static UIComponent |
ComponentSupport.findUIInstructionChildByTagId(FacesContext context,
UIComponent parent,
String id) |
UIComponent |
CompositeComponentTagHandler.getCompositeComponent(FacesContext context) |
static Tag |
ComponentSupport.getTagForComponent(FacesContext context,
UIComponent c) |
static boolean |
ComponentSupport.isBuildingNewComponentTree(FacesContext context) |
static boolean |
CompositeComponentTagLibrary.scriptComponentForResourceExists(FacesContext context,
Resource componentResource) |
void |
CompositeComponentTagHandler.setCompositeComponent(FacesContext context,
UIComponent cc) |
static Tag |
ComponentSupport.setTagForComponent(FacesContext context,
UIComponent c,
Tag t) |
static boolean |
ComponentSupport.suppressViewModificationEvents(FacesContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
ValueChangeListenerHandler.applyAttachedObject(FacesContext context,
UIComponent parent) |
void |
SetPropertyActionListenerHandler.applyAttachedObject(FacesContext context,
UIComponent parent) |
void |
AjaxHandler.applyAttachedObject(FacesContext context,
UIComponent parent) |
void |
ActionListenerHandler.applyAttachedObject(FacesContext context,
UIComponent parent) |
void |
ResetValuesHandler.applyAttachedObject(FacesContext context,
UIComponent parent) |
abstract void |
ActionListenerHandlerBase.applyAttachedObject(FacesContext context,
UIComponent parent) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
UIDebug.debugRequest(FacesContext faces) |
void |
UIDebug.encodeBegin(FacesContext facesContext) |
| Modifier and Type | Method and Description |
|---|---|
static void |
DevTools.debugHtml(Writer writer,
FacesContext faces) |
static void |
DevTools.debugHtml(Writer writer,
FacesContext faces,
Throwable e) |
static void |
DevTools.writeVariables(Writer writer,
FacesContext faces) |
| Modifier and Type | Method and Description |
|---|---|
void |
FlowHandlerImpl.addFlow(FacesContext context,
Flow toAdd) |
void |
FlowHandlerImpl.clientWindowTransition(FacesContext context) |
FlowHandler |
FlowHandlerFactoryImpl.createFlowHandler(FacesContext context)
Create the flow handler.
|
int |
FlowHandlerImpl.getAndClearReturnModeDepth(FacesContext context) |
String |
FlowCallNodeImpl.getCalledFlowDocumentId(FacesContext context) |
String |
FlowCallNodeImpl.getCalledFlowId(FacesContext context) |
Boolean |
SwitchCaseImpl.getCondition(FacesContext context) |
Flow |
FlowHandlerImpl.getCurrentFlow(FacesContext context) |
String |
SwitchNodeImpl.getDefaultOutcome(FacesContext context) |
Flow |
FlowHandlerImpl.getFlow(FacesContext context,
String definingDocumentId,
String id) |
String |
ReturnNodeImpl.getFromOutcome(FacesContext context) |
String |
FlowHandlerImpl.getLastDisplayedViewId(FacesContext context) |
void |
FlowImpl.init(FacesContext context) |
boolean |
FlowHandlerImpl.isActive(FacesContext context,
String definingDocumentId,
String id) |
void |
FlowHandlerImpl.popReturnMode(FacesContext context) |
void |
FlowHandlerImpl.pushReturnMode(FacesContext context) |
void |
FlowHandlerImpl.transition(FacesContext context,
Flow sourceFlow,
Flow targetFlow,
FlowCallNode outboundCallNode,
String toViewId) |
| Constructor and Description |
|---|
MethodCallNodeImpl(FacesContext context,
String id,
String methodExpressionString,
String defaultOutcomeString,
List<Parameter> parametersFromConfig) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
MutableNavigationCase.getCondition(FacesContext context) |
String |
MutableNavigationCase.getToViewId(FacesContext context) |
| Constructor and Description |
|---|
FlowBuilderImpl(FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
LifecycleImpl.attachWindow(FacesContext context) |
void |
ClientWindowImpl.decode(FacesContext context) |
void |
RestoreViewPhase.doPhase(FacesContext context,
Lifecycle lifecycle,
ListIterator<PhaseListener> listeners) |
void |
Phase.doPhase(FacesContext context,
Lifecycle lifecycle,
ListIterator<PhaseListener> listeners)
Performs PhaseListener processing and invokes the execute method of the Phase.
|
void |
UpdateModelValuesPhase.execute(FacesContext facesContext) |
void |
RenderResponsePhase.execute(FacesContext facesContext) |
void |
ProcessValidationsPhase.execute(FacesContext facesContext) |
void |
LifecycleImpl.execute(FacesContext context) |
void |
InvokeApplicationPhase.execute(FacesContext facesContext) |
void |
RestoreViewPhase.execute(FacesContext facesContext)
PRECONDITION: the necessary factories have been installed in the ServletContext attr set.
|
abstract void |
Phase.execute(FacesContext context)
Perform all state transitions required by the current phase of the request processing
Lifecycle for a particular request. |
void |
ApplyRequestValuesPhase.execute(FacesContext facesContext) |
ClientWindow |
ClientWindowFactoryImpl.getClientWindow(FacesContext context) |
Map<String,String> |
ClientWindowImpl.getQueryURLParameters(FacesContext context) |
protected void |
Phase.handleAfterPhase(FacesContext context,
ListIterator<PhaseListener> listenersIterator,
PhaseEvent event)
Handle
afterPhase PhaseListener events. |
protected void |
Phase.handleBeforePhase(FacesContext context,
ListIterator<PhaseListener> listenersIterator,
PhaseEvent event)
Handle
beforePhase PhaseListener events. |
protected void |
ELResolverInitPhaseListener.populateFacesELResolverForJsp(FacesContext context)
Populate the FacesCompositeELResolver stack registered with JSP if a request is being processed for the very first
time.
|
protected void |
Phase.queueException(FacesContext ctx,
Throwable t) |
protected void |
Phase.queueException(FacesContext ctx,
Throwable t,
String booleanKey) |
void |
LifecycleImpl.render(FacesContext context) |
| Constructor and Description |
|---|
LifecycleImpl(FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
Object |
BeanBuilder.build(InjectionProvider injectionProvider,
FacesContext context) |
protected void |
ManagedMapBeanBuilder.buildBean(Object bean,
FacesContext context) |
protected void |
ManagedListBeanBuilder.buildBean(Object bean,
FacesContext context) |
protected abstract void |
BeanBuilder.buildBean(Object bean,
FacesContext context) |
protected void |
ManagedBeanBuilder.buildBean(Object bean,
FacesContext context) |
protected void |
ErrorBean.buildBean(Object bean,
FacesContext context) |
Object |
BeanManager.create(String name,
BeanBuilder builder,
FacesContext facesContext) |
Object |
BeanManager.create(String name,
FacesContext facesContext) |
Object |
BeanManager.getBeanFromScope(String name,
BeanBuilder builder,
FacesContext context) |
Object |
BeanManager.getBeanFromScope(String name,
FacesContext context) |
protected void |
BeanBuilder.initList(List<BeanBuilder.Expression> source,
List target,
FacesContext context) |
protected void |
BeanBuilder.initMap(Map<BeanBuilder.Expression,BeanBuilder.Expression> source,
Map target,
FacesContext context) |
boolean |
BeanManager.isBeanInScope(String name,
BeanBuilder builder,
FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
WebsocketFacesListener.isNew(FacesContext context,
UIWebsocket websocket) |
String |
WebsocketChannelManager.register(FacesContext context,
String channel,
String scope,
Serializable user)
Register given channel on given scope and returns the web socket channel identifier.
|
static void |
WebsocketFacesListener.subscribeIfNecessary(FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
ByteArrayGuard.decrypt(FacesContext facesContext,
byte[] bytes)
This method decrypts the provided byte array.
|
protected Object |
ClientSideStateHelper.doGetState(FacesContext ctx,
String stateString)
Rebuilds the view state from the Base64 included String included with the request.
|
protected void |
ClientSideStateHelper.doWriteState(FacesContext facesContext,
Object state,
Writer writer)
Serializes and Base64 encodes the provided
state to the provided writer/ |
byte[] |
ByteArrayGuard.encrypt(FacesContext facesContext,
byte[] bytes)
This method: Encrypts bytes using a cipher.
|
String |
StateHelper.getCryptographicallyStrongTokenFromSession(FacesContext context) |
String |
ResponseStateManagerImpl.getCryptographicallyStrongTokenFromSession(FacesContext context) |
static RenderKit |
RenderKitUtils.getCurrentRenderKit(FacesContext context)
Return the
RenderKit for the current request. |
static UIForm |
RenderKitUtils.getForm(UIComponent component,
FacesContext context)
Utility method to return the client ID of the parent form.
|
static String |
RenderKitUtils.getFormClientId(UIComponent component,
FacesContext context)
Utility method to return the client ID of the parent form.
|
static String |
RenderKitUtils.getImageSource(FacesContext context,
UIComponent component,
String attrName)
Determine the path value of an image value for a component such as UIGraphic or UICommand.
|
String |
RenderKitUtils.PredefinedPostbackParameter.getName(FacesContext context) |
static String |
RenderKitUtils.getParameterName(FacesContext context,
String name)
If view root is instance of naming container, prepend its container client id to namespace given parameter name.
|
RenderKit |
RenderKitFactoryImpl.getRenderKit(FacesContext context,
String renderKitId) |
static ResponseStateManager |
RenderKitUtils.getResponseStateManager(FacesContext context,
String renderKitId)
Obtain and return the
ResponseStateManager for the specified #renderKitId. |
static SelectItemsIterator<SelectItem> |
RenderKitUtils.getSelectItems(FacesContext context,
UIComponent component)
Return a List of
SelectItem instances representing the available options for this
component, assembled from the set of UISelectItem and/or
UISelectItems components that are direct children of this component. |
Object |
ClientSideStateHelper.getState(FacesContext ctx,
String viewId)
Inspects the incoming request parameters for the standardized state parameter name.
|
abstract Object |
StateHelper.getState(FacesContext ctx,
String viewId) |
Object |
ServerSideStateHelper.getState(FacesContext ctx,
String viewId)
Inspects the incoming request parameters for the standardized state parameter name.
|
Object |
ResponseStateManagerImpl.getState(FacesContext context,
String viewId) |
protected static String |
StateHelper.getStateParamValue(FacesContext context)
Get our view state from this request
|
Object |
ResponseStateManagerImpl.getTreeStructureToRestore(FacesContext context,
String viewId) |
String |
RenderKitUtils.PredefinedPostbackParameter.getValue(FacesContext context) |
String |
ResponseStateManagerImpl.getViewState(FacesContext context,
Object state) |
static void |
RenderKitUtils.installJsfJsIfNecessary(FacesContext context)
Only install the JSF script resource if it doesn't exist.
|
static boolean |
RenderKitUtils.isJsfJsInstalled(FacesContext context) |
static boolean |
RenderKitUtils.isPartialOrBehaviorAction(FacesContext context,
String clientId) |
boolean |
ResponseStateManagerImpl.isPostback(FacesContext context) |
boolean |
ClientSideStateHelper.isStateless(FacesContext facesContext,
String viewId)
Is stateless.
|
abstract boolean |
StateHelper.isStateless(FacesContext ctx,
String viewId) |
boolean |
ServerSideStateHelper.isStateless(FacesContext facesContext,
String viewId)
Is stateless.
|
boolean |
ResponseStateManagerImpl.isStateless(FacesContext facesContext,
String viewId) |
static void |
RenderKitUtils.renderFunction(FacesContext context,
UIComponent component,
Collection<ClientBehaviorContext.Parameter> params,
String submitTarget) |
static void |
RenderKitUtils.renderHtmlErrorPage(FacesContext ctx,
FacesException fe) |
static void |
RenderKitUtils.renderJsfJsIfNecessary(FacesContext context)
Renders the Javascript necessary to add and remove request parameters to the current form.
|
static void |
RenderKitUtils.renderOnchange(FacesContext context,
UIComponent component,
boolean incExec) |
static void |
RenderKitUtils.renderOnclick(FacesContext context,
UIComponent component,
Collection<ClientBehaviorContext.Parameter> params,
String submitTarget,
boolean needsSubmit) |
static void |
RenderKitUtils.renderPassThruAttributes(FacesContext context,
ResponseWriter writer,
UIComponent component,
Attribute[] attributes)
Render any "passthru" attributes, where we simply just output the raw name and value of the attribute.
|
static void |
RenderKitUtils.renderPassThruAttributes(FacesContext context,
ResponseWriter writer,
UIComponent component,
Attribute[] attributes,
Map<String,List<ClientBehavior>> behaviors)
Render any "passthru" attributes, where we simply just output the raw name and value of the attribute.
|
static void |
RenderKitUtils.renderSelectOnclick(FacesContext context,
UIComponent component,
boolean incExec) |
static void |
RenderKitUtils.renderUnhandledMessages(FacesContext ctx) |
protected void |
StateHelper.writeClientWindowField(FacesContext context,
ResponseWriter writer)
Write the client window state field.
|
protected void |
StateHelper.writeRenderKitIdField(FacesContext context,
ResponseWriter writer)
If a custom
RenderKit is used, write out the ID of the RenderKit out as a hidden field. |
void |
ResponseStateManagerImpl.writeState(FacesContext context,
Object state) |
void |
ClientSideStateHelper.writeState(FacesContext ctx,
Object state,
StringBuilder stateCapture)
Writes the view state as a String generated by Base64 encoding the Java Serialziation representation of the provided
state |
abstract void |
StateHelper.writeState(FacesContext ctx,
Object state,
StringBuilder stateCapture)
Functionally similar to ResponseStateManager#writeState(FacesContext, Object) with an option to write the state
directly to the provided
StringBuilder without sending any markup to the client. |
void |
ServerSideStateHelper.writeState(FacesContext ctx,
Object state,
StringBuilder stateCapture)
Stores the provided state within the session obtained from the provided
FacesContext |
| Constructor and Description |
|---|
SelectItemsIterator(FacesContext ctx,
UIComponent parent)
Construct an iterator instance for the specified parent component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RadioRenderer.Group.addRadio(FacesContext context,
UISelectOne radio) |
protected void |
BaseTableRenderer.clearMetaInfo(FacesContext context,
UIComponent table)
Removes the cached TableMetaInfo from the specified component.
|
protected Object |
MenuRenderer.coerceToModelType(FacesContext ctx,
Object value,
Class<?> itemValueType) |
String |
HtmlBasicRenderer.convertClientId(FacesContext context,
String clientId) |
Object |
MenuRenderer.convertSelectManyValue(FacesContext context,
UISelectMany uiSelectMany,
String[] newValues) |
protected Object |
MenuRenderer.convertSelectManyValuesForArray(FacesContext context,
UISelectMany uiSelectMany,
Class<?> elementType,
String[] newValues) |
protected Collection<Object> |
MenuRenderer.convertSelectManyValuesForCollection(FacesContext context,
UISelectMany uiSelectMany,
Class<? extends Collection<Object>> collectionType,
String[] newValues) |
protected Object |
MenuRenderer.convertSelectManyValuesForModel(FacesContext context,
UISelectMany uiSelectMany,
Class<?> modelType,
String[] newValues) |
Object |
MenuRenderer.convertSelectOneValue(FacesContext context,
UISelectOne uiSelectOne,
String newValue) |
void |
WebsocketRenderer.decode(FacesContext context,
UIComponent component)
Decode all client behaviors.
|
void |
RadioRenderer.decode(FacesContext context,
UIComponent component)
This override delegates to
#decodeGroup(FacesContext, UISelectOne, String) when 'group' attribute is set. |
void |
OutputLinkRenderer.decode(FacesContext context,
UIComponent component) |
void |
MenuRenderer.decode(FacesContext context,
UIComponent component) |
void |
HtmlBasicRenderer.decode(FacesContext context,
UIComponent component) |
void |
FileRenderer.decode(FacesContext context,
UIComponent component) |
void |
DoctypeRenderer.decode(FacesContext context,
UIComponent component) |
void |
CommandScriptRenderer.decode(FacesContext context,
UIComponent component) |
void |
ButtonRenderer.decode(FacesContext context,
UIComponent component) |
void |
ScriptStyleBaseRenderer.decode(FacesContext context,
UIComponent component) |
void |
OutcomeTargetRenderer.decode(FacesContext context,
UIComponent component) |
void |
HeadRenderer.decode(FacesContext context,
UIComponent component) |
void |
FormRenderer.decode(FacesContext context,
UIComponent component) |
void |
CommandLinkRenderer.decode(FacesContext context,
UIComponent component) |
void |
CheckboxRenderer.decode(FacesContext context,
UIComponent component) |
void |
BodyRenderer.decode(FacesContext context,
UIComponent component) |
void |
AjaxBehaviorRenderer.decode(FacesContext context,
UIComponent component,
ClientBehavior behavior) |
protected String |
HtmlBasicRenderer.decodeBehaviors(FacesContext context,
UIComponent component) |
protected void |
RadioRenderer.decodeGroup(FacesContext context,
UISelectOne radio,
RadioRenderer.Group group)
The difference with default decoding is:
Submitted value is obtained by group name.
|
void |
TextareaRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
TextRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
SecretRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
OutputMessageRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
OutputLinkRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
OutcomeTargetLinkRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
MessagesRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
MenuRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
LabelRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
ImageRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
HiddenRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
GroupRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
GridRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
FileRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
DoctypeRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
CommandScriptRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
ButtonRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
TableRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
ScriptStyleBaseRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
PassthroughRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
OutcomeTargetButtonRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
MessageRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
HeadRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
FormRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
CommandLinkRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
CheckboxRenderer.encodeBegin(FacesContext context,
UIComponent component) |
void |
BodyRenderer.encodeBegin(FacesContext context,
UIComponent component)
Encode the beginning.
|
void |
TextRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
OutputLinkRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
GroupRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
GridRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
DoctypeRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
CompositeFacetRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
TableRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
ScriptStyleBaseRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
PassthroughRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
MessageRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
HeadRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
CompositeRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
CommandLinkRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
BodyRenderer.encodeChildren(FacesContext context,
UIComponent component) |
void |
WebsocketRenderer.encodeEnd(FacesContext context,
UIComponent component)
Render
jsf.push.init() function if necessary. |
void |
SelectManyCheckboxListRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
RadioRenderer.encodeEnd(FacesContext context,
UIComponent component)
This override delegates to
#encodeEndGroup(FacesContext, UISelectOne, String) when 'group' attribute is set. |
void |
OutputMessageRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
OutputLinkRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
OutcomeTargetLinkRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
MessagesRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
MenuRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
LabelRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
ImageRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
HtmlBasicRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
GroupRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
GridRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
DoctypeRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
CommandScriptRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
ButtonRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
TableRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
ScriptStyleBaseRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
PassthroughRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
OutcomeTargetButtonRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
MessageRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
HeadRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
FormRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
CommandLinkRenderer.encodeEnd(FacesContext context,
UIComponent component) |
void |
BodyRenderer.encodeEnd(FacesContext context,
UIComponent component) |
protected void |
RadioRenderer.encodeEndGroup(FacesContext context,
UISelectOne radio,
RadioRenderer.Group group)
The difference with default encoding is:
Every radio button of same 'group' will have same 'name' attribute rendered, relative to UIForm parent.
|
protected void |
HtmlBasicRenderer.encodeRecursive(FacesContext context,
UIComponent component)
Render nested child components by invoking the encode methods on those components, but only when the
rendered property is true. |
Object |
MenuRenderer.getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue) |
Object |
FileRenderer.getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue) |
Object |
HtmlBasicInputRenderer.getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue) |
Object |
CheckboxRenderer.getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue) |
protected String |
HtmlBasicRenderer.getCurrentValue(FacesContext context,
UIComponent component) |
protected String |
OutcomeTargetRenderer.getEncodedTargetURL(FacesContext context,
UIComponent component,
NavigationCase navCase)
Resolve the target view id and then delegate to
ViewHandler.getBookmarkableURL(jakarta.faces.context.FacesContext, String, java.util.Map, boolean) to produce
a redirect URL, which will add the page parameters if necessary and properly prioritizing the parameter overrides. |
protected void |
TextareaRenderer.getEndTextToRender(FacesContext context,
UIComponent component,
String currentValue) |
protected void |
TextRenderer.getEndTextToRender(FacesContext context,
UIComponent component,
String currentValue) |
protected void |
SecretRenderer.getEndTextToRender(FacesContext context,
UIComponent component,
String currentValue) |
protected void |
HtmlBasicRenderer.getEndTextToRender(FacesContext context,
UIComponent component,
String currentValue)
Renderers override this method to write appropriate HTML content into the buffer.
|
protected void |
HiddenRenderer.getEndTextToRender(FacesContext context,
UIComponent component,
String currentValue) |
protected void |
CheckboxRenderer.getEndTextToRender(FacesContext context,
UIComponent component,
String currentValue) |
protected UIComponent |
HtmlBasicRenderer.getForComponent(FacesContext context,
String forComponent,
UIComponent component)
Locates the component identified by
forComponent |
protected String |
LabelRenderer.getForComponentClientId(UIComponent component,
FacesContext context,
String forValue)
Builds and returns the clientId of the component that is represented by the forValue.
|
protected String |
HtmlBasicRenderer.getFormattedValue(FacesContext context,
UIComponent component,
Object currentValue) |
protected String |
HtmlBasicRenderer.getFormattedValue(FacesContext context,
UIComponent component,
Object currentValue,
Converter converter)
Overloads getFormattedValue to take a advantage of a previously obtained converter.
|
protected static RadioRenderer.Group |
RadioRenderer.getGroup(FacesContext context,
UISelectOne radio) |
protected Iterator |
HtmlBasicRenderer.getMessageIter(FacesContext context,
String forComponent,
UIComponent component) |
protected BaseTableRenderer.TableMetaInfo |
BaseTableRenderer.getMetaInfo(FacesContext context,
UIComponent table)
Returns a
TableMetaInfo object containing details such as row and column classes, columns, and a
mechanism for scrolling through the row/column classes. |
protected NavigationCase |
OutcomeTargetRenderer.getNavigationCase(FacesContext context,
UIComponent component)
Invoke the
NavigationHandler preemptively to resolve a NavigationCase for the outcome declared on the
UIOutcomeTarget component. |
protected boolean |
SelectManyCheckboxListRenderer.isBehaviorSource(FacesContext ctx,
String behaviorSourceId,
String componentClientId)
We override isBehaviorSource since the ID of the activated check box will have been augmented with the option number.
|
protected boolean |
HtmlBasicRenderer.isBehaviorSource(FacesContext ctx,
String behaviorSourceId,
String componentClientId) |
protected boolean |
RadioRenderer.isChecked(FacesContext context,
UISelectOne radio,
Object itemValue) |
protected boolean |
MenuRenderer.isSelected(FacesContext context,
UIComponent component,
Object itemValue,
Object valueArray,
Converter<?> converter) |
protected void |
OutcomeTargetLinkRenderer.renderAsActive(FacesContext context,
NavigationCase navCase,
UIComponent component) |
protected void |
OutputLinkRenderer.renderAsActive(FacesContext context,
UIComponent component) |
protected abstract void |
LinkRenderer.renderAsActive(FacesContext context,
UIComponent component) |
protected void |
CommandLinkRenderer.renderAsActive(FacesContext context,
UIComponent command) |
protected void |
LinkRenderer.renderAsDisabled(FacesContext context,
UIComponent component) |
protected void |
OutcomeTargetLinkRenderer.renderAsDisabled(FacesContext context,
UIComponent component,
boolean failedToResolveNavigationCase) |
protected void |
SelectManyCheckboxListRenderer.renderBeginText(UIComponent component,
int border,
boolean alignVertical,
FacesContext context,
boolean outerTable) |
protected void |
BaseTableRenderer.renderCaption(FacesContext context,
UIComponent table,
ResponseWriter writer)
Renders the caption of the table applying the values of
captionClass as the class and
captionStyle as the style if either are present. |
protected void |
TableRenderer.renderColumnGroups(FacesContext context,
UIComponent table) |
protected void |
SelectManyCheckboxListRenderer.renderEndText(UIComponent component,
boolean alignVertical,
FacesContext context) |
protected void |
HtmlBasicRenderer.rendererParamsNotNull(FacesContext context,
UIComponent component) |
protected void |
GridRenderer.renderFooter(FacesContext context,
UIComponent table,
ResponseWriter writer) |
protected abstract void |
BaseTableRenderer.renderFooter(FacesContext context,
UIComponent table,
ResponseWriter writer)
Called to render the opening/closing
tfoot elements and any content nested between. |
protected void |
TableRenderer.renderFooter(FacesContext context,
UIComponent table,
ResponseWriter writer) |
protected void |
GridRenderer.renderHeader(FacesContext context,
UIComponent table,
ResponseWriter writer) |
protected abstract void |
BaseTableRenderer.renderHeader(FacesContext context,
UIComponent table,
ResponseWriter writer)
Called to render the opening/closing
thead elements and any content nested between. |
protected void |
TableRenderer.renderHeader(FacesContext context,
UIComponent table,
ResponseWriter writer) |
protected void |
RadioRenderer.renderInput(FacesContext context,
ResponseWriter writer,
UIComponent component,
String clientId,
Object itemValue,
Converter<?> converter,
boolean checked,
boolean disabled,
RadioRenderer.Group group) |
protected void |
SelectManyCheckboxListRenderer.renderOption(FacesContext context,
UIComponent component,
Converter converter,
SelectItem curItem,
Object currentSelections,
Object[] submittedValues,
boolean alignVertical,
int itemNumber,
HtmlBasicRenderer.OptionComponentInfo optionInfo) |
protected void |
RadioRenderer.renderOption(FacesContext context,
UIComponent component,
Converter converter,
SelectItem curItem,
Object currentSelections,
Object[] submittedValues,
boolean alignVertical,
int itemNumber,
HtmlBasicRenderer.OptionComponentInfo optionInfo) |
protected boolean |
MenuRenderer.renderOption(FacesContext context,
UIComponent component,
UIComponent selectComponent,
Converter<?> converter,
SelectItem curItem,
Object currentSelections,
Object[] submittedValues,
HtmlBasicRenderer.OptionComponentInfo optionInfo) |
protected int |
MenuRenderer.renderOptions(FacesContext context,
UIComponent component,
SelectItemsIterator<SelectItem> items) |
protected void |
OutcomeTargetRenderer.renderPassThruAttributes(FacesContext ctx,
ResponseWriter writer,
UIComponent component,
Attribute[] attributes,
List excludedAttributes) |
protected void |
GridRenderer.renderRow(FacesContext context,
UIComponent table,
UIComponent child,
ResponseWriter writer) |
protected abstract void |
BaseTableRenderer.renderRow(FacesContext context,
UIComponent table,
UIComponent row,
ResponseWriter writer)
Call to render the content that should be included between opening and closing
tr elements. |
protected void |
TableRenderer.renderRow(FacesContext context,
UIComponent table,
UIComponent child,
ResponseWriter writer) |
protected void |
BaseTableRenderer.renderRowEnd(FacesContext context,
UIComponent table,
ResponseWriter writer)
Renders the closing
rt element. |
protected void |
BaseTableRenderer.renderRowStart(FacesContext context,
UIComponent table,
ResponseWriter writer)
Renders the starting
tr element applying any values from the rowClasses attribute. |
protected void |
MenuRenderer.renderSelect(FacesContext context,
UIComponent component) |
protected void |
BaseTableRenderer.renderTableBodyEnd(FacesContext context,
UIComponent table,
ResponseWriter writer)
Renders the closing
tbody element. |
protected void |
BaseTableRenderer.renderTableBodyStart(FacesContext context,
UIComponent table,
ResponseWriter writer)
Renders the starting
tbody element. |
protected void |
BaseTableRenderer.renderTableEnd(FacesContext context,
UIComponent table,
ResponseWriter writer)
Renders the closing
table element. |
protected void |
BaseTableRenderer.renderTableStart(FacesContext context,
UIComponent table,
ResponseWriter writer,
Attribute[] attributes)
Renders the start of a table and applies the value of
styleClass if available and renders any pass
through attributes that may be specified. |
protected void |
OutcomeTargetLinkRenderer.writeIdAndNameAttributes(FacesContext context,
ResponseWriter writer,
UIComponent component) |
protected String |
HtmlBasicRenderer.writeIdAttributeIfNecessary(FacesContext context,
ResponseWriter writer,
UIComponent component) |
| Constructor and Description |
|---|
Group(FacesContext context,
String clientName) |
| Modifier and Type | Method and Description |
|---|---|
protected static Converter |
AbstractConverterTag.createConverter(jakarta.el.ValueExpression converterId,
jakarta.el.ValueExpression binding,
FacesContext facesContext) |
protected static Validator |
AbstractValidatorTag.createValidator(jakarta.el.ValueExpression validatorId,
jakarta.el.ValueExpression binding,
FacesContext facesContext) |
Object |
ConverterTag.BindingConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
String |
ConverterTag.BindingConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
void |
SetPropertyActionListenerImpl.restoreState(FacesContext context,
Object state) |
void |
ConverterTag.BindingConverter.restoreState(FacesContext context,
Object state) |
void |
ValidatorTag.BindingValidator.restoreState(FacesContext context,
Object state) |
Object |
SetPropertyActionListenerImpl.saveState(FacesContext context) |
Object |
ConverterTag.BindingConverter.saveState(FacesContext context) |
Object |
ValidatorTag.BindingValidator.saveState(FacesContext context) |
void |
ValidatorTag.BindingValidator.validate(FacesContext context,
UIComponent component,
Object value)
Perform the correctness checks implemented by this
Validator against the specified
UIComponent. |
| Modifier and Type | Method and Description |
|---|---|
static void |
Util.checkIdUniqueness(FacesContext context,
UIComponent component,
Set<String> componentIds)
Utility method to validate ID uniqueness for the tree represented by
component. |
static void |
RequestStateManager.clearAttributesOnChangeOfView(FacesContext ctx)
Remove all request state attributes associated that need to be cleared on change of view.
|
static boolean |
RequestStateManager.containsKey(FacesContext ctx,
String key) |
static String |
Util.generateCreatedBy(FacesContext facesContext) |
static <T> T |
RequestStateManager.get(FacesContext ctx,
String key) |
static jakarta.validation.Validator |
BeanValidation.getBeanValidator(FacesContext context) |
static jakarta.enterprise.inject.spi.BeanManager |
Util.getCdiBeanManager(FacesContext facesContext)
Get the CDI bean manager.
|
static String |
Util.getClientWindowId(FacesContext context) |
static Converter |
Util.getConverterForClass(Class converterClass,
FacesContext context) |
static Converter |
Util.getConverterForIdentifer(String converterId,
FacesContext context) |
static String |
Util.getDOCTYPEFromFacesContextAttributes(FacesContext context) |
static String |
Util.getFacesConfigXmlVersion(FacesContext facesContext)
Get the faces-config.xml version (if any).
|
static String |
Util.getFacesMapping(FacesContext context)
Returns the URL pattern of the
FacesServlet that is executing the current request. |
static Object |
MessageFactory.getLabel(FacesContext context,
UIComponent component)
Returns the
label property from the specified component. |
static Locale |
Util.getLocaleFromContextOrSystem(FacesContext context) |
static FacesMessage |
MessageFactory.getMessage(FacesContext context,
String messageId,
FacesMessage.Severity severity,
Object... params) |
static FacesMessage |
MessageFactory.getMessage(FacesContext context,
String messageId,
Object... params)
Creates and returns a FacesMessage for the specified Locale.
|
static String |
Util.getNamingContainerPrefix(FacesContext context)
If view root is instance of naming container, return its container client id, suffixed with separator character.
|
static StateManager |
Util.getStateManager(FacesContext context) |
static Map<String,Object> |
RequestStateManager.getStateMap(FacesContext ctx) |
static jakarta.validation.ValidatorFactory |
BeanValidation.getValidatorFactory(FacesContext context) |
static ViewHandler |
Util.getViewHandler(FacesContext context) |
static String |
Util.getViewStateId(FacesContext context) |
static String |
Util.getWebXmlVersion(FacesContext facesContext)
Get the web.xml version (if any).
|
static String |
Util.getXMLDECLFromFacesContextAttributes(FacesContext context) |
String |
FacesLogger.interpolateMessage(FacesContext context,
String messageId,
Object[] params) |
static boolean |
Util.isCdiAvailable(FacesContext facesContext)
Is CDI available.
|
static boolean |
Util.isCdiOneOneOrLater(FacesContext facesContext)
Is CDI 1.1 or later
|
static boolean |
Util.isPortletRequest(FacesContext context)
Convenience method for determining if the request associated with the specified
FacesContext is a
PortletRequest submitted by the JSR-301 bridge. |
static boolean |
Util.isViewPopulated(FacesContext ctx,
UIViewRoot viewToRender) |
static Object |
RequestStateManager.remove(FacesContext ctx,
String key)
Remove the value associated with the specified key.
|
void |
ComponentStruct.restoreState(FacesContext ctx,
Object state) |
Object |
ComponentStruct.saveState(FacesContext ctx) |
static void |
RequestStateManager.set(FacesContext ctx,
String key,
Object value)
Adds the specified key and value to the Map stored in the request.
|
static void |
Util.setViewPopulated(FacesContext ctx,
UIViewRoot viewToRender)
Flag the specified
UIViewRoot as populated. |
| Modifier and Type | Method and Description |
|---|---|
static Copier |
CopierUtils.getCopier(FacesContext context,
String copierType) |
| Modifier and Type | Method and Description |
|---|---|
String |
ViewHandler.calculateCharacterEncoding(FacesContext context)
Returns the correct character encoding to be used for this request.
|
String |
ViewHandlerWrapper.calculateCharacterEncoding(FacesContext context)
The default behavior of this method is to call
ViewHandler.calculateCharacterEncoding(jakarta.faces.context.FacesContext) on the wrapped ViewHandler
object. |
abstract Locale |
ViewHandler.calculateLocale(FacesContext context)
Returns an appropriate
Locale to use for this and subsequent requests for the current client. |
Locale |
ViewHandlerWrapper.calculateLocale(FacesContext context)
The default behavior of this method is to call
ViewHandler.calculateLocale(jakarta.faces.context.FacesContext) on the wrapped ViewHandler object. |
abstract String |
ViewHandler.calculateRenderKitId(FacesContext context)
Return an appropriate
renderKitId for this and subsequent requests from the current client. |
String |
ViewHandlerWrapper.calculateRenderKitId(FacesContext context)
The default behavior of this method is to call
ViewHandler.calculateRenderKitId(jakarta.faces.context.FacesContext) on the wrapped ViewHandler
object. |
UIComponent |
ApplicationWrapper.createComponent(FacesContext context,
Resource componentResource)
The default behavior of this method is to call
|
UIComponent |
Application.createComponent(FacesContext context,
Resource componentResource)
Instantiate and return a new |
UIComponent |
ApplicationWrapper.createComponent(FacesContext context,
String componentType,
String rendererType)
The default behavior of this method is to call
|
UIComponent |
Application.createComponent(FacesContext context,
String componentType,
String rendererType)
Like |
UIComponent |
ApplicationWrapper.createComponent(ValueBinding componentBinding,
FacesContext context,
String componentType)
Deprecated.
See superclass for alternative.
|
abstract UIComponent |
Application.createComponent(ValueBinding componentBinding,
FacesContext context,
String componentType)
Deprecated.
This has been replaced by
Application.createComponent(jakarta.el.ValueExpression,jakarta.faces.context.FacesContext,java.lang.String). |
UIComponent |
ApplicationWrapper.createComponent(jakarta.el.ValueExpression componentExpression,
FacesContext context,
String componentType)
The default behavior of this method is to call
|
UIComponent |
Application.createComponent(jakarta.el.ValueExpression componentExpression,
FacesContext context,
String componentType)
Call the
getValue() method on the specified
ValueExpression. |
UIComponent |
ApplicationWrapper.createComponent(jakarta.el.ValueExpression componentExpression,
FacesContext context,
String componentType,
String rendererType)
The default behavior of this method is to call
|
UIComponent |
Application.createComponent(jakarta.el.ValueExpression componentExpression,
FacesContext context,
String componentType,
String rendererType)
Like |
abstract UIViewRoot |
ViewHandler.createView(FacesContext context,
String viewId)
Create and return a new
UIViewRoot instance initialized with
information from the argument FacesContext and viewId. |
UIViewRoot |
ViewHandlerWrapper.createView(FacesContext context,
String viewId)
The default behavior of this method is to call
ViewHandler.createView(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object. |
ViewResource |
ResourceHandlerWrapper.createViewResource(FacesContext context,
String resourceName)
The default behavior of this method is to call |
ViewResource |
ResourceHandler.createViewResource(FacesContext context,
String resourceName)
Create an instance of |
String |
ViewHandler.deriveLogicalViewId(FacesContext context,
String requestViewId)
Derive and return the viewId from the current request, or the argument input by following the algorithm defined in specification section 7.6.2. |
String |
ViewHandlerWrapper.deriveLogicalViewId(FacesContext context,
String requestViewId)
The default behavior of this method is to call
|
String |
ViewHandler.deriveViewId(FacesContext context,
String requestViewId)
Derive and return the viewId from the current request, or the argument input by following the algorithm defined in specification section 7.6.2. |
String |
ViewHandlerWrapper.deriveViewId(FacesContext context,
String requestViewId)
The default behavior of this method is to call
ViewHandler.deriveViewId(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler
object. |
<T> T |
ApplicationWrapper.evaluateExpressionGet(FacesContext context,
String expression,
Class<? extends T> expectedType)
Deprecated.
See superclass for alternative.
|
<T> T |
Application.evaluateExpressionGet(FacesContext context,
String expression,
Class<? extends T> expectedType)
Get a value by evaluating an expression.
|
URL |
NavigationCaseWrapper.getActionURL(FacesContext context) |
URL |
NavigationCase.getActionURL(FacesContext context)
Construct an absolute URL to this |
abstract String |
ViewHandler.getActionURL(FacesContext context,
String viewId)
If the value returned from this method is used as the |
String |
ViewHandlerWrapper.getActionURL(FacesContext context,
String viewId)
The default behavior of this method is to call
ViewHandler.getActionURL(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler
object. |
URL |
NavigationCaseWrapper.getBookmarkableURL(FacesContext context) |
URL |
NavigationCase.getBookmarkableURL(FacesContext context)
Construct an absolute URL suitable for a bookmarkable link to this |
String |
ViewHandler.getBookmarkableURL(FacesContext context,
String viewId,
Map<String,List<String>> parameters,
boolean includeViewParams)
Return a Jakarta Server Faces action URL derived from the viewId argument that is suitable to be used as the target of a link in a Jakarta Server Faces response. |
String |
ViewHandlerWrapper.getBookmarkableURL(FacesContext context,
String viewId,
Map<String,List<String>> parameters,
boolean includeViewParams)
The default behavior of this method is to call
ViewHandler.getBookmarkableURL(jakarta.faces.context.FacesContext, String, java.util.Map, boolean) on the
wrapped ViewHandler object. |
protected Object |
StateManager.getComponentStateToSave(FacesContext context)
Deprecated.
the distinction between tree structure and component state is now an implementation detail. The default
implementation returns
null. |
protected Object |
StateManagerWrapper.getComponentStateToSave(FacesContext context)
The default behavior of this method is to call
StateManager.getComponentStateToSave(jakarta.faces.context.FacesContext) on the wrapped StateManager
object. |
Boolean |
NavigationCaseWrapper.getCondition(FacesContext context) |
Boolean |
NavigationCase.getCondition(FacesContext context)
Evaluates the |
NavigationCase |
ConfigurableNavigationHandlerWrapper.getNavigationCase(FacesContext context,
String fromAction,
String outcome) |
abstract NavigationCase |
ConfigurableNavigationHandler.getNavigationCase(FacesContext context,
String fromAction,
String outcome)
Return the |
NavigationCase |
ConfigurableNavigationHandlerWrapper.getNavigationCase(FacesContext context,
String fromAction,
String outcome,
String toFlowDocumentId) |
NavigationCase |
ConfigurableNavigationHandler.getNavigationCase(FacesContext context,
String fromAction,
String outcome,
String toFlowDocumentId)
Return the |
URL |
NavigationCaseWrapper.getRedirectURL(FacesContext context) |
URL |
NavigationCase.getRedirectURL(FacesContext context)
Construct an absolute URL suitable for a "redirect" to this |
String |
ViewHandler.getRedirectURL(FacesContext context,
String viewId,
Map<String,List<String>> parameters,
boolean includeViewParams)
Return a Jakarta Server Faces action URL derived from the |
String |
ViewHandlerWrapper.getRedirectURL(FacesContext context,
String viewId,
Map<String,List<String>> parameters,
boolean includeViewParams)
The default behavior of this method is to call
ViewHandler.getRedirectURL(jakarta.faces.context.FacesContext, String, java.util.Map, boolean) on the wrapped
ViewHandler object. |
ResourceBundle |
ApplicationWrapper.getResourceBundle(FacesContext ctx,
String name)
The default behavior of this method is to call
|
ResourceBundle |
Application.getResourceBundle(FacesContext ctx,
String name)
Find a
ResourceBundle as defined in the application configuration resources under the specified name. |
URL |
NavigationCaseWrapper.getResourceURL(FacesContext context) |
URL |
NavigationCase.getResourceURL(FacesContext context)
Construct an absolute URL to this |
abstract String |
ViewHandler.getResourceURL(FacesContext context,
String path)
If the value returned from this method is used as the |
String |
ViewHandlerWrapper.getResourceURL(FacesContext context,
String path)
The default behavior of this method is to call
ViewHandler.getResourceURL(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler
object. |
String |
NavigationCaseWrapper.getToViewId(FacesContext context) |
String |
NavigationCase.getToViewId(FacesContext context)
Evaluates the |
protected Object |
StateManager.getTreeStructureToSave(FacesContext context)
Deprecated.
the distinction between tree structure and component state is now an implementation detail. The default
implementation returns
null. |
protected Object |
StateManagerWrapper.getTreeStructureToSave(FacesContext context)
The default behavior of this method is to call
StateManager.getTreeStructureToSave(jakarta.faces.context.FacesContext) on the wrapped StateManager
object. |
ViewDeclarationLanguage |
ViewHandler.getViewDeclarationLanguage(FacesContext context,
String viewId)
Return the |
ViewDeclarationLanguage |
ViewHandlerWrapper.getViewDeclarationLanguage(FacesContext context,
String viewId)
The default behavior of this method is to call
ViewHandler.getViewDeclarationLanguage(jakarta.faces.context.FacesContext, java.lang.String) on the wrapped
ViewHandler object. |
Stream<String> |
ResourceHandlerWrapper.getViewResources(FacesContext facesContext,
String path,
int maxDepth,
ResourceVisitOption... options)
The default behavior of this method is to call
|
Stream<String> |
ResourceHandler.getViewResources(FacesContext facesContext,
String path,
int maxDepth,
ResourceVisitOption... options)
Return a |
Stream<String> |
ResourceHandlerWrapper.getViewResources(FacesContext facesContext,
String path,
ResourceVisitOption... options)
The default behavior of this method is to call
|
Stream<String> |
ResourceHandler.getViewResources(FacesContext facesContext,
String path,
ResourceVisitOption... options)
Return a |
Stream<String> |
ViewHandler.getViews(FacesContext facesContext,
String path,
int maxDepth,
ViewVisitOption... options)
Return a |
Stream<String> |
ViewHandlerWrapper.getViews(FacesContext context,
String path,
int maxDepth,
ViewVisitOption... options)
The default behavior of this method is to call
ViewHandler.getViews(FacesContext, String, int, ViewVisitOption...) on the wrapped ViewHandler
object. |
Stream<String> |
ViewHandler.getViews(FacesContext facesContext,
String path,
ViewVisitOption... options)
Return a |
Stream<String> |
ViewHandlerWrapper.getViews(FacesContext context,
String path,
ViewVisitOption... options)
The default behavior of this method is to call
ViewHandler.getViews(FacesContext, String, ViewVisitOption...)
on the wrapped ViewHandler object. |
String |
StateManager.getViewState(FacesContext context)
Convenience method to return the view state as a |
String |
StateManagerWrapper.getViewState(FacesContext context)
The default behavior of this method is to call |
abstract String |
ViewHandler.getWebsocketURL(FacesContext context,
String channel)
If the value returned from this method is used as the |
String |
ViewHandlerWrapper.getWebsocketURL(FacesContext context,
String channel)
The default behavior of this method is to call
ViewHandler.getWebsocketURL(FacesContext, String) on the
wrapped ViewHandler object. |
void |
NavigationHandlerWrapper.handleNavigation(FacesContext context,
String fromAction,
String outcome) |
abstract void |
NavigationHandler.handleNavigation(FacesContext context,
String fromAction,
String outcome)
Perform navigation processing based on the state information in the
specified
FacesContext, plus the outcome string returned by an executed application action. |
void |
ConfigurableNavigationHandlerWrapper.handleNavigation(FacesContext context,
String fromAction,
String outcome) |
void |
NavigationHandlerWrapper.handleNavigation(FacesContext context,
String fromAction,
String outcome,
String toFlowDocumentId) |
void |
NavigationHandler.handleNavigation(FacesContext context,
String fromAction,
String outcome,
String toFlowDocumentId)
Overloaded variant of
|
void |
ResourceHandlerWrapper.handleResourceRequest(FacesContext context)
The default behavior of this method is to call
|
abstract void |
ResourceHandler.handleResourceRequest(FacesContext context)
This method specifies the contract for satisfying resource requests. |
void |
ViewHandler.initView(FacesContext context)
Initialize the view for the request processing lifecycle.
|
void |
ViewHandlerWrapper.initView(FacesContext context)
The default behavior of this method is to call
ViewHandler.initView(jakarta.faces.context.FacesContext) on the wrapped ViewHandler
object. |
void |
ConfigurableNavigationHandlerWrapper.inspectFlow(FacesContext context,
Flow flow) |
void |
ConfigurableNavigationHandler.inspectFlow(FacesContext context,
Flow flow)
Called by the flow system to cause the flow to be inspected for navigation rules. |
boolean |
ResourceHandlerWrapper.isResourceRendered(FacesContext context,
String resourceName,
String libraryName)
The default behavior of this method is to call
|
boolean |
ResourceHandler.isResourceRendered(FacesContext context,
String resourceName,
String libraryName)
Returns whether the resource as identified by given resource and library name has been rendered. |
boolean |
ResourceHandlerWrapper.isResourceRequest(FacesContext context)
The default behavior of this method is to call
|
abstract boolean |
ResourceHandler.isResourceRequest(FacesContext context)
Return |
boolean |
StateManager.isSavingStateInClient(FacesContext context)
Method to determine if the state is saved on the client.
|
boolean |
StateManagerWrapper.isSavingStateInClient(FacesContext context)
The default behavior of this method is to call
StateManager.isSavingStateInClient(jakarta.faces.context.FacesContext) on the wrapped StateManager
object. |
void |
ResourceHandlerWrapper.markResourceRendered(FacesContext context,
String resourceName,
String libraryName)
The default behavior of this method is to call
|
void |
ResourceHandler.markResourceRendered(FacesContext context,
String resourceName,
String libraryName)
Mark the resource as identified by given resource and library name as rendered. |
void |
ApplicationWrapper.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Class<?> sourceBaseType,
Object source)
The default behavior of this method is to call
|
void |
Application.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Class<?> sourceBaseType,
Object source)
This method functions exactly like |
void |
ApplicationWrapper.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Object source)
The default behavior of this method is to call
|
void |
Application.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Object source)
If |
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)
The default behavior of this method is to call
ViewHandler.renderView(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot) on the wrapped
ViewHandler object. |
protected void |
StateManager.restoreComponentState(FacesContext context,
UIViewRoot viewRoot,
String renderKitId)
Deprecated.
the distinction between tree structure and component state is now an implementation detail. The default
implementation does nothing.
|
protected void |
StateManagerWrapper.restoreComponentState(FacesContext context,
UIViewRoot viewRoot,
String renderKitId)
The default behavior of this method is to call
StateManager.restoreComponentState(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot, String)
on the wrapped StateManager object. |
protected UIViewRoot |
StateManager.restoreTreeStructure(FacesContext context,
String viewId,
String renderKitId)
Deprecated.
the distinction between tree structure and component state is now an implementation detail. The default
implementation returns
null. |
protected UIViewRoot |
StateManagerWrapper.restoreTreeStructure(FacesContext context,
String viewId,
String renderKitId)
The default behavior of this method is to call
StateManager.restoreTreeStructure(jakarta.faces.context.FacesContext, String, String) on the wrapped
StateManager object. |
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)
The default behavior of this method is to call
ViewHandler.restoreView(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler
object. |
abstract UIViewRoot |
StateManager.restoreView(FacesContext context,
String viewId,
String renderKitId)
Deprecated.
|
UIViewRoot |
StateManagerWrapper.restoreView(FacesContext context,
String viewId,
String renderKitId)
The default behavior of this method is to call
StateManager.restoreView(jakarta.faces.context.FacesContext, String, String) on the wrapped
StateManager object. |
StateManager.SerializedView |
StateManager.saveSerializedView(FacesContext context)
Deprecated.
this has been replaced by
StateManager.saveView(jakarta.faces.context.FacesContext). The default implementation calls saveView and
inspects the return. If the return is an Object [], it casts the result to an Object []
wrapping the first and second elements in an instance of StateManager.SerializedView, which it then returns. Otherwise, it
returns null |
StateManager.SerializedView |
StateManagerWrapper.saveSerializedView(FacesContext context)
The default behavior of this method is to call
StateManager.saveSerializedView(jakarta.faces.context.FacesContext) on the wrapped StateManager
object. |
Object |
StateManager.saveView(FacesContext context)
Deprecated.
|
Object |
StateManagerWrapper.saveView(FacesContext context)
The default behavior of this method is to call
StateManager.saveView(jakarta.faces.context.FacesContext) on
the wrapped StateManager object. |
boolean |
ResourceWrapper.userAgentNeedsUpdate(FacesContext context)
The default behavior of this method is to call |
abstract boolean |
Resource.userAgentNeedsUpdate(FacesContext context)
Return |
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)
The default behavior of this method is to call
ViewHandler.writeState(jakarta.faces.context.FacesContext) on
the wrapped ViewHandler object. |
void |
StateManager.writeState(FacesContext context,
Object state)
Save the state represented in the specified state
Object instance, in an implementation dependent
manner. |
void |
StateManagerWrapper.writeState(FacesContext context,
Object state)
The default behavior of this method is to call
StateManager.writeState(jakarta.faces.context.FacesContext, java.lang.Object) on the wrapped
StateManager object. |
void |
StateManager.writeState(FacesContext context,
StateManager.SerializedView state)
Deprecated.
This method has been replaced by
StateManager.writeState(jakarta.faces.context.FacesContext,java.lang.Object). The default implementation calls the
non-deprecated variant of the method passing an Object [] as the second argument, where the first
element of the array is the return from getStructure() and the second is the return from
getState() on the argument state. |
void |
StateManagerWrapper.writeState(FacesContext context,
StateManager.SerializedView state)
The default behavior of this method is to call
StateManager.writeState(jakarta.faces.context.FacesContext, jakarta.faces.application.StateManager.SerializedView)
on the wrapped StateManager object. |
| Modifier and Type | Method and Description |
|---|---|
protected FacesContext |
UIComponentBase.getFacesContext() |
protected abstract FacesContext |
UIComponent.getFacesContext()
Convenience method to return the
FacesContext instance for the current request. |
| Modifier and Type | Method and Description |
|---|---|
void |
UIViewRoot.addComponentResource(FacesContext context,
UIComponent componentResource)
Add argument |
void |
UIViewRoot.addComponentResource(FacesContext context,
UIComponent componentResource,
String target)
Add argument |
void |
UIViewRoot.broadcastEvents(FacesContext context,
PhaseId phaseId)
Broadcast any events that have been queued. |
String |
UIViewRoot.createUniqueId(FacesContext context,
String seed)
Generate an identifier for a component.
|
String |
UINamingContainer.createUniqueId(FacesContext context,
String seed) |
String |
UIData.createUniqueId(FacesContext context,
String seed) |
String |
UniqueIdVendor.createUniqueId(FacesContext context,
String seed)
Generate an identifier for a component.
|
String |
UIForm.createUniqueId(FacesContext context,
String seed)
Generate an identifier for a component. |
void |
UIViewParameter.decode(FacesContext context)
Override behavior from superclass to pull a value from the incoming request parameter map under the name given by
|
void |
UIComponentBase.decode(FacesContext context) |
void |
UIViewAction.decode(FacesContext context)
Override behavior from the superclass to queue an |
void |
UIInput.decode(FacesContext context) |
abstract void |
UIComponent.decode(FacesContext context)
Decode any new state of this
UIComponent from the request contained in the specified FacesContext,
and store this state as needed. |
void |
UIViewParameter.encodeAll(FacesContext context)
Called specially by |
void |
UIComponent.encodeAll(FacesContext context)
If this component returns
true from UIComponent.isRendered(), take the following action. |
void |
UIViewRoot.encodeBegin(FacesContext context)
Override the default
UIComponentBase.encodeBegin(jakarta.faces.context.FacesContext)
behavior. |
void |
UIData.encodeBegin(FacesContext context)
In addition to the default behavior, ensure that any saved per-row state for our child input components is discarded
unless it is needed to rerender the current page with errors.
|
void |
UIComponentBase.encodeBegin(FacesContext context) |
abstract void |
UIComponent.encodeBegin(FacesContext context)
If our
rendered property is true, render the
beginning of the current state of this UIComponent to the response contained in the specified
FacesContext. |
void |
UIViewRoot.encodeChildren(FacesContext context)
If |
void |
UIComponentBase.encodeChildren(FacesContext context) |
abstract void |
UIComponent.encodeChildren(FacesContext context)
|
void |
UIViewRoot.encodeEnd(FacesContext context)
If |
void |
UIComponentBase.encodeEnd(FacesContext context) |
abstract void |
UIComponent.encodeEnd(FacesContext context)
|
String |
UIData.getClientId(FacesContext context)
Return a client identifier for this component that includes the current value of the
rowIndex property,
if it is not set to -1. |
String |
UIComponentBase.getClientId(FacesContext context) |
abstract String |
UIComponent.getClientId(FacesContext context)
Return a client-side identifier for this component, generating one if necessary.
|
List<UIComponent> |
UIViewRoot.getComponentResources(FacesContext context)
Return an unmodifiable ordered |
List<UIComponent> |
UIViewRoot.getComponentResources(FacesContext context,
String target)
Return an unmodifiable |
String |
UIForm.getContainerClientId(FacesContext context)
Override the
UIComponent.getContainerClientId(jakarta.faces.context.FacesContext) to allow users to disable this form from prepending its
clientId to its descendent's clientIds depending on the value of this form's
UIForm.isPrependId() property. |
String |
UIComponent.getContainerClientId(FacesContext context)
Allow components that implement
NamingContainer to selectively disable prepending their clientId to their
descendent's clientIds by breaking the prepending logic into a separately callable method. |
protected Object |
UIViewParameter.getConvertedValue(FacesContext context,
Object submittedValue)
Because this class has no |
protected Object |
UIInput.getConvertedValue(FacesContext context,
Object newSubmittedValue)
Convert the submitted value into a "local value" of the appropriate data type, if necessary.
|
static UIComponent |
UIComponent.getCurrentComponent(FacesContext context)
Return the |
static UIComponent |
UIComponent.getCurrentCompositeComponent(FacesContext context)
Return the closest ancestor component, relative to the component returned from |
protected Renderer |
UIComponentBase.getRenderer(FacesContext context) |
protected abstract Renderer |
UIComponent.getRenderer(FacesContext context)
Convenience method to return the
Renderer instance associated with this component, if any; otherwise, return
null. |
static char |
UINamingContainer.getSeparatorChar(FacesContext context)
Return the character used to separate segments of a clientId. |
String |
UIViewParameter.getStringValue(FacesContext context)
If the value of this parameter comes from a |
String |
UIViewParameter.getStringValueFromModel(FacesContext context)
Manually perform standard conversion steps to get a string value from the value expression. |
UIViewParameter |
UIViewParameter.Reference.getUIViewParameter(FacesContext context)
Return the |
void |
ContextCallback.invokeContextCallback(FacesContext context,
UIComponent target)
This method will be called by an implementation of
UIComponent.invokeOnComponent(jakarta.faces.context.FacesContext, java.lang.String, jakarta.faces.component.ContextCallback) and must be passed the
component with the clientId given as an argument to invokeOnComponent. |
boolean |
UIData.invokeOnComponent(FacesContext context,
String clientId,
ContextCallback callback)
Override behavior from
UIComponentBase.invokeOnComponent(jakarta.faces.context.FacesContext, java.lang.String, jakarta.faces.component.ContextCallback) to provide special care for positioning the data
properly before finding the component and invoking the callback on it. |
boolean |
UIComponentBase.invokeOnComponent(FacesContext context,
String clientId,
ContextCallback callback)
Starting at this component in the View hierarchy, search for a component
with a
clientId equal to the argument clientId and, if found, call the
ContextCallback.invokeContextCallback(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent) method on the argument callback, passing the current
FacesContext and the found component as arguments. |
boolean |
UIComponent.invokeOnComponent(FacesContext context,
String clientId,
ContextCallback callback)
Starting at this component in the View hierarchy, search for a component
with a
clientId equal to the argument clientId and, if found, call the
ContextCallback.invokeContextCallback(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent) method on the argument callback, passing the current
FacesContext and the found component as arguments. |
static boolean |
UIViewAction.isProcessingBroadcast(FacesContext context)
Returns |
void |
UIComponent.popComponentFromEL(FacesContext context)
Pop the current |
void |
UIViewRoot.processApplication(FacesContext context)
Broadcast any events that have been queued for the Invoke Application phase of the request processing
lifecycle and to clear out any events for later phases if the event processing for this phase caused
renderResponse() or responseComplete() to be called. |
void |
UIViewRoot.processDecodes(FacesContext context)
|
void |
UIData.processDecodes(FacesContext context)
Override the default
UIComponentBase.processDecodes(jakarta.faces.context.FacesContext) processing to perform the following steps. |
void |
UIComponentBase.processDecodes(FacesContext context) |
void |
UIInput.processDecodes(FacesContext context)
Specialized decode behavior on top of that provided by the superclass.
|
void |
UIForm.processDecodes(FacesContext context)
Override
UIComponent.processDecodes(jakarta.faces.context.FacesContext) to ensure that the form is decoded before its children. |
abstract void |
UIComponent.processDecodes(FacesContext context)
Perform the component tree processing required by the Apply Request
Values phase of the request processing lifecycle for all facets of this component, all children of this
component, and this component itself, as follows.
|
void |
UIViewRoot.processRestoreState(FacesContext context,
Object state)
The default implementation must call
|
void |
UIComponentBase.processRestoreState(FacesContext context,
Object state) |
abstract void |
UIComponent.processRestoreState(FacesContext context,
Object state)
Perform the component tree processing required by the Restore View
phase of the request processing lifecycle for all facets of this component, all children of this component, and this
component itself, as follows.
|
Object |
UIComponentBase.processSaveState(FacesContext context) |
abstract Object |
UIComponent.processSaveState(FacesContext context)
Perform the component tree processing required by the state saving portion
of the Render Response phase of the request processing lifecycle for all facets of this component, all
children of this component, and this component itself, as follows.
|
void |
UIViewRoot.processUpdates(FacesContext context)
|
void |
UIData.processUpdates(FacesContext context)
Override the default
UIComponentBase.processUpdates(jakarta.faces.context.FacesContext) processing to perform the following steps. |
void |
UIComponentBase.processUpdates(FacesContext context) |
void |
UIInput.processUpdates(FacesContext context)
In addition to the standard
processUpdates behavior inherited from UIComponentBase, calls
updateModel(). |
void |
UIForm.processUpdates(FacesContext context)
Override
UIComponent.processUpdates(jakarta.faces.context.FacesContext) to ensure that the children of this UIForm instance are only
processed if UIForm.isSubmitted() returns true. |
abstract void |
UIComponent.processUpdates(FacesContext context)
Perform the component tree processing required by the Update Model
Values phase of the request processing lifecycle for all facets of this component, all children of this
component, and this component itself, as follows.
|
void |
UIViewRoot.processValidators(FacesContext context)
|
void |
UIViewParameter.processValidators(FacesContext context)
Specialize superclass behavior to treat |
void |
UIData.processValidators(FacesContext context)
Override the default |
void |
UIComponentBase.processValidators(FacesContext context) |
void |
UISelectOne.processValidators(FacesContext context)
If |
void |
UIInput.processValidators(FacesContext context)
In addition to the standard
processValidators behavior
inherited from UIComponentBase, calls validate() if the immediate property is false
(which is the default); if the component is invalid afterwards, calls renderResponse(). |
void |
UIForm.processValidators(FacesContext context)
Override |
abstract void |
UIComponent.processValidators(FacesContext context)
Perform the component tree processing required by the Process
Validations phase of the request processing lifecycle for all facets of this component, all children of this
component, and this component itself, as follows.
|
void |
UIComponent.pushComponentToEL(FacesContext context,
UIComponent component)
Push the current |
void |
UIViewRoot.removeComponentResource(FacesContext context,
UIComponent componentResource)
Remove argument |
void |
UIViewRoot.removeComponentResource(FacesContext context,
UIComponent componentResource,
String target)
Remove argument |
void |
UIViewRoot.resetValues(FacesContext context,
Collection<String> clientIds)
Visit the clientIds and, if the component is an instance of |
static Object |
UIComponentBase.restoreAttachedState(FacesContext context,
Object stateObj)
This method is called by
UIComponent subclasses that need to restore the objects they saved using
UIComponentBase.saveAttachedState(jakarta.faces.context.FacesContext, java.lang.Object). |
void |
UIViewRoot.restoreState(FacesContext context,
Object state) |
void |
UIOutput.restoreState(FacesContext context,
Object state) |
void |
UIData.restoreState(FacesContext context,
Object state) |
void |
UIComponentBase.restoreState(FacesContext context,
Object state) |
void |
UIInput.restoreState(FacesContext context,
Object state) |
void |
StateHolder.restoreState(FacesContext context,
Object state)
Perform any processing required to restore the state from the entries
in the state Object.
|
void |
TransientStateHolder.restoreTransientState(FacesContext context,
Object state)
Restore the "transient state" using the object passed as state. |
void |
UIComponent.restoreTransientState(FacesContext context,
Object state)
For components that need to support the concept of transient state, this method will restore any state saved on a
prior call to |
void |
UIViewRoot.restoreViewScopeState(FacesContext context,
Object state)
Restore ViewScope state. |
static Object |
UIComponentBase.saveAttachedState(FacesContext context,
Object attachedObject)
This method is called by |
Object |
UIViewRoot.saveState(FacesContext context) |
Object |
UIOutput.saveState(FacesContext context) |
Object |
UIData.saveState(FacesContext context) |
Object |
UIComponentBase.saveState(FacesContext context) |
Object |
UIInput.saveState(FacesContext context) |
Object |
StateHolder.saveState(FacesContext context)
Gets the state of the instance as a
Serializable Object. |
Object |
TransientStateHolder.saveTransientState(FacesContext context)
Return the object containing related "transient states". |
Object |
UIComponent.saveTransientState(FacesContext context)
For components that need to support the concept of transient state, this method will save any state that is known to be transient in nature. |
void |
UIViewParameter.updateModel(FacesContext context)
Call through to superclass |
void |
UIInput.updateModel(FacesContext context)
Perform the following algorithm to update the model data associated with
this
UIInput, if any, as appropriate. |
void |
UIInput.validate(FacesContext context)
Perform the following algorithm
to validate the local value of this
UIInput. |
protected void |
UISelectMany.validateValue(FacesContext context,
Object value)
In addition to the standard validation behavior inherited from
UIInput, ensure that any specified values are equal to one of the available options. |
protected void |
UISelectOne.validateValue(FacesContext context,
Object value)
In addition to the standard validation behavior inherited from
UIInput, ensure that any specified value is equal to one of the available options. |
protected void |
UIInput.validateValue(FacesContext context,
Object newValue)
Set the "valid" property according to the below algorithm.
|
| Constructor and Description |
|---|
Reference(FacesContext context,
UIViewParameter param,
int indexInParent,
String viewIdAtTimeOfConstruction)
Construct a reference to a |
| Modifier and Type | Method and Description |
|---|---|
abstract FacesContext |
ClientBehaviorContext.getFacesContext()
Returns the |
| Modifier and Type | Method and Description |
|---|---|
static ClientBehaviorContext |
ClientBehaviorContext.createClientBehaviorContext(FacesContext context,
UIComponent component,
String eventName,
String sourceId,
Collection<ClientBehaviorContext.Parameter> parameters)
Creates a ClientBehaviorContext instance. |
void |
ClientBehaviorBase.decode(FacesContext context,
UIComponent component)
Default implementation of of |
void |
ClientBehavior.decode(FacesContext context,
UIComponent component)
Decode any new state of this |
protected ClientBehaviorRenderer |
ClientBehaviorBase.getRenderer(FacesContext context)
Convenience method to return the |
void |
BehaviorBase.restoreState(FacesContext context,
Object state)
|
void |
AjaxBehavior.restoreState(FacesContext context,
Object state) |
Object |
BehaviorBase.saveState(FacesContext context)
Implementation of |
Object |
AjaxBehavior.saveState(FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
Object |
HtmlInputFile.saveState(FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
abstract FacesContext |
SearchExpressionContext.getFacesContext()
Returns the FacesContext for the current request. |
| Modifier and Type | Method and Description |
|---|---|
static SearchExpressionContext |
SearchExpressionContext.createSearchExpressionContext(FacesContext context,
UIComponent source)
Creates a |
static SearchExpressionContext |
SearchExpressionContext.createSearchExpressionContext(FacesContext context,
UIComponent source,
Set<SearchExpressionHint> expressionHints,
Set<VisitHint> visitHints)
Creates a |
char[] |
SearchExpressionHandler.getExpressionSeperatorChars(FacesContext context)
Return the characters used to separate expressions in a series of expressions. |
char[] |
SearchExpressionHandlerWrapper.getExpressionSeperatorChars(FacesContext context) |
abstract SearchExpressionContext |
SearchExpressionContextFactory.getSearchExpressionContext(FacesContext context,
UIComponent source,
Set<SearchExpressionHint> expressionHints,
Set<VisitHint> visitHints)
Creates a |
abstract String[] |
SearchExpressionHandler.splitExpressions(FacesContext context,
String expressions)
Splits an string, based on |
String[] |
SearchExpressionHandlerWrapper.splitExpressions(FacesContext context,
String expressions) |
| Modifier and Type | Method and Description |
|---|---|
FacesContext |
VisitContextWrapper.getFacesContext() |
abstract FacesContext |
VisitContext.getFacesContext()
Returns the FacesContext for the current request. |
| Modifier and Type | Method and Description |
|---|---|
static VisitContext |
VisitContext.createVisitContext(FacesContext context)
Creates a VisitContext instance for use with
UIComponent.visitTree(). |
static VisitContext |
VisitContext.createVisitContext(FacesContext context,
Collection<String> ids,
Set<VisitHint> hints)
Returns a VisitContext instance that is initialized with the specified ids and hintsfor use with
UIComponent.visitTree(jakarta.faces.component.visit.VisitContext, jakarta.faces.component.visit.VisitCallback). |
abstract VisitContext |
VisitContextFactory.getVisitContext(FacesContext context,
Collection<String> ids,
Set<VisitHint> hints)
Return a new |
| Modifier and Type | Class and Description |
|---|---|
class |
FacesContextWrapper
Provides a simple implementation
of
FacesContext that can be subclassed by developers wishing to provide specialized behavior to an existing
FacesContext instance. |
| Modifier and Type | Method and Description |
|---|---|
static FacesContext |
FacesContext.getCurrentInstance()
Return the |
abstract FacesContext |
FacesContextFactory.getFacesContext(Object context,
Object request,
Object response,
Lifecycle lifecycle)
Create (if needed) and return a
FacesContext
instance that is initialized for the processing of the specified request and response objects, utilizing the
specified Lifecycle instance, for this web application. |
FacesContext |
FacesContextWrapper.getWrapped() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Flash.doPostPhaseActions(FacesContext ctx)
Called after the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle. |
void |
FlashWrapper.doPostPhaseActions(FacesContext ctx)
The default behavior of this method is to call |
abstract void |
Flash.doPrePhaseActions(FacesContext ctx)
Called before the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle. |
void |
FlashWrapper.doPrePhaseActions(FacesContext ctx)
The default behavior of this method is to call |
abstract PartialViewContext |
PartialViewContextFactory.getPartialViewContext(FacesContext context)
Create (if needed) and return a
PartialViewContext instance that is
initialized using the current FacesContext instance. |
protected static void |
FacesContext.setCurrentInstance(FacesContext context)
Set the
FacesContext instance for the request that is being processed by the current thread. |
| Constructor and Description |
|---|
FacesContextWrapper(FacesContext wrapped)
If this faces context has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
Object |
NumberConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
LongConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
FloatConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
DateTimeConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
T |
Converter.getAsObject(FacesContext context,
UIComponent component,
String value)
Convert the specified string value, which is associated with the specified
UIComponent, into a model data object that is appropriate for being stored during the
Process Validations phase of the request processing lifecycle. |
Object |
CharacterConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
BooleanConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
BigDecimalConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
ShortConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
IntegerConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
EnumConverter.getAsObject(FacesContext context,
UIComponent component,
String value)
Convert the
value argument to one of the enum constants of the class provided in our constructor. |
Object |
DoubleConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
ByteConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
BigIntegerConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
String |
NumberConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
LongConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
FloatConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
DateTimeConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
CharacterConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
BooleanConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
BigDecimalConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
ShortConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
IntegerConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
EnumConverter.getAsString(FacesContext context,
UIComponent component,
Object value)
Convert the enum constant given by the |
String |
DoubleConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
ByteConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
BigIntegerConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
Converter.getAsString(FacesContext context,
UIComponent component,
T value)
Convert the specified model object value, which is associated with the specified
UIComponent, into a String
that is suitable for being included in the response generated during the Render Response phase of the
request processing lifeycle. |
void |
NumberConverter.restoreState(FacesContext context,
Object state) |
void |
DateTimeConverter.restoreState(FacesContext context,
Object state) |
void |
EnumConverter.restoreState(FacesContext facesContext,
Object object) |
Object |
NumberConverter.saveState(FacesContext context) |
Object |
DateTimeConverter.saveState(FacesContext context) |
Object |
EnumConverter.saveState(FacesContext facesContext) |
| Modifier and Type | Method and Description |
|---|---|
abstract Class |
ValueBinding.getType(FacesContext context)
Deprecated.
Return the type of the property represented by this
ValueBinding, relative to the specified
FacesContext. |
abstract Class |
MethodBinding.getType(FacesContext context)
Deprecated.
Return the Java class representing the return type from the method identified by this method binding expression.
|
abstract Object |
ValueBinding.getValue(FacesContext context)
Deprecated.
Return the value of the property represented by this
ValueBinding, relative to the specified
FacesContext. |
abstract Object |
MethodBinding.invoke(FacesContext context,
Object[] params)
Deprecated.
Return the return value (if any) resulting from a call to the method identified by this method binding expression,
passing it the specified parameters, relative to the specified
FacesContext. |
abstract boolean |
ValueBinding.isReadOnly(FacesContext context)
Deprecated.
Return
true if the specified property of the specified property is known to be immutable; otherwise,
return false. |
abstract Object |
VariableResolver.resolveVariable(FacesContext context,
String name)
Deprecated.
Resolve the specified variable name, and return the corresponding object, if any; otherwise, return
null. |
abstract void |
ValueBinding.setValue(FacesContext context,
Object value)
Deprecated.
Set the value of the property represented by this
ValueBinding, relative to the specified
FacesContext. |
| Modifier and Type | Method and Description |
|---|---|
FacesContext |
ExceptionQueuedEventContext.getContext()
The |
FacesContext |
PhaseEvent.getFacesContext()
Return the
FacesContext for the request being processed. |
FacesContext |
FacesEvent.getFacesContext()
Get the Faces context. |
FacesContext |
SystemEvent.getFacesContext()
Get the Faces context. |
| Modifier and Type | Method and Description |
|---|---|
void |
MethodExpressionActionListener.restoreState(FacesContext context,
Object state)
Both |
void |
MethodExpressionValueChangeListener.restoreState(FacesContext context,
Object state)
Both |
Object |
MethodExpressionActionListener.saveState(FacesContext context)
Both |
Object |
MethodExpressionValueChangeListener.saveState(FacesContext context)
Both |
| Constructor and Description |
|---|
ActionEvent(FacesContext facesContext,
UIComponent component)
Construct a new event object from the Faces context, specified source component and action command. |
AjaxBehaviorEvent(FacesContext facesContext,
UIComponent component,
Behavior behavior)
Construct a new event object from the Faces context, specified source component and Ajax behavior. |
BehaviorEvent(FacesContext facesContext,
UIComponent component,
Behavior behavior)
Construct a new event object from the Faces context, specified source component and behavior. |
ComponentSystemEvent(FacesContext facesContext,
UIComponent component)
Pass the argument |
ExceptionQueuedEvent(FacesContext facesContext,
ExceptionQueuedEventContext eventContext)
Instantiate a new |
ExceptionQueuedEventContext(FacesContext context,
Throwable thrown)
Instantiate a new |
ExceptionQueuedEventContext(FacesContext context,
Throwable thrown,
UIComponent component)
Instantiate a new |
ExceptionQueuedEventContext(FacesContext context,
Throwable thrown,
UIComponent component,
PhaseId phaseId)
Instantiate a new |
FacesEvent(FacesContext facesContext,
UIComponent component)
Construct a new event object from the Faces context and specified source component. |
PhaseEvent(FacesContext context,
PhaseId phaseId,
Lifecycle lifecycle)
Construct a new event object from the specified parameters.
|
PostAddToViewEvent(FacesContext facesContext,
UIComponent component)
Instantiate a new |
PostConstructApplicationEvent(FacesContext facesContext,
Application application)
Constructs a new |
PostConstructCustomScopeEvent(FacesContext facesContext,
ScopeContext scopeContext)
An instance of this event indicates that the custom scope enclosed within the argument |
PostConstructViewMapEvent(FacesContext facesContext,
UIViewRoot root)
Instantiate a new |
PostKeepFlashValueEvent(FacesContext facesContext,
String key)
Instantiate a new |
PostPutFlashValueEvent(FacesContext facesContext,
String key)
Instantiate a new |
PostRenderViewEvent(FacesContext facesContext,
UIViewRoot root)
Instantiate a new |
PostRestoreStateEvent(FacesContext facesContext,
UIComponent component)
Instantiate a new |
PostValidateEvent(FacesContext facesContext,
UIComponent component)
Constructor |
PreClearFlashEvent(FacesContext facesContext,
Map<String,Object> source)
Instantiate a new |
PreDestroyApplicationEvent(FacesContext facesContext,
Application application)
Constructs a new |
PreDestroyCustomScopeEvent(FacesContext facesContext,
ScopeContext scopeContext)
An instance of this event indicates that the custom scope enclosed within the argument |
PreDestroyViewMapEvent(FacesContext facesContext,
UIViewRoot root)
Instantiate a new |
PreRemoveFlashValueEvent(FacesContext facesContext,
String key)
Instantiate a new |
PreRemoveFromViewEvent(FacesContext facesContext,
UIComponent component)
Instantiate a new |
PreRenderComponentEvent(FacesContext facesContext,
UIComponent component)
Instantiate a new |
PreRenderViewEvent(FacesContext facesContext,
UIViewRoot root)
Instantiate a new |
PreValidateEvent(FacesContext facesContext,
UIComponent component)
Constructor |
SystemEvent(FacesContext facesContext,
Object source)
Pass the argument |
ValueChangeEvent(FacesContext facesContext,
UIComponent component,
Object oldValue,
Object newValue)
Construct a new event object from the Faces context, specified source component, old value and new value. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
FlowHandler.addFlow(FacesContext context,
Flow toAdd)
Add the argument |
abstract void |
FlowHandler.clientWindowTransition(FacesContext context)
Allow for flow transitions in the case of components rendered by the renderers from component-family
|
FlowHandler |
FlowHandlerFactoryWrapper.createFlowHandler(FacesContext context) |
abstract FlowHandler |
FlowHandlerFactory.createFlowHandler(FacesContext context)
Create the singleton instance of |
abstract String |
FlowCallNode.getCalledFlowDocumentId(FacesContext context) |
abstract String |
FlowCallNode.getCalledFlowId(FacesContext context) |
abstract Boolean |
SwitchCase.getCondition(FacesContext context)
Return |
abstract Flow |
FlowHandler.getCurrentFlow(FacesContext context)
Return the currently active |
abstract String |
SwitchNode.getDefaultOutcome(FacesContext context)
Return the default outcome in this switch. |
abstract Flow |
FlowHandler.getFlow(FacesContext context,
String definingDocumentId,
String id)
Return the |
abstract String |
ReturnNode.getFromOutcome(FacesContext context)
Return the |
abstract String |
FlowHandler.getLastDisplayedViewId(FacesContext context)
Return the last displayed viewId for the current flow, as returned by
|
abstract boolean |
FlowHandler.isActive(FacesContext context,
String definingDocument,
String id)
Return |
abstract void |
FlowHandler.popReturnMode(FacesContext context)
Enable the correct handling of navigation when processing a return node. |
abstract void |
FlowHandler.pushReturnMode(FacesContext context)
Enable the correct handling of navigation when processing a return node. |
abstract void |
FlowHandler.transition(FacesContext context,
Flow sourceFlow,
Flow targetFlow,
FlowCallNode outboundCallNode,
String toViewId)
Perform a transition in the flow graph for the current user's |
| Modifier and Type | Method and Description |
|---|---|
void |
LifecycleWrapper.attachWindow(FacesContext context) |
void |
Lifecycle.attachWindow(FacesContext context)
Create or restore the |
abstract void |
ClientWindow.decode(FacesContext context)
The implementation is responsible for examining the incoming request and extracting the value that must be returned
from the |
void |
ClientWindowWrapper.decode(FacesContext context) |
void |
ClientWindow.disableClientWindowRenderMode(FacesContext context)
Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first before rendering those URLs. |
void |
ClientWindowWrapper.disableClientWindowRenderMode(FacesContext context) |
void |
ClientWindow.enableClientWindowRenderMode(FacesContext context)
Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first after rendering those URLs. |
void |
ClientWindowWrapper.enableClientWindowRenderMode(FacesContext context) |
void |
LifecycleWrapper.execute(FacesContext context) |
abstract void |
Lifecycle.execute(FacesContext context)
Execute all of the phases of the request processing lifecycle, up to but not including the Render Response
phase, as described in the Jakarta Server Faces Specification, in the specified order.
|
abstract ClientWindow |
ClientWindowFactory.getClientWindow(FacesContext context)
The implementation is responsible for creating the |
abstract Map<String,String> |
ClientWindow.getQueryURLParameters(FacesContext context)
This method will be called whenever a URL is generated by the runtime where client window related parameters need to be inserted into the URL. |
Map<String,String> |
ClientWindowWrapper.getQueryURLParameters(FacesContext context) |
boolean |
ClientWindow.isClientWindowRenderModeEnabled(FacesContext context)
Methods that append the ClientWindow to generated URLs must call this method to see if they are permitted to do so. |
boolean |
ClientWindowWrapper.isClientWindowRenderModeEnabled(FacesContext context) |
void |
LifecycleWrapper.render(FacesContext context) |
abstract void |
Lifecycle.render(FacesContext context)
Execute the Render Response phase of the request processing lifecycle, unless the
responseComplete() method has been called on the FacesContext instance associated with the
current request. |
| Modifier and Type | Method and Description |
|---|---|
String |
Renderer.convertClientId(FacesContext context,
String clientId)
Convert the component generated client id to a form suitable for transmission to the client.
|
String |
RendererWrapper.convertClientId(FacesContext context,
String clientId) |
void |
Renderer.decode(FacesContext context,
UIComponent component)
Decode any new state of the specified
UIComponent from the request contained in the specified
FacesContext, and store that state on the UIComponent. |
void |
RendererWrapper.decode(FacesContext context,
UIComponent component) |
void |
ClientBehaviorRenderer.decode(FacesContext context,
UIComponent component,
ClientBehavior behavior)
Decode any new state of this |
void |
Renderer.encodeBegin(FacesContext context,
UIComponent component)
Render the beginning specified
UIComponent to the output stream or writer associated with the response we are
creating. |
void |
RendererWrapper.encodeBegin(FacesContext context,
UIComponent component) |
void |
Renderer.encodeChildren(FacesContext context,
UIComponent component)
Render the child components of this
UIComponent, following the rules described for encodeBegin()
to acquire the appropriate value to be rendered. |
void |
RendererWrapper.encodeChildren(FacesContext context,
UIComponent component) |
void |
Renderer.encodeEnd(FacesContext context,
UIComponent component)
Render the ending of the current state of the specified
UIComponent, following the rules described for
encodeBegin() to acquire the appropriate value to be rendered. |
void |
RendererWrapper.encodeEnd(FacesContext context,
UIComponent component) |
Object |
ResponseStateManager.getComponentStateToRestore(FacesContext context)
Deprecated.
This method has been replaced by
ResponseStateManager.getState(jakarta.faces.context.FacesContext, java.lang.String). The default implementation returns null. |
Object |
Renderer.getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue)
Attempt to convert previously stored state information into an object of the type required for this component
(optionally using the registered
Converter for this component, if there is one). |
Object |
RendererWrapper.getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue) |
String |
ResponseStateManager.getCryptographicallyStrongTokenFromSession(FacesContext context)
Compliant implementations must return a cryptographically strong token for use to protect views in this application. |
abstract RenderKit |
RenderKitFactory.getRenderKit(FacesContext context,
String renderKitId)
Return a
RenderKit instance for the specified render kit identifier, possibly customized based on dynamic
characteristics of the specified FacesContext, if non-null. |
Object |
ResponseStateManager.getState(FacesContext context,
String viewId)
The implementation must inspect the current request and return an Object
representing the tree structure and component state passed in to a previous invocation of
ResponseStateManager.writeState(jakarta.faces.context.FacesContext,java.lang.Object). |
Object |
ResponseStateManager.getTreeStructureToRestore(FacesContext context,
String viewId)
Deprecated.
This method has been replaced by
ResponseStateManager.getState(jakarta.faces.context.FacesContext, java.lang.String). The default implementation returns null. |
String |
ResponseStateManager.getViewState(FacesContext context,
Object state)
Return the specified state as a
String without any markup related to the rendering technology supported
by this ResponseStateManager. |
boolean |
ResponseStateManager.isPostback(FacesContext context)
Return true if the current request is a postback.
|
boolean |
ResponseStateManager.isStateless(FacesContext context,
String viewId)
If the preceding call to |
void |
ResponseStateManager.writeState(FacesContext context,
Object state)
Take the argument
state and write it into the output using the
current ResponseWriter, which must be correctly positioned already. |
void |
ResponseStateManager.writeState(FacesContext context,
StateManager.SerializedView state)
Deprecated.
This method has been replaced by
ResponseStateManager.writeState(jakarta.faces.context.FacesContext,java.lang.Object). The default implementation creates a two
element Object array with the first element being the return from calling
StateManager.SerializedView.getStructure(), and the second being the return from StateManager.SerializedView.getState(). It then
passes this Object array to ResponseStateManager.writeState(jakarta.faces.context.FacesContext, java.lang.Object). |
| Modifier and Type | Method and Description |
|---|---|
void |
RegexValidator.restoreState(FacesContext context,
Object state) |
void |
LengthValidator.restoreState(FacesContext context,
Object state) |
void |
BeanValidator.restoreState(FacesContext context,
Object state) |
void |
MethodExpressionValidator.restoreState(FacesContext context,
Object state) |
void |
LongRangeValidator.restoreState(FacesContext context,
Object state) |
void |
DoubleRangeValidator.restoreState(FacesContext context,
Object state) |
Object |
RegexValidator.saveState(FacesContext context) |
Object |
LengthValidator.saveState(FacesContext context) |
Object |
BeanValidator.saveState(FacesContext context) |
Object |
MethodExpressionValidator.saveState(FacesContext context) |
Object |
LongRangeValidator.saveState(FacesContext context) |
Object |
DoubleRangeValidator.saveState(FacesContext context) |
void |
RegexValidator.validate(FacesContext context,
UIComponent component,
Object value)
Validate a String against a regular expression pattern.
|
void |
LengthValidator.validate(FacesContext context,
UIComponent component,
Object value) |
void |
BeanValidator.validate(FacesContext context,
UIComponent component,
Object value)
Verify that the value is valid according to the Bean Validation constraints. |
void |
RequiredValidator.validate(FacesContext context,
UIComponent component,
Object value)
Verify that the converted object value is not null.
|
void |
MethodExpressionValidator.validate(FacesContext context,
UIComponent component,
Object value) |
void |
LongRangeValidator.validate(FacesContext context,
UIComponent component,
Object value) |
void |
DoubleRangeValidator.validate(FacesContext context,
UIComponent component,
Object value) |
void |
Validator.validate(FacesContext context,
UIComponent component,
T value)
|
| Modifier and Type | Method and Description |
|---|---|
void |
AttachedObjectHandler.applyAttachedObject(FacesContext context,
UIComponent parent)
Take the argument |
void |
ViewDeclarationLanguageWrapper.buildView(FacesContext context,
UIViewRoot root) |
abstract void |
ViewDeclarationLanguage.buildView(FacesContext context,
UIViewRoot root)
Take any actions specific to this VDL implementation to cause the argument
|
List<String> |
ViewDeclarationLanguageWrapper.calculateResourceLibraryContracts(FacesContext context,
String viewId) |
List<String> |
ViewDeclarationLanguage.calculateResourceLibraryContracts(FacesContext context,
String viewId)
Return the list of resource library contracts that will be made available for use in the view specified by the
argument |
UIComponent |
ViewDeclarationLanguageWrapper.createComponent(FacesContext context,
String taglibURI,
String tagName,
Map<String,Object> attributes) |
UIComponent |
ViewDeclarationLanguage.createComponent(FacesContext context,
String taglibURI,
String tagName,
Map<String,Object> attributes)
Create a component given a |
abstract UIViewRoot |
ViewMetadata.createMetadataView(FacesContext context)
Creates a new |
UIViewRoot |
ViewDeclarationLanguageWrapper.createView(FacesContext context,
String viewId) |
abstract UIViewRoot |
ViewDeclarationLanguage.createView(FacesContext context,
String viewId)
Create a |
BeanInfo |
ViewDeclarationLanguageWrapper.getComponentMetadata(FacesContext context,
Resource componentResource) |
abstract BeanInfo |
ViewDeclarationLanguage.getComponentMetadata(FacesContext context,
Resource componentResource)
Return a reference to the component metadata for the composite component represented by the argument
|
Resource |
ViewDeclarationLanguageWrapper.getScriptComponentResource(FacesContext context,
Resource componentResource) |
abstract Resource |
ViewDeclarationLanguage.getScriptComponentResource(FacesContext context,
Resource componentResource)
Take implementation specific action to discover a |
StateManagementStrategy |
ViewDeclarationLanguageWrapper.getStateManagementStrategy(FacesContext context,
String viewId) |
abstract StateManagementStrategy |
ViewDeclarationLanguage.getStateManagementStrategy(FacesContext context,
String viewId)
For implementations that want to control the implementation of state saving and restoring, the
|
ViewMetadata |
ViewDeclarationLanguageWrapper.getViewMetadata(FacesContext context,
String viewId) |
abstract ViewMetadata |
ViewDeclarationLanguage.getViewMetadata(FacesContext context,
String viewId)
Return a reference to the view metadata for the view represented by the argument |
Stream<String> |
ViewDeclarationLanguageWrapper.getViews(FacesContext context,
String path,
int maxDepth,
ViewVisitOption... options) |
Stream<String> |
ViewDeclarationLanguage.getViews(FacesContext facesContext,
String path,
int maxDepth,
ViewVisitOption... options)
Return a |
Stream<String> |
ViewDeclarationLanguageWrapper.getViews(FacesContext context,
String path,
ViewVisitOption... options) |
Stream<String> |
ViewDeclarationLanguage.getViews(FacesContext facesContext,
String path,
ViewVisitOption... options)
Return a |
void |
ViewDeclarationLanguageWrapper.renderView(FacesContext context,
UIViewRoot view) |
abstract void |
ViewDeclarationLanguage.renderView(FacesContext context,
UIViewRoot view)
Render a view rooted at argument |
UIViewRoot |
ViewDeclarationLanguageWrapper.restoreView(FacesContext context,
String viewId) |
abstract UIViewRoot |
ViewDeclarationLanguage.restoreView(FacesContext context,
String viewId)
Restore a |
abstract UIViewRoot |
StateManagementStrategy.restoreView(FacesContext context,
String viewId,
String renderKitId)
Restore the state of the view with information in the request. |
void |
ViewDeclarationLanguageWrapper.retargetAttachedObjects(FacesContext context,
UIComponent topLevelComponent,
List<AttachedObjectHandler> handlers) |
void |
ViewDeclarationLanguage.retargetAttachedObjects(FacesContext context,
UIComponent topLevelComponent,
List<AttachedObjectHandler> handlers)
Assuming the component metadata for argument
|
void |
ViewDeclarationLanguageWrapper.retargetMethodExpressions(FacesContext context,
UIComponent topLevelComponent) |
void |
ViewDeclarationLanguage.retargetMethodExpressions(FacesContext context,
UIComponent topLevelComponent)
Assuming the component metadata for argument |
abstract Object |
StateManagementStrategy.saveView(FacesContext context)
Return the state of the current view in an |
boolean |
ViewDeclarationLanguageWrapper.viewExists(FacesContext context,
String viewId) |
boolean |
ViewDeclarationLanguage.viewExists(FacesContext context,
String viewId)
Tests whether a physical resource corresponding to the specified viewId exists. |
| Modifier and Type | Method and Description |
|---|---|
abstract FacesContext |
FaceletContext.getFacesContext()
The current FacesContext bound to this "request". |
| Modifier and Type | Method and Description |
|---|---|
abstract 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.
|
void |
FaceletsAttachedObjectHandler.applyAttachedObject(FacesContext ctx,
UIComponent parent)
Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this
class to the argument |
| Modifier and Type | Method and Description |
|---|---|
protected FacesContext |
UIComponentClassicTagBase.getFacesContext() |
protected abstract FacesContext |
UIComponentTagBase.getFacesContext()
Return the
FacesContext instance for the current request. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract UIComponent |
UIComponentClassicTagBase.createComponent(FacesContext context,
String newId)
Create and return a new child component of the type returned by calling
getComponentType(). |
protected UIComponent |
UIComponentTag.createComponent(FacesContext context,
String newId)
Deprecated.
Implement
createComponent using Faces 1.1 EL API. |
protected UIComponent |
UIComponentELTag.createComponent(FacesContext context,
String newId)
Create and return a new child component of the type returned by calling
getComponentType(). |
protected UIComponent |
UIComponentClassicTagBase.findComponent(FacesContext context)
Find and return the
UIComponent, from the component tree, that corresponds to this tag handler instance. |
Copyright © 1997–2020 Eclipse Foundation. All rights reserved.