|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FacesContext | |
---|---|
javax.faces.application | APIs that are used to link an application's business logic objects to JavaServer Faces, as well as convenient pluggable mechanisms to manage the execution of an application that is based on JavaServer Faces. |
javax.faces.component | Fundamental APIs for user interface components. |
javax.faces.component.behavior | APIs for attaching additional behavior to user interface components. |
javax.faces.component.visit | APIs for traversing a user interface component view. |
javax.faces.context | Classes and interfaces defining per-request state information. |
javax.faces.convert | Contains classes and interfaces defining converters. |
javax.faces.el | DEPRECATED Classes and interfaces for evaluating and processing reference expressions. |
javax.faces.event | Interfaces describing events and event listeners, and concrete event implementation classes. |
javax.faces.lifecycle | Classes and interfaces defining lifecycle management for the JavaServer Faces implementation. |
javax.faces.render | Classes and interfaces defining the rendering model. |
javax.faces.validator | Interface defining the validator model, and concrete validator implementation classes. |
javax.faces.view | Classes for defining a View Declaration Language (VDL) for authoring JavaServer Faces user interfaces. |
javax.faces.view.facelets | This package contains public classes for the Java code API of Facelets. |
javax.faces.webapp | Classes required for integration of JavaServer Faces into web applications, including a standard servlet, base classes for JSP custom component tags, and concrete tag implementations for core tags. |
Uses of FacesContext in javax.faces.application |
---|
Methods in javax.faces.application with parameters of type FacesContext | ||
---|---|---|
java.lang.String |
ViewHandler.calculateCharacterEncoding(FacesContext context)
Returns the correct character encoding to be used for this request. |
|
java.lang.String |
ViewHandlerWrapper.calculateCharacterEncoding(FacesContext context)
The default behavior of this method is to call ViewHandler.calculateCharacterEncoding(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
|
java.lang.String |
ViewHandlerWrapper.calculateCharacterEncoding(FacesContext context)
The default behavior of this method is to call ViewHandler.calculateCharacterEncoding(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
|
java.lang.String |
ViewHandler.calculateCharacterEncoding(FacesContext context)
Returns the correct character encoding to be used for this request. |
|
abstract java.util.Locale |
ViewHandler.calculateLocale(FacesContext context)
Returns an appropriate Locale to use for this and
subsequent requests for the current client. |
|
java.util.Locale |
ViewHandlerWrapper.calculateLocale(FacesContext context)
The default behavior of this method is to call ViewHandler.calculateLocale(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
|
java.util.Locale |
ViewHandlerWrapper.calculateLocale(FacesContext context)
The default behavior of this method is to call ViewHandler.calculateLocale(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
|
abstract java.util.Locale |
ViewHandler.calculateLocale(FacesContext context)
Returns an appropriate Locale to use for this and
subsequent requests for the current client. |
|
abstract java.lang.String |
ViewHandler.calculateRenderKitId(FacesContext context)
Return an appropriate renderKitId for this and
subsequent requests from the current client. |
|
java.lang.String |
ViewHandlerWrapper.calculateRenderKitId(FacesContext context)
The default behavior of this method is to call ViewHandler.calculateRenderKitId(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
|
java.lang.String |
ViewHandlerWrapper.calculateRenderKitId(FacesContext context)
The default behavior of this method is to call ViewHandler.calculateRenderKitId(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
|
abstract java.lang.String |
ViewHandler.calculateRenderKitId(FacesContext context)
Return an appropriate renderKitId for this and
subsequent requests from the current client. |
|
UIComponent |
Application.createComponent(FacesContext context,
Resource componentResource)
Instantiate and return
a new |
|
UIComponent |
ApplicationWrapper.createComponent(FacesContext context,
Resource componentResource)
The default behavior of this method
is to call |
|
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 |
Application.createComponent(FacesContext context,
java.lang.String componentType,
java.lang.String rendererType)
Like |
|
UIComponent |
ApplicationWrapper.createComponent(FacesContext context,
java.lang.String componentType,
java.lang.String rendererType)
The default behavior of this method
is to call |
|
UIComponent |
ApplicationWrapper.createComponent(FacesContext context,
java.lang.String componentType,
java.lang.String rendererType)
The default behavior of this method
is to call |
|
UIComponent |
Application.createComponent(FacesContext context,
java.lang.String componentType,
java.lang.String rendererType)
Like |
|
abstract UIComponent |
Application.createComponent(ValueBinding componentBinding,
FacesContext context,
java.lang.String componentType)
Deprecated. This has been replaced by #createComponent(javax.el.ValueExpression,javax.faces.context.FacesContext,java.lang.String) . |
|
UIComponent |
ApplicationWrapper.createComponent(ValueBinding componentBinding,
FacesContext context,
java.lang.String componentType)
The default behavior of this method
is to call |
|
UIComponent |
ApplicationWrapper.createComponent(ValueBinding componentBinding,
FacesContext context,
java.lang.String componentType)
The default behavior of this method
is to call |
|
abstract UIComponent |
Application.createComponent(ValueBinding componentBinding,
FacesContext context,
java.lang.String componentType)
Deprecated. This has been replaced by #createComponent(javax.el.ValueExpression,javax.faces.context.FacesContext,java.lang.String) . |
|
UIComponent |
Application.createComponent(ValueExpression componentExpression,
FacesContext context,
java.lang.String componentType)
Call the getValue() method on the specified ValueExpression . |
|
UIComponent |
ApplicationWrapper.createComponent(ValueExpression componentExpression,
FacesContext context,
java.lang.String componentType)
The default behavior of this method
is to call |
|
UIComponent |
ApplicationWrapper.createComponent(ValueExpression componentExpression,
FacesContext context,
java.lang.String componentType)
The default behavior of this method
is to call |
|
UIComponent |
Application.createComponent(ValueExpression componentExpression,
FacesContext context,
java.lang.String componentType)
Call the getValue() method on the specified ValueExpression . |
|
UIComponent |
Application.createComponent(ValueExpression componentExpression,
FacesContext context,
java.lang.String componentType,
java.lang.String rendererType)
Like |
|
UIComponent |
ApplicationWrapper.createComponent(ValueExpression componentExpression,
FacesContext context,
java.lang.String componentType,
java.lang.String rendererType)
The default behavior of this method
is to call |
|
UIComponent |
ApplicationWrapper.createComponent(ValueExpression componentExpression,
FacesContext context,
java.lang.String componentType,
java.lang.String rendererType)
The default behavior of this method
is to call |
|
UIComponent |
Application.createComponent(ValueExpression componentExpression,
FacesContext context,
java.lang.String componentType,
java.lang.String rendererType)
Like |
|
abstract UIViewRoot |
ViewHandler.createView(FacesContext context,
java.lang.String viewId)
Create and return a new UIViewRoot instance initialized with
information from the argument FacesContext and
viewId . |
|
UIViewRoot |
ViewHandlerWrapper.createView(FacesContext context,
java.lang.String viewId)
The default behavior of this method is to call ViewHandler.createView(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
|
UIViewRoot |
ViewHandlerWrapper.createView(FacesContext context,
java.lang.String viewId)
The default behavior of this method is to call ViewHandler.createView(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
|
abstract UIViewRoot |
ViewHandler.createView(FacesContext context,
java.lang.String viewId)
Create and return a new UIViewRoot instance initialized with
information from the argument FacesContext and
viewId . |
|
java.lang.String |
ViewHandler.deriveLogicalViewId(FacesContext context,
java.lang.String rawViewId)
Derive and return the viewId from the current request, or the argument input by following the algorithm defined in specification section JSF.7.5.2. |
|
java.lang.String |
ViewHandlerWrapper.deriveLogicalViewId(FacesContext context,
java.lang.String input)
The default behavior of this method is to
call |
|
java.lang.String |
ViewHandlerWrapper.deriveLogicalViewId(FacesContext context,
java.lang.String input)
The default behavior of this method is to
call |
|
java.lang.String |
ViewHandler.deriveLogicalViewId(FacesContext context,
java.lang.String rawViewId)
Derive and return the viewId from the current request, or the argument input by following the algorithm defined in specification section JSF.7.5.2. |
|
java.lang.String |
ViewHandler.deriveViewId(FacesContext context,
java.lang.String rawViewId)
Derive and return the viewId from the current request, or the argument input by following the algorithm defined in specification section JSF.7.5.2. |
|
java.lang.String |
ViewHandlerWrapper.deriveViewId(FacesContext context,
java.lang.String input)
The default behavior of this method is to call ViewHandler.deriveViewId(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
|
java.lang.String |
ViewHandlerWrapper.deriveViewId(FacesContext context,
java.lang.String input)
The default behavior of this method is to call ViewHandler.deriveViewId(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
|
java.lang.String |
ViewHandler.deriveViewId(FacesContext context,
java.lang.String rawViewId)
Derive and return the viewId from the current request, or the argument input by following the algorithm defined in specification section JSF.7.5.2. |
|
|
Application.evaluateExpressionGet(FacesContext context,
java.lang.String expression,
java.lang.Class<? extends T> expectedType)
Get a value by evaluating an expression. |
|
|
ApplicationWrapper.evaluateExpressionGet(FacesContext context,
java.lang.String expression,
java.lang.Class<? extends T> expectedType)
The default behavior of this method
is to call |
|
|
ApplicationWrapper.evaluateExpressionGet(FacesContext context,
java.lang.String expression,
java.lang.Class<? extends T> expectedType)
The default behavior of this method
is to call |
|
|
Application.evaluateExpressionGet(FacesContext context,
java.lang.String expression,
java.lang.Class<? extends T> expectedType)
Get a value by evaluating an expression. |
|
java.net.URL |
NavigationCase.getActionURL(FacesContext context)
Construct an absolute URL to this
|
|
java.net.URL |
NavigationCase.getActionURL(FacesContext context)
Construct an absolute URL to this
|
|
abstract java.lang.String |
ViewHandler.getActionURL(FacesContext context,
java.lang.String viewId)
If the value returned from this
method is used as the |
|
java.lang.String |
ViewHandlerWrapper.getActionURL(FacesContext context,
java.lang.String viewId)
The default behavior of this method is to call ViewHandler.getActionURL(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
|
java.lang.String |
ViewHandlerWrapper.getActionURL(FacesContext context,
java.lang.String viewId)
The default behavior of this method is to call ViewHandler.getActionURL(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
|
abstract java.lang.String |
ViewHandler.getActionURL(FacesContext context,
java.lang.String viewId)
If the value returned from this
method is used as the |
|
java.net.URL |
NavigationCase.getBookmarkableURL(FacesContext context)
Construct an absolute URL suitable for a
bookmarkable link to this |
|
java.net.URL |
NavigationCase.getBookmarkableURL(FacesContext context)
Construct an absolute URL suitable for a
bookmarkable link to this |
|
java.lang.String |
ViewHandler.getBookmarkableURL(FacesContext context,
java.lang.String viewId,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters,
boolean includeViewParams)
Return a JSF action URL derived from the viewId argument that is suitable to be used as the target of a link in a JSF response. |
|
java.lang.String |
ViewHandlerWrapper.getBookmarkableURL(FacesContext context,
java.lang.String viewId,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters,
boolean includeViewParams)
The default behavior of this method is to call ViewHandler.getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
on the wrapped ViewHandler object. |
|
java.lang.String |
ViewHandlerWrapper.getBookmarkableURL(FacesContext context,
java.lang.String viewId,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters,
boolean includeViewParams)
The default behavior of this method is to call ViewHandler.getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
on the wrapped ViewHandler object. |
|
java.lang.String |
ViewHandler.getBookmarkableURL(FacesContext context,
java.lang.String viewId,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters,
boolean includeViewParams)
Return a JSF action URL derived from the viewId argument that is suitable to be used as the target of a link in a JSF response. |
|
protected java.lang.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 java.lang.Object |
StateManagerWrapper.getComponentStateToSave(FacesContext context)
The default behavior of this method is to call StateManager.getComponentStateToSave(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
|
protected java.lang.Object |
StateManagerWrapper.getComponentStateToSave(FacesContext context)
The default behavior of this method is to call StateManager.getComponentStateToSave(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
|
protected java.lang.Object |
StateManager.getComponentStateToSave(FacesContext context)
Deprecated. the distinction between tree structure and component state is now an implementation detail. The default implementation returns null . |
|
java.lang.Boolean |
NavigationCase.getCondition(FacesContext context)
Evaluates the
|
|
java.lang.Boolean |
NavigationCase.getCondition(FacesContext context)
Evaluates the
|
|
abstract NavigationCase |
ConfigurableNavigationHandler.getNavigationCase(FacesContext context,
java.lang.String fromAction,
java.lang.String outcome)
Return the |
|
abstract NavigationCase |
ConfigurableNavigationHandler.getNavigationCase(FacesContext context,
java.lang.String fromAction,
java.lang.String outcome)
Return the |
|
java.net.URL |
NavigationCase.getRedirectURL(FacesContext context)
Construct an absolute URL suitable for a
"redirect" to this |
|
java.net.URL |
NavigationCase.getRedirectURL(FacesContext context)
Construct an absolute URL suitable for a
"redirect" to this |
|
java.lang.String |
ViewHandler.getRedirectURL(FacesContext context,
java.lang.String viewId,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters,
boolean includeViewParams)
Return a JSF action URL derived
from the |
|
java.lang.String |
ViewHandlerWrapper.getRedirectURL(FacesContext context,
java.lang.String viewId,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters,
boolean includeViewParams)
The default behavior of this method is to call ViewHandler.getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
on the wrapped ViewHandler object. |
|
java.lang.String |
ViewHandlerWrapper.getRedirectURL(FacesContext context,
java.lang.String viewId,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters,
boolean includeViewParams)
The default behavior of this method is to call ViewHandler.getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
on the wrapped ViewHandler object. |
|
java.lang.String |
ViewHandler.getRedirectURL(FacesContext context,
java.lang.String viewId,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters,
boolean includeViewParams)
Return a JSF action URL derived
from the |
|
java.util.ResourceBundle |
Application.getResourceBundle(FacesContext ctx,
java.lang.String name)
Find a ResourceBundle as defined in the
application configuration resources under the specified name. |
|
java.util.ResourceBundle |
ApplicationWrapper.getResourceBundle(FacesContext ctx,
java.lang.String name)
The default behavior of this method
is to call |
|
java.util.ResourceBundle |
ApplicationWrapper.getResourceBundle(FacesContext ctx,
java.lang.String name)
The default behavior of this method
is to call |
|
java.util.ResourceBundle |
Application.getResourceBundle(FacesContext ctx,
java.lang.String name)
Find a ResourceBundle as defined in the
application configuration resources under the specified name. |
|
java.net.URL |
NavigationCase.getResourceURL(FacesContext context)
Construct an absolute URL to this
|
|
java.net.URL |
NavigationCase.getResourceURL(FacesContext context)
Construct an absolute URL to this
|
|
abstract java.lang.String |
ViewHandler.getResourceURL(FacesContext context,
java.lang.String path)
If the value returned from this
method is used as the |
|
java.lang.String |
ViewHandlerWrapper.getResourceURL(FacesContext context,
java.lang.String path)
The default behavior of this method is to call ViewHandler.getResourceURL(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
|
java.lang.String |
ViewHandlerWrapper.getResourceURL(FacesContext context,
java.lang.String path)
The default behavior of this method is to call ViewHandler.getResourceURL(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
|
abstract java.lang.String |
ViewHandler.getResourceURL(FacesContext context,
java.lang.String path)
If the value returned from this
method is used as the |
|
java.lang.String |
NavigationCase.getToViewId(FacesContext context)
Evaluates the |
|
java.lang.String |
NavigationCase.getToViewId(FacesContext context)
Evaluates the |
|
protected java.lang.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 java.lang.Object |
StateManagerWrapper.getTreeStructureToSave(FacesContext context)
The default behavior of this method is to call StateManager.getTreeStructureToSave(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
|
protected java.lang.Object |
StateManagerWrapper.getTreeStructureToSave(FacesContext context)
The default behavior of this method is to call StateManager.getTreeStructureToSave(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
|
protected java.lang.Object |
StateManager.getTreeStructureToSave(FacesContext context)
Deprecated. the distinction between tree structure and component state is now an implementation detail. The default implementation returns null . |
|
ViewDeclarationLanguage |
ViewHandler.getViewDeclarationLanguage(FacesContext context,
java.lang.String viewId)
Return
the |
|
ViewDeclarationLanguage |
ViewHandlerWrapper.getViewDeclarationLanguage(FacesContext context,
java.lang.String viewId)
The default behavior of this method is to call ViewHandler.getViewDeclarationLanguage(javax.faces.context.FacesContext, java.lang.String)
on the wrapped ViewHandler object. |
|
ViewDeclarationLanguage |
ViewHandlerWrapper.getViewDeclarationLanguage(FacesContext context,
java.lang.String viewId)
The default behavior of this method is to call ViewHandler.getViewDeclarationLanguage(javax.faces.context.FacesContext, java.lang.String)
on the wrapped ViewHandler object. |
|
ViewDeclarationLanguage |
ViewHandler.getViewDeclarationLanguage(FacesContext context,
java.lang.String viewId)
Return
the |
|
java.lang.String |
StateManager.getViewState(FacesContext context)
Convenience method to return the view state as a |
|
java.lang.String |
StateManagerWrapper.getViewState(FacesContext context)
The default behavior of this method
is to call |
|
java.lang.String |
StateManagerWrapper.getViewState(FacesContext context)
The default behavior of this method
is to call |
|
java.lang.String |
StateManager.getViewState(FacesContext context)
Convenience method to return the view state as a |
|
abstract void |
NavigationHandler.handleNavigation(FacesContext context,
java.lang.String fromAction,
java.lang.String outcome)
Perform navigation processing based on the state information in the specified FacesContext , plus the outcome string returned by an executed
application action. |
|
abstract void |
NavigationHandler.handleNavigation(FacesContext context,
java.lang.String fromAction,
java.lang.String outcome)
Perform navigation processing based on the state information in the specified FacesContext , plus the outcome string returned by an executed
application action. |
|
abstract void |
ResourceHandler.handleResourceRequest(FacesContext context)
This method specifies the contract for satisfying resource requests. |
|
void |
ResourceHandlerWrapper.handleResourceRequest(FacesContext context)
The default behavior of this method
is to call |
|
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(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
|
void |
ViewHandlerWrapper.initView(FacesContext context)
The default behavior of this method is to call ViewHandler.initView(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
|
void |
ViewHandler.initView(FacesContext context)
Initialize the view for the request processing lifecycle. |
|
abstract boolean |
ResourceHandler.isResourceRequest(FacesContext context)
Return |
|
boolean |
ResourceHandlerWrapper.isResourceRequest(FacesContext context)
The default behavior of this method
is to call |
|
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)
|
|
boolean |
StateManagerWrapper.isSavingStateInClient(FacesContext context)
The default behavior of this method is to call StateManager.isSavingStateInClient(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
|
boolean |
StateManagerWrapper.isSavingStateInClient(FacesContext context)
The default behavior of this method is to call StateManager.isSavingStateInClient(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
|
boolean |
StateManager.isSavingStateInClient(FacesContext context)
|
|
void |
Application.publishEvent(FacesContext context,
java.lang.Class<? extends SystemEvent> systemEventClass,
java.lang.Class<?> sourceBaseType,
java.lang.Object source)
This method functions exactly like
|
|
void |
ApplicationWrapper.publishEvent(FacesContext context,
java.lang.Class<? extends SystemEvent> systemEventClass,
java.lang.Class<?> sourceBaseType,
java.lang.Object source)
The default behavior of this method
is to call |
|
void |
ApplicationWrapper.publishEvent(FacesContext context,
java.lang.Class<? extends SystemEvent> systemEventClass,
java.lang.Class<?> sourceBaseType,
java.lang.Object source)
The default behavior of this method
is to call |
|
void |
Application.publishEvent(FacesContext context,
java.lang.Class<? extends SystemEvent> systemEventClass,
java.lang.Class<?> sourceBaseType,
java.lang.Object source)
This method functions exactly like
|
|
void |
Application.publishEvent(FacesContext context,
java.lang.Class<? extends SystemEvent> systemEventClass,
java.lang.Object source)
If |
|
void |
ApplicationWrapper.publishEvent(FacesContext context,
java.lang.Class<? extends SystemEvent> systemEventClass,
java.lang.Object source)
The default behavior of this method
is to call |
|
void |
ApplicationWrapper.publishEvent(FacesContext context,
java.lang.Class<? extends SystemEvent> systemEventClass,
java.lang.Object source)
The default behavior of this method
is to call |
|
void |
Application.publishEvent(FacesContext context,
java.lang.Class<? extends SystemEvent> systemEventClass,
java.lang.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(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot)
on the wrapped ViewHandler object. |
|
void |
ViewHandlerWrapper.renderView(FacesContext context,
UIViewRoot viewToRender)
The default behavior of this method is to call ViewHandler.renderView(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot)
on the wrapped ViewHandler object. |
|
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 . |
|
protected void |
StateManager.restoreComponentState(FacesContext context,
UIViewRoot viewRoot,
java.lang.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,
java.lang.String renderKitId)
The default behavior of this method is to call StateManager.restoreComponentState(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot, String)
on the wrapped StateManager object. |
|
protected void |
StateManagerWrapper.restoreComponentState(FacesContext context,
UIViewRoot viewRoot,
java.lang.String renderKitId)
The default behavior of this method is to call StateManager.restoreComponentState(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot, String)
on the wrapped StateManager object. |
|
protected void |
StateManager.restoreComponentState(FacesContext context,
UIViewRoot viewRoot,
java.lang.String renderKitId)
Deprecated. the distinction between tree structure and component state is now an implementation detail. The default implementation does nothing. |
|
protected UIViewRoot |
StateManager.restoreTreeStructure(FacesContext context,
java.lang.String viewId,
java.lang.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,
java.lang.String viewId,
java.lang.String renderKitId)
The default behavior of this method is to call StateManager.restoreTreeStructure(javax.faces.context.FacesContext, String, String)
on the wrapped StateManager object. |
|
protected UIViewRoot |
StateManagerWrapper.restoreTreeStructure(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
The default behavior of this method is to call StateManager.restoreTreeStructure(javax.faces.context.FacesContext, String, String)
on the wrapped StateManager object. |
|
protected UIViewRoot |
StateManager.restoreTreeStructure(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
Deprecated. the distinction between tree structure and component state is now an implementation detail. The default implementation returns null . |
|
abstract UIViewRoot |
ViewHandler.restoreView(FacesContext context,
java.lang.String viewId)
Perform whatever actions are required to restore the view associated with the specified FacesContext and viewId . |
|
UIViewRoot |
ViewHandlerWrapper.restoreView(FacesContext context,
java.lang.String viewId)
The default behavior of this method is to call ViewHandler.restoreView(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
|
UIViewRoot |
ViewHandlerWrapper.restoreView(FacesContext context,
java.lang.String viewId)
The default behavior of this method is to call ViewHandler.restoreView(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
|
abstract UIViewRoot |
ViewHandler.restoreView(FacesContext context,
java.lang.String viewId)
Perform whatever actions are required to restore the view associated with the specified FacesContext and viewId . |
|
abstract UIViewRoot |
StateManager.restoreView(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
Restore the tree structure and the component state of the view for the specified viewId , in an implementation dependent
manner, and return the restored UIViewRoot . |
|
UIViewRoot |
StateManagerWrapper.restoreView(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
The default behavior of this method is to call StateManager.restoreView(javax.faces.context.FacesContext, String, String)
on the wrapped StateManager object. |
|
UIViewRoot |
StateManagerWrapper.restoreView(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
The default behavior of this method is to call StateManager.restoreView(javax.faces.context.FacesContext, String, String)
on the wrapped StateManager object. |
|
abstract UIViewRoot |
StateManager.restoreView(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
Restore the tree structure and the component state of the view for the specified viewId , in an implementation dependent
manner, and return the restored UIViewRoot . |
|
StateManager.SerializedView |
StateManager.saveSerializedView(FacesContext context)
Deprecated. this has been replaced by StateManager.saveView(javax.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 return null |
|
StateManager.SerializedView |
StateManagerWrapper.saveSerializedView(FacesContext context)
The default behavior of this method is to call StateManager.saveSerializedView(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
|
StateManager.SerializedView |
StateManagerWrapper.saveSerializedView(FacesContext context)
The default behavior of this method is to call StateManager.saveSerializedView(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
|
StateManager.SerializedView |
StateManager.saveSerializedView(FacesContext context)
Deprecated. this has been replaced by StateManager.saveView(javax.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 return null |
|
java.lang.Object |
StateManager.saveView(FacesContext context)
Return an opaque Object containing sufficient
information for this same instance to restore the state of the
current UIViewRoot on a subsequent request. |
|
java.lang.Object |
StateManagerWrapper.saveView(FacesContext context)
The default behavior of this method is to call StateManager.saveView(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
|
java.lang.Object |
StateManagerWrapper.saveView(FacesContext context)
The default behavior of this method is to call StateManager.saveView(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
|
java.lang.Object |
StateManager.saveView(FacesContext context)
Return an opaque Object containing sufficient
information for this same instance to restore the state of the
current UIViewRoot on a subsequent request. |
|
abstract boolean |
Resource.userAgentNeedsUpdate(FacesContext context)
Return |
|
boolean |
ResourceWrapper.userAgentNeedsUpdate(FacesContext context)
The default behavior of this method
is to call |
|
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(javax.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(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
|
void |
ViewHandlerWrapper.writeState(FacesContext context)
The default behavior of this method is to call ViewHandler.writeState(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
|
abstract void |
ViewHandler.writeState(FacesContext context)
Take any appropriate action to either immediately write out the current state information (by calling StateManager.writeState(javax.faces.context.FacesContext, java.lang.Object) , or noting where state information
should later be written. |
|
void |
StateManager.writeState(FacesContext context,
java.lang.Object state)
Save the state represented in the specified state Object instance, in an implementation dependent
manner. |
|
void |
StateManagerWrapper.writeState(FacesContext context,
java.lang.Object state)
The default behavior of this method is to call StateManager.writeState(javax.faces.context.FacesContext,
java.lang.Object) on the wrapped StateManager
object. |
|
void |
StateManagerWrapper.writeState(FacesContext context,
java.lang.Object state)
The default behavior of this method is to call StateManager.writeState(javax.faces.context.FacesContext,
java.lang.Object) on the wrapped StateManager
object. |
|
void |
StateManager.writeState(FacesContext context,
java.lang.Object state)
Save the state represented in the specified state Object instance, in an implementation dependent
manner. |
|
void |
StateManager.writeState(FacesContext context,
StateManager.SerializedView state)
Deprecated. This method has been replaced by StateManager.writeState(javax.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(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)
on the wrapped StateManager object. |
|
void |
StateManagerWrapper.writeState(FacesContext context,
StateManager.SerializedView state)
The default behavior of this method is to call StateManager.writeState(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)
on the wrapped StateManager object. |
|
void |
StateManager.writeState(FacesContext context,
StateManager.SerializedView state)
Deprecated. This method has been replaced by StateManager.writeState(javax.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 . |
Uses of FacesContext in javax.faces.component |
---|
Methods in javax.faces.component that return FacesContext | |
---|---|
protected abstract FacesContext |
UIComponent.getFacesContext()
Convenience method to return the FacesContext instance
for the current request. |
protected FacesContext |
UIComponentBase.getFacesContext()
|
protected FacesContext |
UIComponentBase.getFacesContext()
|
protected abstract FacesContext |
UIComponent.getFacesContext()
Convenience method to return the FacesContext instance
for the current request. |
Methods in javax.faces.component with parameters of type FacesContext | |
---|---|
void |
UIViewRoot.addComponentResource(FacesContext context,
UIComponent componentResource)
Add argument |
void |
UIViewRoot.addComponentResource(FacesContext context,
UIComponent componentResource)
Add argument |
void |
UIViewRoot.addComponentResource(FacesContext context,
UIComponent componentResource,
java.lang.String target)
Add argument |
void |
UIViewRoot.addComponentResource(FacesContext context,
UIComponent componentResource,
java.lang.String target)
Add argument |
void |
UIViewRoot.broadcastEvents(FacesContext context,
PhaseId phaseId)
Broadcast any events that have been queued. |
void |
UIViewRoot.broadcastEvents(FacesContext context,
PhaseId phaseId)
Broadcast any events that have been queued. |
void |
TestComponent.callPopComponent(FacesContext context)
|
void |
TestComponent.callPopComponent(FacesContext context)
|
void |
TestComponent.callPushComponent(FacesContext context)
|
void |
TestComponent.callPushComponent(FacesContext context)
|
java.lang.String |
UIData.createUniqueId(FacesContext context,
java.lang.String seed)
|
java.lang.String |
UIForm.createUniqueId(FacesContext context,
java.lang.String seed)
|
java.lang.String |
UINamingContainer.createUniqueId(FacesContext context,
java.lang.String seed)
|
java.lang.String |
UIViewRoot.createUniqueId(FacesContext context,
java.lang.String seed)
Generate an identifier for a component. |
java.lang.String |
UniqueIdVendor.createUniqueId(FacesContext context,
java.lang.String seed)
Generate an identifier for a component. |
java.lang.String |
UniqueIdVendor.createUniqueId(FacesContext context,
java.lang.String seed)
Generate an identifier for a component. |
java.lang.String |
UIViewRoot.createUniqueId(FacesContext context,
java.lang.String seed)
Generate an identifier for a component. |
java.lang.String |
UINamingContainer.createUniqueId(FacesContext context,
java.lang.String seed)
|
java.lang.String |
UIForm.createUniqueId(FacesContext context,
java.lang.String seed)
|
java.lang.String |
UIData.createUniqueId(FacesContext context,
java.lang.String seed)
|
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 |
UIComponentBase.decode(FacesContext context)
|
void |
UIInput.decode(FacesContext context)
|
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 |
TestComponent.decode(FacesContext context)
|
void |
UIViewRootTestCase.PhaseSkipTestComponent.decode(FacesContext context)
|
void |
UIViewRootTestCase.PhaseSkipTestComponent.decode(FacesContext context)
|
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 |
UIInput.decode(FacesContext context)
|
void |
UIComponentBase.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 |
TestComponent.decode(FacesContext context)
|
void |
UIComponentBaseBehaviorTestCase.TestBehavior.decode(FacesContext context,
UIComponent component)
|
void |
UIComponentBaseBehaviorTestCase.TestBehavior.decode(FacesContext context,
UIComponent component)
|
void |
UIComponent.encodeAll(FacesContext context)
If this component returns true from UIComponent.isRendered() , take the
following action. |
void |
UIViewParameter.encodeAll(FacesContext context)
Called specially by |
void |
UIViewRootTestCase.Container.encodeAll(FacesContext context)
|
void |
UIViewRootTestCase.Container.encodeAll(FacesContext context)
|
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. |
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 |
UIComponentBase.encodeBegin(FacesContext context)
|
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 |
UIViewRoot.encodeBegin(FacesContext context)
Override the default UIComponentBase.encodeBegin(javax.faces.context.FacesContext) behavior. |
void |
TestComponent.encodeBegin(FacesContext context)
|
void |
UIComponentBaseTestCase.UIComponentOverrideEncodeBegin.encodeBegin(FacesContext context)
|
void |
UIViewRootTestCase.PhaseSkipTestComponent.encodeBegin(FacesContext context)
|
void |
UIViewRootTestCase.PhaseSkipTestComponent.encodeBegin(FacesContext context)
|
void |
UIViewRoot.encodeBegin(FacesContext context)
Override the default UIComponentBase.encodeBegin(javax.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 |
UIComponentBaseTestCase.UIComponentOverrideEncodeBegin.encodeBegin(FacesContext context)
|
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 |
TestComponent.encodeBegin(FacesContext context)
|
abstract void |
UIComponent.encodeChildren(FacesContext context)
If our rendered property is true ,
render the child UIComponent s of this UIComponent . |
void |
UIComponentBase.encodeChildren(FacesContext context)
|
void |
UIViewRoot.encodeChildren(FacesContext context)
If |
void |
TestComponent.encodeChildren(FacesContext context)
|
void |
UIViewRoot.encodeChildren(FacesContext context)
If |
void |
UIComponentBase.encodeChildren(FacesContext context)
|
abstract void |
UIComponent.encodeChildren(FacesContext context)
If our rendered property is true ,
render the child UIComponent s of this UIComponent . |
void |
TestComponent.encodeChildren(FacesContext context)
|
abstract void |
UIComponent.encodeEnd(FacesContext context)
If our rendered property is true , render the
ending of the current state of this UIComponent . |
void |
UIComponentBase.encodeEnd(FacesContext context)
|
void |
UIViewRoot.encodeEnd(FacesContext context)
If |
void |
TestComponent.encodeEnd(FacesContext context)
|
void |
UIComponentBaseTestCase.UIComponentOverrideEncodeEnd.encodeEnd(FacesContext context)
|
void |
UIViewRoot.encodeEnd(FacesContext context)
If |
void |
UIComponentBaseTestCase.UIComponentOverrideEncodeEnd.encodeEnd(FacesContext context)
|
void |
UIComponentBase.encodeEnd(FacesContext context)
|
abstract void |
UIComponent.encodeEnd(FacesContext context)
If our rendered property is true , render the
ending of the current state of this UIComponent . |
void |
TestComponent.encodeEnd(FacesContext context)
|
abstract java.lang.String |
UIComponent.getClientId(FacesContext context)
Return a client-side identifier for this component, generating one if necessary. |
java.lang.String |
UIComponentBase.getClientId(FacesContext context)
|
java.lang.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. |
java.lang.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. |
java.lang.String |
UIComponentBase.getClientId(FacesContext context)
|
abstract java.lang.String |
UIComponent.getClientId(FacesContext context)
Return a client-side identifier for this component, generating one if necessary. |
java.util.List<UIComponent> |
UIViewRoot.getComponentResources(FacesContext context,
java.lang.String target)
Return an unmodifiable
|
java.util.List<UIComponent> |
UIViewRoot.getComponentResources(FacesContext context,
java.lang.String target)
Return an unmodifiable
|
java.lang.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
seperately callable method. |
java.lang.String |
UIForm.getContainerClientId(FacesContext context)
Override the UIComponent.getContainerClientId(javax.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. |
java.lang.String |
UIForm.getContainerClientId(FacesContext context)
Override the UIComponent.getContainerClientId(javax.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. |
java.lang.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
seperately callable method. |
protected java.lang.Object |
UIInput.getConvertedValue(FacesContext context,
java.lang.Object newSubmittedValue)
Convert the submitted value into a "local value" of the appropriate data type, if necessary. |
protected java.lang.Object |
UIViewParameter.getConvertedValue(FacesContext context,
java.lang.Object submittedValue)
Because this class has no |
protected java.lang.Object |
UIViewParameter.getConvertedValue(FacesContext context,
java.lang.Object submittedValue)
Because this class has no |
protected java.lang.Object |
UIInput.getConvertedValue(FacesContext context,
java.lang.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.getCurrentComponent(FacesContext context)
Return the |
static UIComponent |
UIComponent.getCurrentCompositeComponent(FacesContext context)
Return the closest ancestor
component, relative to the component returned from |
static UIComponent |
UIComponent.getCurrentCompositeComponent(FacesContext context)
Return the closest ancestor
component, relative to the component returned from |
protected abstract Renderer |
UIComponent.getRenderer(FacesContext context)
Convenience method to return the Renderer instance
associated with this component, if any; otherwise, return
null . |
protected Renderer |
UIComponentBase.getRenderer(FacesContext context)
|
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. |
static char |
UINamingContainer.getSeparatorChar(FacesContext context)
Return the character used to separate segments of a clientId. |
java.lang.String |
UIViewParameter.getStringValue(FacesContext context)
If the value of this parameter comes
from a |
java.lang.String |
UIViewParameter.getStringValue(FacesContext context)
If the value of this parameter comes
from a |
java.lang.String |
UIViewParameter.getStringValueFromModel(FacesContext context)
Manually perform standard conversion steps to get a string value from the value expression. |
java.lang.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
|
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(javax.faces.context.FacesContext, java.lang.String, javax.faces.component.ContextCallback) and must be passed the component
with the clientId given as an argument to
invokeOnComponent . |
void |
ContextCallback.invokeContextCallback(FacesContext context,
UIComponent target)
This method will be called by an implementation of UIComponent.invokeOnComponent(javax.faces.context.FacesContext, java.lang.String, javax.faces.component.ContextCallback) and must be passed the component
with the clientId given as an argument to
invokeOnComponent . |
boolean |
UIComponent.invokeOnComponent(FacesContext context,
java.lang.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(javax.faces.context.FacesContext, javax.faces.component.UIComponent) method on the argument
callback , passing the current FacesContext
and the found component as arguments. |
boolean |
UIComponentBase.invokeOnComponent(FacesContext context,
java.lang.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(javax.faces.context.FacesContext, javax.faces.component.UIComponent) method on the argument
callback , passing the current FacesContext
and the found component as arguments. |
boolean |
UIData.invokeOnComponent(FacesContext context,
java.lang.String clientId,
ContextCallback callback)
Override behavior from UIComponentBase.invokeOnComponent(javax.faces.context.FacesContext, java.lang.String, javax.faces.component.ContextCallback) to provide special care for
positioning the data properly before finding the component and
invoking the callback on it. |
boolean |
UIData.invokeOnComponent(FacesContext context,
java.lang.String clientId,
ContextCallback callback)
Override behavior from UIComponentBase.invokeOnComponent(javax.faces.context.FacesContext, java.lang.String, javax.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,
java.lang.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(javax.faces.context.FacesContext, javax.faces.component.UIComponent) method on the argument
callback , passing the current FacesContext
and the found component as arguments. |
boolean |
UIComponent.invokeOnComponent(FacesContext context,
java.lang.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(javax.faces.context.FacesContext, javax.faces.component.UIComponent) method on the argument
callback , passing the current FacesContext
and the found component as arguments. |
protected boolean |
UICommandTestCase.listenersAreEqual(FacesContext context,
UICommand comp1,
UICommand comp2)
|
protected boolean |
UICommandTestCase.listenersAreEqual(FacesContext context,
UICommand comp1,
UICommand comp2)
|
protected boolean |
UIInputTestCase.listenersAreEqual(FacesContext context,
UIInput comp1,
UIInput comp2)
|
protected boolean |
UIInputTestCase.listenersAreEqual(FacesContext context,
UIInput comp1,
UIInput comp2)
|
void |
UIComponent.popComponentFromEL(FacesContext context)
Pop the current
|
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.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. |
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 |
UIComponentBase.processDecodes(FacesContext context)
|
void |
UIData.processDecodes(FacesContext context)
Override the default UIComponentBase.processDecodes(javax.faces.context.FacesContext) processing
to perform the following steps. |
void |
UIForm.processDecodes(FacesContext context)
Override UIComponent.processDecodes(javax.faces.context.FacesContext) to ensure that the
form is decoded before its children. |
void |
UIInput.processDecodes(FacesContext context)
Specialized decode behavior on top of that provided by the superclass. |
void |
UIViewRoot.processDecodes(FacesContext context)
|
void |
TestComponent.processDecodes(FacesContext context)
|
void |
UIViewRoot.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(javax.faces.context.FacesContext) to ensure that the
form is decoded before its children. |
void |
UIData.processDecodes(FacesContext context)
Override the default UIComponentBase.processDecodes(javax.faces.context.FacesContext) processing
to perform the following steps. |
void |
UIComponentBase.processDecodes(FacesContext context)
|
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 |
TestComponent.processDecodes(FacesContext context)
|
abstract void |
UIComponent.processRestoreState(FacesContext context,
java.lang.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. |
void |
UIComponentBase.processRestoreState(FacesContext context,
java.lang.Object state)
|
void |
UIViewRoot.processRestoreState(FacesContext context,
java.lang.Object state)
The default
implementation must call |
void |
UIViewRoot.processRestoreState(FacesContext context,
java.lang.Object state)
The default
implementation must call |
void |
UIComponentBase.processRestoreState(FacesContext context,
java.lang.Object state)
|
abstract void |
UIComponent.processRestoreState(FacesContext context,
java.lang.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. |
abstract java.lang.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. |
java.lang.Object |
UIComponentBase.processSaveState(FacesContext context)
|
java.lang.Object |
UIComponentBase.processSaveState(FacesContext context)
|
abstract java.lang.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. |
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 |
UIComponentBase.processUpdates(FacesContext context)
|
void |
UIData.processUpdates(FacesContext context)
Override the default UIComponentBase.processUpdates(javax.faces.context.FacesContext)
processing to perform the following steps. |
void |
UIForm.processUpdates(FacesContext context)
Override UIComponent.processUpdates(javax.faces.context.FacesContext) to ensure that the
children of this UIForm instance are only processed
if UIForm.isSubmitted() returns true . |
void |
UIInput.processUpdates(FacesContext context)
In addition to the standard processUpdates behavior
inherited from UIComponentBase , calls
updateModel() . |
void |
UIViewRoot.processUpdates(FacesContext context)
|
void |
TestComponent.processUpdates(FacesContext context)
|
void |
UIViewRootTestCase.PhaseSkipTestComponent.processUpdates(FacesContext context)
|
void |
UIViewRootTestCase.PhaseSkipTestComponent.processUpdates(FacesContext context)
|
void |
UIViewRoot.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(javax.faces.context.FacesContext) to ensure that the
children of this UIForm instance are only processed
if UIForm.isSubmitted() returns true . |
void |
UIData.processUpdates(FacesContext context)
Override the default UIComponentBase.processUpdates(javax.faces.context.FacesContext)
processing to perform the following steps. |
void |
UIComponentBase.processUpdates(FacesContext context)
|
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 |
TestComponent.processUpdates(FacesContext context)
|
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 |
UIComponentBase.processValidators(FacesContext context)
|
void |
UIData.processValidators(FacesContext context)
Override the default UIComponentBase.processValidators(javax.faces.context.FacesContext)
processing to perform the following steps. |
void |
UIForm.processValidators(FacesContext context)
Override UIComponent.processValidators(javax.faces.context.FacesContext) to ensure that
the children of this UIForm instance are only
processed if UIForm.isSubmitted() returns true . |
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 |
UIViewParameter.processValidators(FacesContext context)
Specialize superclass behavior to treat
|
void |
UIViewRoot.processValidators(FacesContext context)
|
void |
TestComponent.processValidators(FacesContext context)
|
void |
UIViewRootTestCase.PhaseSkipTestComponent.processValidators(FacesContext context)
|
void |
UIViewRootTestCase.PhaseSkipTestComponent.processValidators(FacesContext context)
|
void |
UIViewRoot.processValidators(FacesContext context)
|
void |
UIViewParameter.processValidators(FacesContext context)
Specialize superclass behavior to treat
|
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 UIComponent.processValidators(javax.faces.context.FacesContext) to ensure that
the children of this UIForm instance are only
processed if UIForm.isSubmitted() returns true . |
void |
UIData.processValidators(FacesContext context)
Override the default UIComponentBase.processValidators(javax.faces.context.FacesContext)
processing to perform the following steps. |
void |
UIComponentBase.processValidators(FacesContext context)
|
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 |
TestComponent.processValidators(FacesContext context)
|
void |
UIComponent.pushComponentToEL(FacesContext context,
UIComponent component)
Push the current
|
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)
Remove argument |
void |
UIViewRoot.removeComponentResource(FacesContext context,
UIComponent componentResource,
java.lang.String target)
Remove argument |
void |
UIViewRoot.removeComponentResource(FacesContext context,
UIComponent componentResource,
java.lang.String target)
Remove argument |
static java.lang.Object |
UIComponentBase.restoreAttachedState(FacesContext context,
java.lang.Object stateObj)
This method is called by UIComponent subclasses that
need to restore the objects they saved using UIComponentBase.saveAttachedState(javax.faces.context.FacesContext, java.lang.Object) . |
static java.lang.Object |
UIComponentBase.restoreAttachedState(FacesContext context,
java.lang.Object stateObj)
This method is called by UIComponent subclasses that
need to restore the objects they saved using UIComponentBase.saveAttachedState(javax.faces.context.FacesContext, java.lang.Object) . |
void |
StateHolder.restoreState(FacesContext context,
java.lang.Object state)
Perform any processing required to restore the state from the entries in the state Object. |
void |
UIComponentBase.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIData.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIInput.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIOutput.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIViewRoot.restoreState(FacesContext context,
java.lang.Object state)
|
void |
TestActionListener.restoreState(FacesContext context,
java.lang.Object state)
|
void |
TestValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
TestValueChangeListener.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIComponentBaseAttachedStateTestCase.TestFacesListener.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIViewRoot.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIOutput.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIInput.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIData.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIComponentBaseAttachedStateTestCase.TestFacesListener.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIComponentBase.restoreState(FacesContext context,
java.lang.Object state)
|
void |
TestValueChangeListener.restoreState(FacesContext context,
java.lang.Object state)
|
void |
TestValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
TestActionListener.restoreState(FacesContext context,
java.lang.Object state)
|
void |
StateHolder.restoreState(FacesContext context,
java.lang.Object state)
Perform any processing required to restore the state from the entries in the state Object. |
void |
TransientStateHolder.restoreTransientState(FacesContext context,
java.lang.Object state)
Restore the "transient state" using the object passed as state. |
void |
UIComponent.restoreTransientState(FacesContext context,
java.lang.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 |
UIComponent.restoreTransientState(FacesContext context,
java.lang.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 |
TransientStateHolder.restoreTransientState(FacesContext context,
java.lang.Object state)
Restore the "transient state" using the object passed as state. |
static java.lang.Object |
UIComponentBase.saveAttachedState(FacesContext context,
java.lang.Object attachedObject)
This method is called by |
static java.lang.Object |
UIComponentBase.saveAttachedState(FacesContext context,
java.lang.Object attachedObject)
This method is called by |
java.lang.Object |
StateHolder.saveState(FacesContext context)
Gets the state of the instance as a Serializable Object. |
java.lang.Object |
UIComponentBase.saveState(FacesContext context)
|
java.lang.Object |
UIData.saveState(FacesContext context)
|
java.lang.Object |
UIInput.saveState(FacesContext context)
|
java.lang.Object |
UIOutput.saveState(FacesContext context)
|
java.lang.Object |
UIViewRoot.saveState(FacesContext context)
|
java.lang.Object |
TestActionListener.saveState(FacesContext context)
|
java.lang.Object |
TestValidator.saveState(FacesContext context)
|
java.lang.Object |
TestValueChangeListener.saveState(FacesContext context)
|
java.lang.Object |
UIComponentBaseAttachedStateTestCase.TestFacesListener.saveState(FacesContext context)
|
java.lang.Object |
UIViewRoot.saveState(FacesContext context)
|
java.lang.Object |
UIOutput.saveState(FacesContext context)
|
java.lang.Object |
UIInput.saveState(FacesContext context)
|
java.lang.Object |
UIData.saveState(FacesContext context)
|
java.lang.Object |
UIComponentBaseAttachedStateTestCase.TestFacesListener.saveState(FacesContext context)
|
java.lang.Object |
UIComponentBase.saveState(FacesContext context)
|
java.lang.Object |
TestValueChangeListener.saveState(FacesContext context)
|
java.lang.Object |
TestValidator.saveState(FacesContext context)
|
java.lang.Object |
TestActionListener.saveState(FacesContext context)
|
java.lang.Object |
StateHolder.saveState(FacesContext context)
Gets the state of the instance as a Serializable Object. |
java.lang.Object |
TransientStateHolder.saveTransientState(FacesContext context)
Return the object containing related "transient states". |
java.lang.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. |
java.lang.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. |
java.lang.Object |
TransientStateHolder.saveTransientState(FacesContext context)
Return the object containing related "transient states". |
void |
UIInput.updateModel(FacesContext context)
Perform the following algorithm to update the model data associated with this UIInput , if any, as appropriate. |
void |
UIViewParameter.updateModel(FacesContext context)
Call through to superclass |
void |
TestComponent.updateModel(FacesContext context)
|
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 |
TestComponent.updateModel(FacesContext context)
|
void |
UIInput.validate(FacesContext context)
Perform the following algorithm to validate the local value of this UIInput . |
void |
UIInput.validate(FacesContext context)
Perform the following algorithm to validate the local value of this UIInput . |
void |
TestDataValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object valueObj)
|
void |
TestInputValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
TestValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
UIComponentTestCase.ValidationSignal.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
UIDataHeaderBean.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
UIDataHeaderBean.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
UIComponentTestCase.ValidationSignal.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
TestValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
TestInputValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
TestDataValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object valueObj)
|
protected void |
UIInput.validateValue(FacesContext context,
java.lang.Object newValue)
Set the "valid" property according to the below algorithm. |
protected void |
UISelectMany.validateValue(FacesContext context,
java.lang.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,
java.lang.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 |
UISelectOne.validateValue(FacesContext context,
java.lang.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 |
UISelectMany.validateValue(FacesContext context,
java.lang.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 |
UIInput.validateValue(FacesContext context,
java.lang.Object newValue)
Set the "valid" property according to the below algorithm. |
protected boolean |
UIInputTestCase.validatorsAreEqual(FacesContext context,
UIInput comp1,
UIInput comp2)
|
protected boolean |
UIInputTestCase.validatorsAreEqual(FacesContext context,
UIInput comp1,
UIInput comp2)
|
Constructors in javax.faces.component with parameters of type FacesContext | |
---|---|
UIViewParameter.Reference(FacesContext context,
UIViewParameter param,
int indexInParent,
java.lang.String viewIdAtTimeOfConstruction)
Construct a reference to a
|
|
UIViewParameter.Reference(FacesContext context,
UIViewParameter param,
int indexInParent,
java.lang.String viewIdAtTimeOfConstruction)
Construct a reference to a
|
Uses of FacesContext in javax.faces.component.behavior |
---|
Methods in javax.faces.component.behavior that return FacesContext | |
---|---|
abstract FacesContext |
ClientBehaviorContext.getFacesContext()
Returns the |
abstract FacesContext |
ClientBehaviorContext.getFacesContext()
Returns the |
Methods in javax.faces.component.behavior with parameters of type FacesContext | |
---|---|
static ClientBehaviorContext |
ClientBehaviorContext.createClientBehaviorContext(FacesContext context,
UIComponent component,
java.lang.String eventName,
java.lang.String sourceId,
java.util.Collection<ClientBehaviorContext.Parameter> parameters)
Creates a ClientBehaviorContext instance. |
static ClientBehaviorContext |
ClientBehaviorContext.createClientBehaviorContext(FacesContext context,
UIComponent component,
java.lang.String eventName,
java.lang.String sourceId,
java.util.Collection<ClientBehaviorContext.Parameter> parameters)
Creates a ClientBehaviorContext instance. |
void |
ClientBehavior.decode(FacesContext context,
UIComponent component)
Decode any new state of this
|
void |
ClientBehaviorBase.decode(FacesContext context,
UIComponent component)
Default implementation of of |
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
|
protected ClientBehaviorRenderer |
ClientBehaviorBase.getRenderer(FacesContext context)
Convenience method to return the
|
void |
AjaxBehavior.restoreState(FacesContext context,
java.lang.Object state)
|
void |
BehaviorBase.restoreState(FacesContext context,
java.lang.Object state)
Implementation of
|
void |
BehaviorBase.restoreState(FacesContext context,
java.lang.Object state)
Implementation of
|
void |
AjaxBehavior.restoreState(FacesContext context,
java.lang.Object state)
|
java.lang.Object |
AjaxBehavior.saveState(FacesContext context)
|
java.lang.Object |
BehaviorBase.saveState(FacesContext context)
Implementation of
|
java.lang.Object |
BehaviorBase.saveState(FacesContext context)
Implementation of
|
java.lang.Object |
AjaxBehavior.saveState(FacesContext context)
|
Uses of FacesContext in javax.faces.component.visit |
---|
Methods in javax.faces.component.visit that return FacesContext | |
---|---|
abstract FacesContext |
VisitContext.getFacesContext()
Returns the FacesContext for the current request. |
FacesContext |
VisitContextWrapper.getFacesContext()
|
FacesContext |
VisitContextWrapper.getFacesContext()
|
abstract FacesContext |
VisitContext.getFacesContext()
Returns the FacesContext for the current request. |
Methods in javax.faces.component.visit with parameters of type FacesContext | |
---|---|
static VisitContext |
VisitContext.createVisitContext(FacesContext context)
Creates a VisitContext instance for use with UIComponent.visitTree() . |
static VisitContext |
VisitContext.createVisitContext(FacesContext context)
Creates a VisitContext instance for use with UIComponent.visitTree() . |
static VisitContext |
VisitContext.createVisitContext(FacesContext context,
java.util.Collection<java.lang.String> ids,
java.util.Set<VisitHint> hints)
Returns a VisitContext instance that is initialized with the specified ids and hintsfor use with UIComponent.visitTree(javax.faces.component.visit.VisitContext, javax.faces.component.visit.VisitCallback) . |
static VisitContext |
VisitContext.createVisitContext(FacesContext context,
java.util.Collection<java.lang.String> ids,
java.util.Set<VisitHint> hints)
Returns a VisitContext instance that is initialized with the specified ids and hintsfor use with UIComponent.visitTree(javax.faces.component.visit.VisitContext, javax.faces.component.visit.VisitCallback) . |
abstract VisitContext |
VisitContextFactory.getVisitContext(FacesContext context,
java.util.Collection<java.lang.String> ids,
java.util.Set<VisitHint> hints)
Return a new |
abstract VisitContext |
VisitContextFactory.getVisitContext(FacesContext context,
java.util.Collection<java.lang.String> ids,
java.util.Set<VisitHint> hints)
Return a new |
Uses of FacesContext in javax.faces.context |
---|
Subclasses of FacesContext in javax.faces.context | |
---|---|
class |
FacesContextWrapper
Provides a simple implementation of FacesContext that can be subclassed by
developers wishing to provide specialized behavior to an existing
FacesContext instance. |
Methods in javax.faces.context that return FacesContext | |
---|---|
static FacesContext |
FacesContext.getCurrentInstance()
Return the |
static FacesContext |
FacesContext.getCurrentInstance()
Return the |
abstract FacesContext |
FacesContextFactory.getFacesContext(java.lang.Object context,
java.lang.Object request,
java.lang.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. |
abstract FacesContext |
FacesContextFactory.getFacesContext(java.lang.Object context,
java.lang.Object request,
java.lang.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. |
abstract FacesContext |
FacesContextWrapper.getWrapped()
|
abstract FacesContext |
FacesContextWrapper.getWrapped()
|
Methods in javax.faces.context with parameters of type FacesContext | |
---|---|
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. |
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. |
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. |
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. |
abstract PartialViewContext |
PartialViewContextFactory.getPartialViewContext(FacesContext context)
Create (if needed) and return a PartialViewContext instance that is initialized
using the current FacesContext instance. |
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. |
protected static void |
FacesContext.setCurrentInstance(FacesContext context)
Set the FacesContext instance for the request that is
being processed by the current thread. |
Uses of FacesContext in javax.faces.convert |
---|
Methods in javax.faces.convert with parameters of type FacesContext | |
---|---|
java.lang.Object |
BigDecimalConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
BigIntegerConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
BooleanConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
ByteConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
CharacterConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
Converter.getAsObject(FacesContext context,
UIComponent component,
java.lang.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 Apply Request
Values phase of the request processing lifecycle. |
java.lang.Object |
DateTimeConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
DoubleConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
EnumConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
Convert the value argument to one of the enum
constants of the class provided in our constructor. |
java.lang.Object |
FloatConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
IntegerConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
LongConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
NumberConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
ShortConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
ShortConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
NumberConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
LongConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
IntegerConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
FloatConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
EnumConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
Convert the value argument to one of the enum
constants of the class provided in our constructor. |
java.lang.Object |
DoubleConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
DateTimeConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
Converter.getAsObject(FacesContext context,
UIComponent component,
java.lang.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 Apply Request
Values phase of the request processing lifecycle. |
java.lang.Object |
CharacterConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
ByteConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
BooleanConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
BigIntegerConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
BigDecimalConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.String |
BigDecimalConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
BigIntegerConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
BooleanConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
ByteConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
CharacterConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
Converter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object 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. |
java.lang.String |
DateTimeConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
DoubleConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
EnumConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
Convert the enum constant given by the value
argument into a String. |
java.lang.String |
FloatConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
IntegerConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
LongConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
NumberConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
ShortConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
ShortConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
NumberConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
LongConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
IntegerConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
FloatConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
EnumConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
Convert the enum constant given by the value
argument into a String. |
java.lang.String |
DoubleConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
DateTimeConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
Converter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object 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. |
java.lang.String |
CharacterConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
ByteConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
BooleanConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
BigIntegerConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
BigDecimalConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
DateTimeConverter.restoreState(FacesContext context,
java.lang.Object state)
|
void |
EnumConverter.restoreState(FacesContext facesContext,
java.lang.Object object)
|
void |
NumberConverter.restoreState(FacesContext context,
java.lang.Object state)
|
void |
NumberConverter.restoreState(FacesContext context,
java.lang.Object state)
|
void |
EnumConverter.restoreState(FacesContext facesContext,
java.lang.Object object)
|
void |
DateTimeConverter.restoreState(FacesContext context,
java.lang.Object state)
|
java.lang.Object |
DateTimeConverter.saveState(FacesContext context)
|
java.lang.Object |
EnumConverter.saveState(FacesContext facesContext)
|
java.lang.Object |
NumberConverter.saveState(FacesContext context)
|
java.lang.Object |
NumberConverter.saveState(FacesContext context)
|
java.lang.Object |
EnumConverter.saveState(FacesContext facesContext)
|
java.lang.Object |
DateTimeConverter.saveState(FacesContext context)
|
Uses of FacesContext in javax.faces.el |
---|
Methods in javax.faces.el with parameters of type FacesContext | |
---|---|
abstract java.lang.Class |
MethodBinding.getType(FacesContext context)
Deprecated. Return the Java class representing the return type from the method identified by this method binding expression. |
abstract java.lang.Class |
ValueBinding.getType(FacesContext context)
Deprecated. Return the type of the property represented by this ValueBinding , relative to the specified FacesContext . |
abstract java.lang.Class |
ValueBinding.getType(FacesContext context)
Deprecated. Return the type of the property represented by this ValueBinding , relative to the specified FacesContext . |
abstract java.lang.Class |
MethodBinding.getType(FacesContext context)
Deprecated. Return the Java class representing the return type from the method identified by this method binding expression. |
abstract java.lang.Object |
ValueBinding.getValue(FacesContext context)
Deprecated. Return the value of the property represented by this ValueBinding , relative to the specified FacesContext . |
abstract java.lang.Object |
ValueBinding.getValue(FacesContext context)
Deprecated. Return the value of the property represented by this ValueBinding , relative to the specified FacesContext . |
abstract java.lang.Object |
MethodBinding.invoke(FacesContext context,
java.lang.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 java.lang.Object |
MethodBinding.invoke(FacesContext context,
java.lang.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 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 java.lang.Object |
VariableResolver.resolveVariable(FacesContext context,
java.lang.String name)
Deprecated. Resolve the specified variable name, and return the corresponding object, if any; otherwise, return null . |
abstract java.lang.Object |
VariableResolver.resolveVariable(FacesContext context,
java.lang.String name)
Deprecated. Resolve the specified variable name, and return the corresponding object, if any; otherwise, return null . |
abstract void |
ValueBinding.setValue(FacesContext context,
java.lang.Object value)
Deprecated. Set the value of the property represented by this ValueBinding , relative to the specified FacesContext . |
abstract void |
ValueBinding.setValue(FacesContext context,
java.lang.Object value)
Deprecated. Set the value of the property represented by this ValueBinding , relative to the specified FacesContext . |
Uses of FacesContext in javax.faces.event |
---|
Methods in javax.faces.event that return FacesContext | |
---|---|
FacesContext |
ExceptionQueuedEventContext.getContext()
|
FacesContext |
ExceptionQueuedEventContext.getContext()
|
FacesContext |
PhaseEvent.getFacesContext()
Return the FacesContext for the request being processed. |
FacesContext |
PhaseEvent.getFacesContext()
Return the FacesContext for the request being processed. |
Methods in javax.faces.event with parameters of type FacesContext | |
---|---|
void |
MethodExpressionActionListener.restoreState(FacesContext context,
java.lang.Object state)
Both |
void |
MethodExpressionValueChangeListener.restoreState(FacesContext context,
java.lang.Object state)
Both |
void |
MethodExpressionValueChangeListener.restoreState(FacesContext context,
java.lang.Object state)
Both |
void |
MethodExpressionActionListener.restoreState(FacesContext context,
java.lang.Object state)
Both |
java.lang.Object |
MethodExpressionActionListener.saveState(FacesContext context)
Both |
java.lang.Object |
MethodExpressionValueChangeListener.saveState(FacesContext context)
Both |
java.lang.Object |
MethodExpressionValueChangeListener.saveState(FacesContext context)
Both |
java.lang.Object |
MethodExpressionActionListener.saveState(FacesContext context)
Both |
Constructors in javax.faces.event with parameters of type FacesContext | |
---|---|
ExceptionQueuedEventContext(FacesContext context,
java.lang.Throwable thrown)
Instantiate a new
|
|
ExceptionQueuedEventContext(FacesContext context,
java.lang.Throwable thrown)
Instantiate a new
|
|
ExceptionQueuedEventContext(FacesContext context,
java.lang.Throwable thrown,
UIComponent component)
Instantiate a new
|
|
ExceptionQueuedEventContext(FacesContext context,
java.lang.Throwable thrown,
UIComponent component)
Instantiate a new
|
|
ExceptionQueuedEventContext(FacesContext context,
java.lang.Throwable thrown,
UIComponent component,
PhaseId phaseId)
Instantiate a new
|
|
ExceptionQueuedEventContext(FacesContext context,
java.lang.Throwable thrown,
UIComponent component,
PhaseId phaseId)
Instantiate a new
|
|
PhaseEvent(FacesContext context,
PhaseId phaseId,
Lifecycle lifecycle)
Construct a new event object from the specified parameters. |
|
PhaseEvent(FacesContext context,
PhaseId phaseId,
Lifecycle lifecycle)
Construct a new event object from the specified parameters. |
Uses of FacesContext in javax.faces.lifecycle |
---|
Methods in javax.faces.lifecycle with parameters of type FacesContext | |
---|---|
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 JavaServer Faces Specification, in the specified order. |
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 JavaServer Faces Specification, in the specified order. |
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. |
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. |
Uses of FacesContext in javax.faces.render |
---|
Methods in javax.faces.render with parameters of type FacesContext | |
---|---|
java.lang.String |
Renderer.convertClientId(FacesContext context,
java.lang.String clientId)
Convert the component generated client id to a form suitable for transmission to the client. |
java.lang.String |
Renderer.convertClientId(FacesContext context,
java.lang.String clientId)
Convert the component generated client id to a form suitable for transmission to the client. |
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 |
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 |
ClientBehaviorRenderer.decode(FacesContext context,
UIComponent component,
ClientBehavior behavior)
Decode any new state of this |
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 |
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 |
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 |
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 |
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 |
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. |
java.lang.Object |
ResponseStateManager.getComponentStateToRestore(FacesContext context)
Deprecated. This method has been replaced by ResponseStateManager.getState(javax.faces.context.FacesContext, java.lang.String) .
The default implementation returns null . |
java.lang.Object |
ResponseStateManager.getComponentStateToRestore(FacesContext context)
Deprecated. This method has been replaced by ResponseStateManager.getState(javax.faces.context.FacesContext, java.lang.String) .
The default implementation returns null . |
java.lang.Object |
Renderer.getConvertedValue(FacesContext context,
UIComponent component,
java.lang.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). |
java.lang.Object |
Renderer.getConvertedValue(FacesContext context,
UIComponent component,
java.lang.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). |
abstract RenderKit |
RenderKitFactory.getRenderKit(FacesContext context,
java.lang.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 . |
abstract RenderKit |
RenderKitFactory.getRenderKit(FacesContext context,
java.lang.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 . |
java.lang.Object |
ResponseStateManager.getState(FacesContext context,
java.lang.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(javax.faces.context.FacesContext,java.lang.Object) . |
java.lang.Object |
ResponseStateManager.getState(FacesContext context,
java.lang.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(javax.faces.context.FacesContext,java.lang.Object) . |
java.lang.Object |
ResponseStateManager.getTreeStructureToRestore(FacesContext context,
java.lang.String viewId)
Deprecated. This method has been replaced by ResponseStateManager.getState(javax.faces.context.FacesContext, java.lang.String) .
The default implementation returns null . |
java.lang.Object |
ResponseStateManager.getTreeStructureToRestore(FacesContext context,
java.lang.String viewId)
Deprecated. This method has been replaced by ResponseStateManager.getState(javax.faces.context.FacesContext, java.lang.String) .
The default implementation returns null . |
java.lang.String |
ResponseStateManager.getViewState(FacesContext context,
java.lang.Object state)
Return the specified state as a String without any markup
related to the rendering technology supported by this ResponseStateManager. |
java.lang.String |
ResponseStateManager.getViewState(FacesContext context,
java.lang.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.isPostback(FacesContext context)
Return true if the current request is a postback. |
void |
ResponseStateManager.writeState(FacesContext context,
java.lang.Object state)
|
void |
ResponseStateManager.writeState(FacesContext context,
java.lang.Object state)
|
void |
ResponseStateManager.writeState(FacesContext context,
StateManager.SerializedView state)
Deprecated. This method has been replaced by ResponseStateManager.writeState(javax.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(javax.faces.context.FacesContext, java.lang.Object) . |
void |
ResponseStateManager.writeState(FacesContext context,
StateManager.SerializedView state)
Deprecated. This method has been replaced by ResponseStateManager.writeState(javax.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(javax.faces.context.FacesContext, java.lang.Object) . |
Uses of FacesContext in javax.faces.validator |
---|
Methods in javax.faces.validator with parameters of type FacesContext | |
---|---|
void |
BeanValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
DoubleRangeValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
LengthValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
LongRangeValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
MethodExpressionValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
RegexValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
RegexValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
MethodExpressionValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
LongRangeValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
LengthValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
DoubleRangeValidator.restoreState(FacesContext context,
java.lang.Object state)
|
void |
BeanValidator.restoreState(FacesContext context,
java.lang.Object state)
|
java.lang.Object |
BeanValidator.saveState(FacesContext context)
|
java.lang.Object |
DoubleRangeValidator.saveState(FacesContext context)
|
java.lang.Object |
LengthValidator.saveState(FacesContext context)
|
java.lang.Object |
LongRangeValidator.saveState(FacesContext context)
|
java.lang.Object |
MethodExpressionValidator.saveState(FacesContext context)
|
java.lang.Object |
RegexValidator.saveState(FacesContext context)
|
java.lang.Object |
RegexValidator.saveState(FacesContext context)
|
java.lang.Object |
MethodExpressionValidator.saveState(FacesContext context)
|
java.lang.Object |
LongRangeValidator.saveState(FacesContext context)
|
java.lang.Object |
LengthValidator.saveState(FacesContext context)
|
java.lang.Object |
DoubleRangeValidator.saveState(FacesContext context)
|
java.lang.Object |
BeanValidator.saveState(FacesContext context)
|
void |
BeanValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
Verify that the value is valid according to the Bean Validation constraints. |
void |
DoubleRangeValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
LengthValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
LongRangeValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
MethodExpressionValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
RegexValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
Validate a String against a regular expression pattern. |
void |
RequiredValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
Verify that the converted object value is not null. |
void |
Validator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
Perform the correctness checks implemented by this Validator against
the specified UIComponent . |
void |
Validator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
Perform the correctness checks implemented by this Validator against
the specified UIComponent . |
void |
RequiredValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
Verify that the converted object value is not null. |
void |
RegexValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
Validate a String against a regular expression pattern. |
void |
MethodExpressionValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
LongRangeValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
LengthValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
DoubleRangeValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
BeanValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
Verify that the value is valid according to the Bean Validation constraints. |
Uses of FacesContext in javax.faces.view |
---|
Methods in javax.faces.view with parameters of type FacesContext | |
---|---|
void |
AttachedObjectHandler.applyAttachedObject(FacesContext context,
UIComponent parent)
Take the argument
|
void |
AttachedObjectHandler.applyAttachedObject(FacesContext context,
UIComponent parent)
Take the argument
|
abstract void |
ViewDeclarationLanguage.buildView(FacesContext context,
UIViewRoot root)
Take any actions specific to
this VDL implementation to cause the argument
|
abstract void |
ViewDeclarationLanguage.buildView(FacesContext context,
UIViewRoot root)
Take any actions specific to
this VDL implementation to cause the argument
|
abstract UIViewRoot |
ViewMetadata.createMetadataView(FacesContext context)
Creates a new |
abstract UIViewRoot |
ViewMetadata.createMetadataView(FacesContext context)
Creates a new |
abstract UIViewRoot |
ViewDeclarationLanguage.createView(FacesContext context,
java.lang.String viewId)
Create a |
abstract UIViewRoot |
ViewDeclarationLanguage.createView(FacesContext context,
java.lang.String viewId)
Create a |
abstract java.beans.BeanInfo |
ViewDeclarationLanguage.getComponentMetadata(FacesContext context,
Resource componentResource)
Return a reference to the component
metadata for the composite component represented by the argument
|
abstract java.beans.BeanInfo |
ViewDeclarationLanguage.getComponentMetadata(FacesContext context,
Resource componentResource)
Return a reference to the component
metadata for the composite component represented by the argument
|
abstract Resource |
ViewDeclarationLanguage.getScriptComponentResource(FacesContext context,
Resource componentResource)
Take implementation specific action
to discover a |
abstract Resource |
ViewDeclarationLanguage.getScriptComponentResource(FacesContext context,
Resource componentResource)
Take implementation specific action
to discover a |
abstract StateManagementStrategy |
ViewDeclarationLanguage.getStateManagementStrategy(FacesContext context,
java.lang.String viewId)
For implementations that want to
control the implementation of state saving and restoring, the
|
abstract StateManagementStrategy |
ViewDeclarationLanguage.getStateManagementStrategy(FacesContext context,
java.lang.String viewId)
For implementations that want to
control the implementation of state saving and restoring, the
|
abstract ViewMetadata |
ViewDeclarationLanguage.getViewMetadata(FacesContext context,
java.lang.String viewId)
Return a reference to the view
metadata for the view represented by the argument
|
abstract ViewMetadata |
ViewDeclarationLanguage.getViewMetadata(FacesContext context,
java.lang.String viewId)
Return a reference to the view
metadata for the view represented by the argument
|
abstract void |
ViewDeclarationLanguage.renderView(FacesContext context,
UIViewRoot view)
Render a view rooted at
argument |
abstract void |
ViewDeclarationLanguage.renderView(FacesContext context,
UIViewRoot view)
Render a view rooted at
argument |
abstract UIViewRoot |
ViewDeclarationLanguage.restoreView(FacesContext context,
java.lang.String viewId)
Restore a |
abstract UIViewRoot |
ViewDeclarationLanguage.restoreView(FacesContext context,
java.lang.String viewId)
Restore a |
abstract UIViewRoot |
StateManagementStrategy.restoreView(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
Restore the state of the view with information in the request. |
abstract UIViewRoot |
StateManagementStrategy.restoreView(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
Restore the state of the view with information in the request. |
void |
ViewDeclarationLanguage.retargetAttachedObjects(FacesContext context,
UIComponent topLevelComponent,
java.util.List<AttachedObjectHandler> handlers)
Assuming the component
metadata for argument |
void |
ViewDeclarationLanguage.retargetAttachedObjects(FacesContext context,
UIComponent topLevelComponent,
java.util.List<AttachedObjectHandler> handlers)
Assuming the component
metadata for argument |
void |
ViewDeclarationLanguage.retargetMethodExpressions(FacesContext context,
UIComponent topLevelComponent)
Assuming the component metadata for
argument |
void |
ViewDeclarationLanguage.retargetMethodExpressions(FacesContext context,
UIComponent topLevelComponent)
Assuming the component metadata for
argument |
abstract java.lang.Object |
StateManagementStrategy.saveView(FacesContext context)
Return the state of the current view
in an |
abstract java.lang.Object |
StateManagementStrategy.saveView(FacesContext context)
Return the state of the current view
in an |
boolean |
ViewDeclarationLanguage.viewExists(FacesContext context,
java.lang.String viewId)
Tests whether a physical resource corresponding to the specified viewId exists. |
boolean |
ViewDeclarationLanguage.viewExists(FacesContext context,
java.lang.String viewId)
Tests whether a physical resource corresponding to the specified viewId exists. |
Uses of FacesContext in javax.faces.view.facelets |
---|
Methods in javax.faces.view.facelets that return FacesContext | |
---|---|
abstract FacesContext |
FaceletContext.getFacesContext()
The current FacesContext bound to this "request". |
abstract FacesContext |
FaceletContext.getFacesContext()
The current FacesContext bound to this "request". |
Methods in javax.faces.view.facelets with parameters of type FacesContext | |
---|---|
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 |
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 |
Uses of FacesContext in javax.faces.webapp |
---|
Methods in javax.faces.webapp that return FacesContext | |
---|---|
protected FacesContext |
UIComponentClassicTagBase.getFacesContext()
|
protected abstract FacesContext |
UIComponentTagBase.getFacesContext()
Return the FacesContext instance for the current
request. |
protected abstract FacesContext |
UIComponentTagBase.getFacesContext()
Return the FacesContext instance for the current
request. |
protected FacesContext |
UIComponentClassicTagBase.getFacesContext()
|
Methods in javax.faces.webapp with parameters of type FacesContext | |
---|---|
protected abstract UIComponent |
UIComponentClassicTagBase.createComponent(FacesContext context,
java.lang.String newId)
Create and return a new child component of the type returned by calling getComponentType() . |
protected UIComponent |
UIComponentELTag.createComponent(FacesContext context,
java.lang.String newId)
Create and return a new child component of the type returned by calling getComponentType() . |
protected UIComponent |
UIComponentTag.createComponent(FacesContext context,
java.lang.String newId)
Deprecated. Implement createComponent using Faces 1.1 EL
API. |
protected UIComponent |
UIComponentTag.createComponent(FacesContext context,
java.lang.String newId)
Deprecated. Implement createComponent using Faces 1.1 EL
API. |
protected UIComponent |
UIComponentELTag.createComponent(FacesContext context,
java.lang.String newId)
Create and return a new child component of the type returned by calling getComponentType() . |
protected abstract UIComponent |
UIComponentClassicTagBase.createComponent(FacesContext context,
java.lang.String newId)
Create and return a new child component of the type returned by calling getComponentType() . |
void |
TestComponent.encodeBegin(FacesContext context)
|
void |
TestComponent.encodeBegin(FacesContext context)
|
void |
TestComponent.encodeChildren(FacesContext context)
|
void |
TestComponent.encodeChildren(FacesContext context)
|
void |
TestComponent.encodeEnd(FacesContext context)
|
void |
TestComponent.encodeEnd(FacesContext context)
|
protected UIComponent |
UIComponentClassicTagBase.findComponent(FacesContext context)
Find and return the UIComponent , from the component
tree, that corresponds to this tag handler instance. |
protected UIComponent |
UIComponentClassicTagBase.findComponent(FacesContext context)
Find and return the UIComponent , from the component
tree, that corresponds to this tag handler instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |