|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of FacesContext in javax.faces.application |
---|
Methods in javax.faces.application with parameters of type FacesContext | |
---|---|
abstract java.util.Locale |
ViewHandler.calculateLocale(FacesContext context)
Return the Locale object that should be used when rendering this view to the current user. |
abstract java.lang.String |
ViewHandler.calculateRenderKitId(FacesContext context)
Return the id of an available render-kit that should be used to map the JSF components into user presentation. |
abstract UIComponent |
Application.createComponent(ValueBinding componentBinding,
FacesContext context,
java.lang.String componentType)
Create an object which has an associating "binding" expression tying the component to a user property. |
abstract UIViewRoot |
ViewHandler.createView(FacesContext context,
java.lang.String viewId)
Build a root node for a component tree. |
abstract java.lang.String |
ViewHandler.getActionURL(FacesContext context,
java.lang.String viewId)
Return a URL that a remote system can invoke in order to access the specified view. |
protected abstract java.lang.Object |
StateManager.getComponentStateToSave(FacesContext context)
Return data that can be applied to a component tree created using the "getTreeStructureToSave" method. |
abstract java.lang.String |
ViewHandler.getResourceURL(FacesContext context,
java.lang.String path)
Return a URL that a remote system can invoke in order to access the specified resource.. |
protected abstract java.lang.Object |
StateManager.getTreeStructureToSave(FacesContext context)
Return data that is sufficient to recreate the component tree that is the viewroot of the specified context, but without restoring the state in the components. |
abstract void |
NavigationHandler.handleNavigation(FacesContext context,
java.lang.String fromAction,
java.lang.String outcome)
|
boolean |
StateManager.isSavingStateInClient(FacesContext context)
|
abstract void |
ViewHandler.renderView(FacesContext context,
UIViewRoot viewToRender)
Combine the output of all the components in the viewToRender with data from the original view template (if any) and write the result to context.externalContext.response. |
protected abstract void |
StateManager.restoreComponentState(FacesContext context,
UIViewRoot viewRoot,
java.lang.String renderKitId)
|
protected abstract UIViewRoot |
StateManager.restoreTreeStructure(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
|
abstract UIViewRoot |
ViewHandler.restoreView(FacesContext context,
java.lang.String viewId)
Handle a "postback" request by recreating the component tree that was most recently presented to the user for the specified view. |
abstract UIViewRoot |
StateManager.restoreView(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
|
abstract StateManager.SerializedView |
StateManager.saveSerializedView(FacesContext context)
Invokes getTreeStructureToSave and getComponentStateToSave, then return an object that wraps the two resulting objects. |
abstract void |
ViewHandler.writeState(FacesContext context)
Write sufficient information to context.externalContext.response in order to be able to restore this view if the user performs a "postback" using that rendered response. |
abstract void |
StateManager.writeState(FacesContext context,
StateManager.SerializedView state)
Associate the provided state object with the current response being generated. |
Uses of FacesContext in javax.faces.component |
---|
Methods in javax.faces.component that return FacesContext | |
---|---|
protected abstract FacesContext |
UIComponent.getFacesContext()
|
protected FacesContext |
UIComponentBase.getFacesContext()
|
Methods in javax.faces.component with parameters of type FacesContext | |
---|---|
void |
UIInput.decode(FacesContext context)
|
abstract void |
UIComponent.decode(FacesContext context)
|
void |
UIComponentBase.decode(FacesContext context)
Check the submitted form parameters for data associated with this component. |
void |
UIData.encodeBegin(FacesContext context)
Perform necessary actions when rendering of this component starts, before delegating to the inherited implementation which calls the associated renderer's encodeBegin method. |
void |
UIViewRoot.encodeBegin(FacesContext context)
|
abstract void |
UIComponent.encodeBegin(FacesContext context)
|
void |
UIComponentBase.encodeBegin(FacesContext context)
|
abstract void |
UIComponent.encodeChildren(FacesContext context)
|
void |
UIComponentBase.encodeChildren(FacesContext context)
|
void |
UIData.encodeEnd(FacesContext context)
|
abstract void |
UIComponent.encodeEnd(FacesContext context)
|
void |
UIComponentBase.encodeEnd(FacesContext context)
|
java.lang.String |
UIData.getClientId(FacesContext context)
|
java.lang.String |
UIViewRoot.getClientId(FacesContext context)
DO NOT USE. |
abstract java.lang.String |
UIComponent.getClientId(FacesContext context)
|
java.lang.String |
UIComponentBase.getClientId(FacesContext context)
Get a string which can be output to the response which uniquely identifies this UIComponent within the current view. |
protected java.lang.Object |
UISelectMany.getConvertedValue(FacesContext context,
java.lang.Object submittedValue)
|
protected java.lang.Object |
UIInput.getConvertedValue(FacesContext context,
java.lang.Object submittedValue)
Convert the provided object to the desired value. |
protected abstract Renderer |
UIComponent.getRenderer(FacesContext context)
|
protected Renderer |
UIComponentBase.getRenderer(FacesContext context)
|
void |
UIViewRoot.processApplication(FacesContext context)
|
void |
UIForm.processDecodes(FacesContext context)
|
void |
UIData.processDecodes(FacesContext context)
|
void |
UIViewRoot.processDecodes(FacesContext context)
|
void |
UIInput.processDecodes(FacesContext context)
Set the "submitted value" of this component from the relevant data in the current servlet request object. |
abstract void |
UIComponent.processDecodes(FacesContext context)
|
void |
UIComponentBase.processDecodes(FacesContext context)
|
abstract void |
UIComponent.processRestoreState(FacesContext context,
java.lang.Object state)
|
void |
UIComponentBase.processRestoreState(FacesContext context,
java.lang.Object state)
|
abstract java.lang.Object |
UIComponent.processSaveState(FacesContext context)
|
java.lang.Object |
UIComponentBase.processSaveState(FacesContext context)
|
void |
UIForm.processUpdates(FacesContext context)
|
void |
UIData.processUpdates(FacesContext context)
|
void |
UIViewRoot.processUpdates(FacesContext context)
|
void |
UIInput.processUpdates(FacesContext context)
|
abstract void |
UIComponent.processUpdates(FacesContext context)
|
void |
UIComponentBase.processUpdates(FacesContext context)
This isn't an input component, so just pass on the processUpdates call to child components and facets that might be input components. |
void |
UIForm.processValidators(FacesContext context)
|
void |
UIData.processValidators(FacesContext context)
|
void |
UIViewRoot.processValidators(FacesContext context)
|
void |
UIInput.processValidators(FacesContext context)
|
abstract void |
UIComponent.processValidators(FacesContext context)
|
void |
UIComponentBase.processValidators(FacesContext context)
|
static java.lang.Object |
UIComponentBase.restoreAttachedState(FacesContext context,
java.lang.Object stateObj)
|
void |
UIMessage.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIData.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UICommand.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UISelectItem.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIGraphic.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIOutput.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIMessages.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UISelectItems.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIViewRoot.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIInput.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIParameter.restoreState(FacesContext context,
java.lang.Object state)
|
void |
UIComponentBase.restoreState(FacesContext context,
java.lang.Object state)
Invoked in the "restore view" phase, this initialises this object's members from the values saved previously into the provided state object. |
void |
StateHolder.restoreState(FacesContext context,
java.lang.Object state)
|
static java.lang.Object |
UIComponentBase.saveAttachedState(FacesContext context,
java.lang.Object attachedObject)
Serializes objects which are "attached" to this component but which are not UIComponent children of it. |
java.lang.Object |
UIForm.saveState(FacesContext context)
|
java.lang.Object |
UIMessage.saveState(FacesContext context)
|
java.lang.Object |
UIData.saveState(FacesContext context)
|
java.lang.Object |
UICommand.saveState(FacesContext context)
|
java.lang.Object |
UISelectItem.saveState(FacesContext context)
|
java.lang.Object |
UIGraphic.saveState(FacesContext context)
|
java.lang.Object |
UIOutput.saveState(FacesContext context)
|
java.lang.Object |
UIMessages.saveState(FacesContext context)
|
java.lang.Object |
UISelectItems.saveState(FacesContext context)
|
java.lang.Object |
UIViewRoot.saveState(FacesContext context)
|
java.lang.Object |
UIInput.saveState(FacesContext context)
|
java.lang.Object |
UIParameter.saveState(FacesContext context)
|
java.lang.Object |
UIComponentBase.saveState(FacesContext context)
Invoked after the render phase has completed, this method returns an object which can be passed to the restoreState of some other instance of UIComponentBase to reset that object's state to the same values as this object currently has. |
java.lang.Object |
StateHolder.saveState(FacesContext context)
|
void |
UIInput.updateModel(FacesContext context)
|
void |
UISelectMany.validate(FacesContext context)
First part is identical to super.validate except the empty condition. |
void |
UIInput.validate(FacesContext context)
Determine whether the new value is valid, and queue a ValueChangeEvent if necessary. |
protected void |
UISelectMany.validateValue(FacesContext context,
java.lang.Object convertedValue)
|
protected void |
UIInput.validateValue(FacesContext context,
java.lang.Object convertedValue)
|
protected void |
UISelectOne.validateValue(FacesContext context,
java.lang.Object value)
Verify that the result of converting the newly submitted value is equal to the value property of one of the child SelectItem objects. |
Uses of FacesContext in javax.faces.component.html |
---|
Methods in javax.faces.component.html with parameters of type FacesContext | |
---|---|
void |
HtmlDataTable.encodeBegin(FacesContext context)
|
void |
HtmlOutputText.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlSelectManyMenu.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlPanelGroup.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlInputTextarea.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlSelectBooleanCheckbox.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlSelectManyCheckbox.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlForm.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlSelectOneMenu.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlOutputLabel.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlSelectManyListbox.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlMessage.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlOutputFormat.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlCommandButton.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlInputSecret.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlSelectOneRadio.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlOutputLink.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlGraphicImage.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlInputText.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlCommandLink.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlMessages.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlDataTable.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlSelectOneListbox.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
HtmlPanelGrid.restoreState(FacesContext facesContext,
java.lang.Object state)
|
java.lang.Object |
HtmlOutputText.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlSelectManyMenu.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlPanelGroup.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlInputTextarea.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlSelectBooleanCheckbox.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlSelectManyCheckbox.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlForm.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlSelectOneMenu.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlOutputLabel.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlSelectManyListbox.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlMessage.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlOutputFormat.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlCommandButton.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlInputSecret.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlSelectOneRadio.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlOutputLink.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlGraphicImage.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlInputText.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlCommandLink.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlMessages.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlDataTable.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlSelectOneListbox.saveState(FacesContext facesContext)
|
java.lang.Object |
HtmlPanelGrid.saveState(FacesContext facesContext)
|
Uses of FacesContext in javax.faces.context |
---|
Methods in javax.faces.context that return FacesContext | |
---|---|
static FacesContext |
FacesContext.getCurrentInstance()
|
abstract FacesContext |
FacesContextFactory.getFacesContext(java.lang.Object context,
java.lang.Object request,
java.lang.Object response,
Lifecycle lifecycle)
|
Methods in javax.faces.context with parameters of type FacesContext | |
---|---|
protected static void |
FacesContext.setCurrentInstance(FacesContext context)
|
Uses of FacesContext in javax.faces.convert |
---|
Methods in javax.faces.convert with parameters of type FacesContext | |
---|---|
java.lang.Object |
FloatConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value)
|
java.lang.Object |
DateTimeConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
BooleanConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value)
|
java.lang.Object |
NumberConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value)
|
java.lang.Object |
ShortConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value)
|
java.lang.Object |
DoubleConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value)
|
java.lang.Object |
BigDecimalConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value)
|
java.lang.Object |
Converter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
|
java.lang.Object |
ByteConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value)
|
java.lang.Object |
BigIntegerConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value)
|
java.lang.Object |
IntegerConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value)
|
java.lang.Object |
LongConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value)
|
java.lang.Object |
CharacterConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value)
|
java.lang.String |
FloatConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
java.lang.String |
DateTimeConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
BooleanConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
java.lang.String |
NumberConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
java.lang.String |
ShortConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
java.lang.String |
DoubleConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
java.lang.String |
BigDecimalConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
java.lang.String |
Converter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
|
java.lang.String |
ByteConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
java.lang.String |
BigIntegerConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
java.lang.String |
IntegerConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
java.lang.String |
LongConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
java.lang.String |
CharacterConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
void |
DateTimeConverter.restoreState(FacesContext facesContext,
java.lang.Object state)
|
void |
NumberConverter.restoreState(FacesContext facesContext,
java.lang.Object state)
|
java.lang.Object |
DateTimeConverter.saveState(FacesContext facesContext)
|
java.lang.Object |
NumberConverter.saveState(FacesContext facesContext)
|
Uses of FacesContext in javax.faces.el |
---|
Methods in javax.faces.el with parameters of type FacesContext | |
---|---|
abstract java.lang.Class |
ValueBinding.getType(FacesContext facesContext)
|
abstract java.lang.Class |
MethodBinding.getType(FacesContext facescontext)
|
abstract java.lang.Object |
ValueBinding.getValue(FacesContext facesContext)
|
abstract java.lang.Object |
MethodBinding.invoke(FacesContext facescontext,
java.lang.Object[] aobj)
|
abstract boolean |
ValueBinding.isReadOnly(FacesContext facesContext)
|
abstract java.lang.Object |
VariableResolver.resolveVariable(FacesContext facesContext,
java.lang.String name)
|
abstract void |
ValueBinding.setValue(FacesContext facesContext,
java.lang.Object value)
|
Uses of FacesContext in javax.faces.event |
---|
Methods in javax.faces.event that return FacesContext | |
---|---|
FacesContext |
PhaseEvent.getFacesContext()
|
Constructors in javax.faces.event with parameters of type FacesContext | |
---|---|
PhaseEvent(FacesContext facesContext,
PhaseId phaseId,
Lifecycle lifecycle)
|
Uses of FacesContext in javax.faces.lifecycle |
---|
Methods in javax.faces.lifecycle with parameters of type FacesContext | |
---|---|
abstract void |
Lifecycle.execute(FacesContext context)
|
abstract void |
Lifecycle.render(FacesContext context)
|
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)
|
void |
Renderer.decode(FacesContext context,
UIComponent component)
|
void |
Renderer.encodeBegin(FacesContext context,
UIComponent component)
|
void |
Renderer.encodeChildren(FacesContext context,
UIComponent component)
Render all children if there are any. |
void |
Renderer.encodeEnd(FacesContext context,
UIComponent component)
|
abstract java.lang.Object |
ResponseStateManager.getComponentStateToRestore(FacesContext context)
|
java.lang.Object |
Renderer.getConvertedValue(FacesContext context,
UIComponent component,
java.lang.Object submittedValue)
|
abstract RenderKit |
RenderKitFactory.getRenderKit(FacesContext context,
java.lang.String renderKitId)
|
abstract java.lang.Object |
ResponseStateManager.getTreeStructureToRestore(FacesContext context,
java.lang.String viewId)
|
abstract void |
ResponseStateManager.writeState(FacesContext context,
StateManager.SerializedView state)
|
Uses of FacesContext in javax.faces.validator |
---|
Methods in javax.faces.validator with parameters of type FacesContext | |
---|---|
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)
|
java.lang.Object |
LongRangeValidator.saveState(FacesContext context)
|
java.lang.Object |
LengthValidator.saveState(FacesContext context)
|
java.lang.Object |
DoubleRangeValidator.saveState(FacesContext context)
|
void |
Validator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
LongRangeValidator.validate(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
void |
LengthValidator.validate(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
void |
DoubleRangeValidator.validate(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
Uses of FacesContext in javax.faces.webapp |
---|
Methods in javax.faces.webapp that return FacesContext | |
---|---|
protected FacesContext |
UIComponentTag.getFacesContext()
|
Methods in javax.faces.webapp with parameters of type FacesContext | |
---|---|
protected UIComponent |
UIComponentTag.findComponent(FacesContext context)
Return the corresponding UIComponent for this tag, creating it if necessary. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |