Modifier and Type | Method and Description |
---|---|
String |
ViewHandler.calculateCharacterEncoding(FacesContext context) |
String |
ViewHandlerWrapper.calculateCharacterEncoding(FacesContext context) |
abstract Locale |
ViewHandler.calculateLocale(FacesContext context)
Return the Locale object that should be used when rendering this view to the
current user.
|
Locale |
ViewHandlerWrapper.calculateLocale(FacesContext context) |
abstract String |
ViewHandler.calculateRenderKitId(FacesContext context)
Return the id of an available render-kit that should be used to map the JSF
components into user presentation.
|
String |
ViewHandlerWrapper.calculateRenderKitId(FacesContext context) |
abstract UIComponent |
Application.createComponent(ValueBinding componentBinding,
FacesContext context,
String componentType)
Deprecated.
|
UIComponent |
Application.createComponent(javax.el.ValueExpression componentExpression,
FacesContext facesContext,
String componentType) |
abstract UIViewRoot |
ViewHandler.createView(FacesContext context,
String viewId)
Build a root node for a component tree.
|
UIViewRoot |
ViewHandlerWrapper.createView(FacesContext context,
String viewId) |
Object |
Application.evaluateExpressionGet(FacesContext context,
String expression,
Class expectedType) |
abstract String |
ViewHandler.getActionURL(FacesContext context,
String viewId)
Return a URL that a remote system can invoke in order to access the specified view.
|
String |
ViewHandlerWrapper.getActionURL(FacesContext context,
String viewId) |
protected Object |
StateManager.getComponentStateToSave(FacesContext context)
Deprecated.
|
protected Object |
StateManagerWrapper.getComponentStateToSave(FacesContext context) |
ResourceBundle |
Application.getResourceBundle(FacesContext ctx,
String name) |
abstract String |
ViewHandler.getResourceURL(FacesContext context,
String path)
Return a URL that a remote system can invoke in order to access the specified resource..
|
String |
ViewHandlerWrapper.getResourceURL(FacesContext context,
String path) |
protected Object |
StateManager.getTreeStructureToSave(FacesContext context)
Deprecated.
|
protected Object |
StateManagerWrapper.getTreeStructureToSave(FacesContext context) |
abstract void |
NavigationHandler.handleNavigation(FacesContext context,
String fromAction,
String outcome) |
void |
ViewHandler.initView(FacesContext context)
Method must be called by the JSF impl at the beginning of Phase Restore View of the JSF
lifecycle.
|
void |
ViewHandlerWrapper.initView(FacesContext context) |
boolean |
StateManager.isSavingStateInClient(FacesContext context) |
boolean |
StateManagerWrapper.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.
|
void |
ViewHandlerWrapper.renderView(FacesContext context,
UIViewRoot viewToRender) |
protected void |
StateManager.restoreComponentState(FacesContext context,
UIViewRoot viewRoot,
String renderKitId)
Deprecated.
|
protected void |
StateManagerWrapper.restoreComponentState(FacesContext context,
UIViewRoot viewRoot,
String renderKitId) |
protected UIViewRoot |
StateManager.restoreTreeStructure(FacesContext context,
String viewId,
String renderKitId)
Deprecated.
|
protected UIViewRoot |
StateManagerWrapper.restoreTreeStructure(FacesContext context,
String viewId,
String renderKitId) |
abstract UIViewRoot |
ViewHandler.restoreView(FacesContext context,
String viewId)
Handle a "postback" request by recreating the component tree that was most recently
presented to the user for the specified view.
|
UIViewRoot |
ViewHandlerWrapper.restoreView(FacesContext context,
String viewId) |
abstract UIViewRoot |
StateManager.restoreView(FacesContext context,
String viewId,
String renderKitId) |
UIViewRoot |
StateManagerWrapper.restoreView(FacesContext context,
String viewId,
String renderKitId) |
StateManager.SerializedView |
StateManager.saveSerializedView(FacesContext context)
Deprecated.
|
StateManager.SerializedView |
StateManagerWrapper.saveSerializedView(FacesContext context) |
Object |
StateManager.saveView(FacesContext context)
Returns an object that is sufficient to recreate the component tree that is the viewroot of
the specified context.
|
Object |
StateManagerWrapper.saveView(FacesContext context) |
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.
|
void |
ViewHandlerWrapper.writeState(FacesContext context) |
void |
StateManager.writeState(FacesContext context,
Object state)
Associate the provided state object with the current response being generated.
|
void |
StateManagerWrapper.writeState(FacesContext context,
Object state) |
void |
StateManager.writeState(FacesContext context,
StateManager.SerializedView state)
Deprecated.
|
void |
StateManagerWrapper.writeState(FacesContext context,
StateManager.SerializedView state) |
Modifier and Type | Method and Description |
---|---|
protected abstract FacesContext |
UIComponent.getFacesContext() |
protected FacesContext |
UIComponentBase.getFacesContext() |
Modifier and Type | Method and Description |
---|---|
abstract void |
UIComponent.decode(FacesContext context) |
void |
UIComponentBase.decode(FacesContext context)
Check the submitted form parameters for data associated with this
component.
|
void |
UIInput.decode(FacesContext context) |
void |
UIComponent.encodeAll(FacesContext context) |
abstract void |
UIComponent.encodeBegin(FacesContext context) |
void |
UIViewRoot.encodeBegin(FacesContext context) |
void |
UIComponentBase.encodeBegin(FacesContext context) |
void |
UIData.encodeBegin(FacesContext context)
Perform necessary actions when rendering of this component starts,
before delegating to the inherited implementation which calls the
associated renderer's encodeBegin method.
|
abstract void |
UIComponent.encodeChildren(FacesContext context) |
void |
UIComponentBase.encodeChildren(FacesContext context) |
abstract void |
UIComponent.encodeEnd(FacesContext context) |
void |
UIViewRoot.encodeEnd(FacesContext context) |
void |
UIComponentBase.encodeEnd(FacesContext context) |
void |
UIData.encodeEnd(FacesContext context) |
abstract String |
UIComponent.getClientId(FacesContext context) |
String |
UIComponentBase.getClientId(FacesContext context)
Get a string which can be output to the response which uniquely
identifies this UIComponent within the current view.
|
String |
UIData.getClientId(FacesContext context) |
String |
UIComponent.getContainerClientId(FacesContext ctx) |
String |
UIForm.getContainerClientId(FacesContext ctx) |
protected Object |
UIInput.getConvertedValue(FacesContext context,
Object submittedValue)
Convert the provided object to the desired value.
|
protected Object |
UISelectMany.getConvertedValue(FacesContext context,
Object submittedValue) |
protected abstract Renderer |
UIComponent.getRenderer(FacesContext context) |
protected Renderer |
UIComponentBase.getRenderer(FacesContext context) |
void |
ContextCallback.invokeContextCallback(FacesContext context,
UIComponent target) |
boolean |
UIComponent.invokeOnComponent(FacesContext context,
String clientId,
ContextCallback callback)
Invokes the
invokeContextCallback method with the component, specified by clientId . |
boolean |
UIComponentBase.invokeOnComponent(FacesContext context,
String clientId,
ContextCallback callback)
invokeOnComponent must be implemented in UIComponentBase too... |
boolean |
UIData.invokeOnComponent(FacesContext context,
String clientId,
ContextCallback callback) |
void |
UIViewRoot.processApplication(FacesContext context) |
abstract void |
UIComponent.processDecodes(FacesContext context) |
void |
UIViewRoot.processDecodes(FacesContext context) |
void |
UIComponentBase.processDecodes(FacesContext context) |
void |
UIInput.processDecodes(FacesContext context)
Set the "submitted value" of this component from the relevant data
in the current servet request object.
|
void |
UIData.processDecodes(FacesContext context) |
void |
UIForm.processDecodes(FacesContext context) |
abstract void |
UIComponent.processRestoreState(FacesContext context,
Object state) |
void |
UIComponentBase.processRestoreState(FacesContext context,
Object state) |
abstract Object |
UIComponent.processSaveState(FacesContext context) |
Object |
UIComponentBase.processSaveState(FacesContext context) |
abstract void |
UIComponent.processUpdates(FacesContext context) |
void |
UIViewRoot.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 |
UIInput.processUpdates(FacesContext context) |
void |
UIData.processUpdates(FacesContext context) |
void |
UIForm.processUpdates(FacesContext context) |
abstract void |
UIComponent.processValidators(FacesContext context) |
void |
UIViewRoot.processValidators(FacesContext context) |
void |
UIComponentBase.processValidators(FacesContext context) |
void |
UIInput.processValidators(FacesContext context) |
void |
UIData.processValidators(FacesContext context) |
void |
UIForm.processValidators(FacesContext context) |
static Object |
UIComponentBase.restoreAttachedState(FacesContext context,
Object stateObj) |
void |
StateHolder.restoreState(FacesContext context,
Object state) |
void |
UIViewRoot.restoreState(FacesContext facesContext,
Object state) |
void |
UIComponentBase.restoreState(FacesContext context,
Object state)
Invoked in the "restore view" phase, this initialises this
object's members from the values saved previously into the
provided state object.
|
void |
UIInput.restoreState(FacesContext facesContext,
Object state) |
void |
UIOutput.restoreState(FacesContext facesContext,
Object state) |
void |
UIData.restoreState(FacesContext facesContext,
Object state) |
void |
UIForm.restoreState(FacesContext context,
Object state) |
void |
UISelectItems.restoreState(FacesContext facesContext,
Object state) |
void |
UIParameter.restoreState(FacesContext facesContext,
Object state) |
void |
UIGraphic.restoreState(FacesContext facesContext,
Object state) |
void |
UISelectItem.restoreState(FacesContext facesContext,
Object state) |
void |
UICommand.restoreState(FacesContext facesContext,
Object state) |
void |
UIMessage.restoreState(FacesContext facesContext,
Object state) |
void |
UIMessages.restoreState(FacesContext facesContext,
Object state) |
static Object |
UIComponentBase.saveAttachedState(FacesContext context,
Object attachedObject)
Serializes objects which are "attached" to this component but which are
not UIComponent children of it.
|
Object |
StateHolder.saveState(FacesContext context) |
Object |
UIViewRoot.saveState(FacesContext facesContext) |
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.
|
Object |
UIInput.saveState(FacesContext facesContext) |
Object |
UIOutput.saveState(FacesContext facesContext) |
Object |
UIData.saveState(FacesContext facesContext) |
Object |
UIForm.saveState(FacesContext context) |
Object |
UISelectItems.saveState(FacesContext facesContext) |
Object |
UIParameter.saveState(FacesContext facesContext) |
Object |
UIGraphic.saveState(FacesContext facesContext) |
Object |
UISelectItem.saveState(FacesContext facesContext) |
Object |
UICommand.saveState(FacesContext facesContext) |
Object |
UIMessage.saveState(FacesContext facesContext) |
Object |
UIMessages.saveState(FacesContext facesContext) |
void |
UIInput.updateModel(FacesContext context) |
void |
UIInput.validate(FacesContext context)
Determine whether the new value is valid, and queue a ValueChangeEvent
if necessary.
|
void |
UISelectMany.validate(FacesContext context)
First part is identical to super.validate except the empty condition.
|
protected void |
UIInput.validateValue(FacesContext context,
Object convertedValue) |
protected void |
UISelectOne.validateValue(FacesContext context,
Object value)
Verify that the result of converting the newly submitted value is
equal to the value property of one of the child SelectItem
objects.
|
protected void |
UISelectMany.validateValue(FacesContext context,
Object convertedValue) |
Modifier and Type | Method and Description |
---|---|
void |
HtmlColumn.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlSelectOneListbox.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlDataTable.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlOutputLabel.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlGraphicImage.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlSelectOneMenu.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlOutputLink.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlOutputText.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlCommandLink.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlSelectManyMenu.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlSelectOneRadio.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlPanelGroup.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlSelectManyCheckbox.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlForm.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlSelectManyListbox.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlCommandButton.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlInputSecret.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlInputText.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlInputTextarea.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlMessage.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlMessages.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlSelectBooleanCheckbox.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlOutputFormat.restoreState(FacesContext facesContext,
Object state) |
void |
HtmlPanelGrid.restoreState(FacesContext facesContext,
Object state) |
Object |
HtmlColumn.saveState(FacesContext facesContext) |
Object |
HtmlSelectOneListbox.saveState(FacesContext facesContext) |
Object |
HtmlDataTable.saveState(FacesContext facesContext) |
Object |
HtmlOutputLabel.saveState(FacesContext facesContext) |
Object |
HtmlGraphicImage.saveState(FacesContext facesContext) |
Object |
HtmlSelectOneMenu.saveState(FacesContext facesContext) |
Object |
HtmlOutputLink.saveState(FacesContext facesContext) |
Object |
HtmlOutputText.saveState(FacesContext facesContext) |
Object |
HtmlCommandLink.saveState(FacesContext facesContext) |
Object |
HtmlSelectManyMenu.saveState(FacesContext facesContext) |
Object |
HtmlSelectOneRadio.saveState(FacesContext facesContext) |
Object |
HtmlPanelGroup.saveState(FacesContext facesContext) |
Object |
HtmlSelectManyCheckbox.saveState(FacesContext facesContext) |
Object |
HtmlForm.saveState(FacesContext facesContext) |
Object |
HtmlSelectManyListbox.saveState(FacesContext facesContext) |
Object |
HtmlCommandButton.saveState(FacesContext facesContext) |
Object |
HtmlInputSecret.saveState(FacesContext facesContext) |
Object |
HtmlInputText.saveState(FacesContext facesContext) |
Object |
HtmlInputTextarea.saveState(FacesContext facesContext) |
Object |
HtmlMessage.saveState(FacesContext facesContext) |
Object |
HtmlMessages.saveState(FacesContext facesContext) |
Object |
HtmlSelectBooleanCheckbox.saveState(FacesContext facesContext) |
Object |
HtmlOutputFormat.saveState(FacesContext facesContext) |
Object |
HtmlPanelGrid.saveState(FacesContext facesContext) |
Modifier and Type | Method and Description |
---|---|
static FacesContext |
FacesContext.getCurrentInstance() |
abstract FacesContext |
FacesContextFactory.getFacesContext(Object context,
Object request,
Object response,
Lifecycle lifecycle) |
Modifier and Type | Method and Description |
---|---|
protected static void |
FacesContext.setCurrentInstance(FacesContext context) |
Modifier and Type | Method and Description |
---|---|
Object |
Converter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
BooleanConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
Object |
ByteConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
Object |
BigDecimalConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
Object |
DateTimeConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
Object |
EnumConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
Object |
LongConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
Object |
NumberConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
Object |
CharacterConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
Object |
BigIntegerConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
Object |
DoubleConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
Object |
ShortConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
Object |
IntegerConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
Object |
FloatConverter.getAsObject(FacesContext facesContext,
UIComponent uiComponent,
String value) |
String |
Converter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
BooleanConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
String |
ByteConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
String |
BigDecimalConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
String |
DateTimeConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
String |
EnumConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
String |
LongConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
String |
NumberConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
String |
CharacterConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
String |
BigIntegerConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
String |
DoubleConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
String |
ShortConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
String |
IntegerConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
String |
FloatConverter.getAsString(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
void |
DateTimeConverter.restoreState(FacesContext facesContext,
Object state) |
void |
EnumConverter.restoreState(FacesContext context,
Object state) |
void |
NumberConverter.restoreState(FacesContext facesContext,
Object state) |
Object |
DateTimeConverter.saveState(FacesContext facesContext) |
Object |
EnumConverter.saveState(FacesContext context) |
Object |
NumberConverter.saveState(FacesContext facesContext) |
Modifier and Type | Method and Description |
---|---|
abstract Class |
ValueBinding.getType(FacesContext facesContext)
Deprecated.
|
abstract Class |
MethodBinding.getType(FacesContext facescontext)
Deprecated.
|
abstract Object |
ValueBinding.getValue(FacesContext facesContext)
Deprecated.
|
abstract Object |
MethodBinding.invoke(FacesContext facescontext,
Object[] aobj)
Deprecated.
|
abstract boolean |
ValueBinding.isReadOnly(FacesContext facesContext)
Deprecated.
|
abstract Object |
VariableResolver.resolveVariable(FacesContext facesContext,
String name)
Deprecated.
|
abstract void |
ValueBinding.setValue(FacesContext facesContext,
Object value)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
FacesContext |
PhaseEvent.getFacesContext() |
Modifier and Type | Method and Description |
---|---|
void |
MethodExpressionActionListener.restoreState(FacesContext context,
Object state) |
void |
MethodExpressionValueChangeListener.restoreState(FacesContext context,
Object state) |
Object |
MethodExpressionActionListener.saveState(FacesContext context) |
Object |
MethodExpressionValueChangeListener.saveState(FacesContext context) |
Constructor and Description |
---|
PhaseEvent(FacesContext facesContext,
PhaseId phaseId,
Lifecycle lifecycle) |
Modifier and Type | Method and Description |
---|---|
abstract void |
Lifecycle.execute(FacesContext context) |
abstract void |
Lifecycle.render(FacesContext context) |
Modifier and Type | Method and Description |
---|---|
String |
Renderer.convertClientId(FacesContext context,
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) |
Object |
ResponseStateManager.getComponentStateToRestore(FacesContext context)
Deprecated.
|
Object |
Renderer.getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue) |
abstract RenderKit |
RenderKitFactory.getRenderKit(FacesContext context,
String renderKitId) |
Object |
ResponseStateManager.getState(FacesContext context,
String viewId) |
Object |
ResponseStateManager.getTreeStructureToRestore(FacesContext context,
String viewId)
Deprecated.
|
boolean |
ResponseStateManager.isPostback(FacesContext context)
Checks if the current request is a postback
|
void |
ResponseStateManager.writeState(FacesContext context,
Object state) |
void |
ResponseStateManager.writeState(FacesContext context,
StateManager.SerializedView state)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
LongRangeValidator.restoreState(FacesContext context,
Object state) |
void |
DoubleRangeValidator.restoreState(FacesContext context,
Object state) |
void |
MethodExpressionValidator.restoreState(FacesContext context,
Object state) |
void |
LengthValidator.restoreState(FacesContext context,
Object state) |
Object |
LongRangeValidator.saveState(FacesContext context) |
Object |
DoubleRangeValidator.saveState(FacesContext context) |
Object |
MethodExpressionValidator.saveState(FacesContext context) |
Object |
LengthValidator.saveState(FacesContext context) |
void |
Validator.validate(FacesContext context,
UIComponent component,
Object value) |
void |
LongRangeValidator.validate(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
void |
DoubleRangeValidator.validate(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
void |
MethodExpressionValidator.validate(FacesContext context,
UIComponent component,
Object value) |
void |
LengthValidator.validate(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
Modifier and Type | Method and Description |
---|---|
protected FacesContext |
UIComponentClassicTagBase.getFacesContext() |
protected abstract FacesContext |
UIComponentTagBase.getFacesContext() |
Modifier and Type | Method and Description |
---|---|
protected UIComponent |
UIComponentELTag.createComponent(FacesContext context,
String newId) |
protected abstract UIComponent |
UIComponentClassicTagBase.createComponent(FacesContext context,
String newId) |
protected UIComponent |
UIComponentTag.createComponent(FacesContext context,
String id)
Deprecated.
Create a UIComponent.
|
protected UIComponent |
UIComponentClassicTagBase.findComponent(FacesContext context)
Return the corresponding UIComponent for this tag, creating it
if necessary.
|
Copyright © 2013 Apache Software Foundation. All Rights Reserved.