Uses of Class
javax.faces.context.FacesContext

Packages that use FacesContext
javax.faces.application   
javax.faces.component   
javax.faces.context   
javax.faces.convert   
javax.faces.el   
javax.faces.event   
javax.faces.lifecycle   
javax.faces.render   
javax.faces.validator   
javax.faces.webapp   
 

Uses of FacesContext in javax.faces.application
 

Methods in javax.faces.application with parameters of type FacesContext
 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 StateManagerWrapper.getComponentStateToSave(FacesContext context)
           
protected  Object StateManager.getComponentStateToSave(FacesContext context)
          Deprecated.  
 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 StateManagerWrapper.getTreeStructureToSave(FacesContext context)
           
protected  Object StateManager.getTreeStructureToSave(FacesContext context)
          Deprecated.  
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 StateManagerWrapper.isSavingStateInClient(FacesContext context)
           
 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.
 void ViewHandlerWrapper.renderView(FacesContext context, UIViewRoot viewToRender)
           
protected  void StateManagerWrapper.restoreComponentState(FacesContext context, UIViewRoot viewRoot, String renderKitId)
           
protected  void StateManager.restoreComponentState(FacesContext context, UIViewRoot viewRoot, String renderKitId)
          Deprecated.  
protected  UIViewRoot StateManagerWrapper.restoreTreeStructure(FacesContext context, String viewId, String renderKitId)
           
protected  UIViewRoot StateManager.restoreTreeStructure(FacesContext context, String viewId, String renderKitId)
          Deprecated.  
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)
           
 UIViewRoot StateManagerWrapper.restoreView(FacesContext context, String viewId, String renderKitId)
           
abstract  UIViewRoot StateManager.restoreView(FacesContext context, String viewId, String renderKitId)
           
 StateManager.SerializedView StateManagerWrapper.saveSerializedView(FacesContext context)
           
 StateManager.SerializedView StateManager.saveSerializedView(FacesContext context)
          Deprecated.  
 Object StateManagerWrapper.saveView(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.
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 StateManagerWrapper.writeState(FacesContext context, Object state)
           
 void StateManager.writeState(FacesContext context, Object state)
          Associate the provided state object with the current response being generated.
 void StateManagerWrapper.writeState(FacesContext context, StateManager.SerializedView state)
           
 void StateManager.writeState(FacesContext context, StateManager.SerializedView state)
          Deprecated.  
 

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
abstract  void UIComponent.decode(FacesContext context)
           
 void UIInput.decode(FacesContext context)
           
 void UIComponentBase.decode(FacesContext context)
          Check the submitted form parameters for data associated with this component.
 void UIComponent.encodeAll(FacesContext context)
           
 void UIViewRoot.encodeBegin(FacesContext context)
           
abstract  void UIComponent.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)
           
 void UIViewRoot.encodeEnd(FacesContext context)
           
abstract  void UIComponent.encodeEnd(FacesContext context)
           
 void UIComponentBase.encodeEnd(FacesContext context)
           
 void UIData.encodeEnd(FacesContext context)
           
 String UIViewRoot.getClientId(FacesContext context)
          DO NOT USE.
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 UISelectMany.getConvertedValue(FacesContext context, Object submittedValue)
           
protected  Object UIInput.getConvertedValue(FacesContext context, Object submittedValue)
          Convert the provided object to the desired value.
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)
           
 void UIViewRoot.processDecodes(FacesContext context)
           
abstract  void UIComponent.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.
 void UIComponentBase.processDecodes(FacesContext context)
           
 void UIForm.processDecodes(FacesContext context)
           
 void UIData.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)
           
 void UIViewRoot.processUpdates(FacesContext context)
           
abstract  void UIComponent.processUpdates(FacesContext context)
           
 void UIInput.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.processUpdates(FacesContext context)
           
 void UIData.processUpdates(FacesContext context)
           
 void UIViewRoot.processValidators(FacesContext context)
           
abstract  void UIComponent.processValidators(FacesContext context)
           
 void UIInput.processValidators(FacesContext context)
           
 void UIComponentBase.processValidators(FacesContext context)
           
 void UIForm.processValidators(FacesContext context)
           
 void UIData.processValidators(FacesContext context)
           
static Object UIComponentBase.restoreAttachedState(FacesContext context, Object stateObj)
           
 void UIGraphic.restoreState(FacesContext facesContext, Object state)
           
 void UIViewRoot.restoreState(FacesContext facesContext, Object state)
           
 void UICommand.restoreState(FacesContext facesContext, Object state)
           
 void StateHolder.restoreState(FacesContext context, Object state)
           
 void UIInput.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 UIForm.restoreState(FacesContext context, Object state)
           
 void UIData.restoreState(FacesContext facesContext, Object state)
           
 void UIOutput.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 UIGraphic.saveState(FacesContext facesContext)
           
 Object UIViewRoot.saveState(FacesContext facesContext)
           
 Object UICommand.saveState(FacesContext facesContext)
           
 Object StateHolder.saveState(FacesContext context)
           
 Object UIInput.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 UIForm.saveState(FacesContext context)
           
 Object UIData.saveState(FacesContext facesContext)
           
 Object UIOutput.saveState(FacesContext facesContext)
           
 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, Object convertedValue)
           
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.
 

Uses of FacesContext in javax.faces.context
 

Methods in javax.faces.context that return FacesContext
static FacesContext FacesContext.getCurrentInstance()
           
abstract  FacesContext FacesContextFactory.getFacesContext(Object context, Object request, 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
 Object IntegerConverter.getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
           
 Object Converter.getAsObject(FacesContext context, UIComponent component, String value)
           
 Object ShortConverter.getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
           
 Object EnumConverter.getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
           
 Object BooleanConverter.getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
           
 Object BigIntegerConverter.getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
           
 Object FloatConverter.getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
           
 Object DateTimeConverter.getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
           
 Object NumberConverter.getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
           
 Object DoubleConverter.getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
           
 Object CharacterConverter.getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
           
 Object LongConverter.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)
           
 String IntegerConverter.getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 String Converter.getAsString(FacesContext context, UIComponent component, Object value)
           
 String ShortConverter.getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 String EnumConverter.getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 String BooleanConverter.getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 String BigIntegerConverter.getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 String FloatConverter.getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 String DateTimeConverter.getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 String NumberConverter.getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 String DoubleConverter.getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 String CharacterConverter.getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 String LongConverter.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)
           
 void EnumConverter.restoreState(FacesContext context, Object state)
           
 void DateTimeConverter.restoreState(FacesContext facesContext, Object state)
           
 void NumberConverter.restoreState(FacesContext facesContext, Object state)
           
 Object EnumConverter.saveState(FacesContext context)
           
 Object DateTimeConverter.saveState(FacesContext facesContext)
           
 Object NumberConverter.saveState(FacesContext facesContext)
           
 

Uses of FacesContext in javax.faces.el
 

Methods in javax.faces.el with parameters of type FacesContext
abstract  Class MethodBinding.getType(FacesContext facescontext)
          Deprecated.  
abstract  Class ValueBinding.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.  
 

Uses of FacesContext in javax.faces.event
 

Methods in javax.faces.event that return FacesContext
 FacesContext PhaseEvent.getFacesContext()
           
 

Methods in javax.faces.event with parameters of type FacesContext
 void MethodExpressionActionListener.restoreState(FacesContext context, Object state)
           
 void MethodExpressionValueChangeListener.restoreState(FacesContext context, Object state)
           
 Object MethodExpressionActionListener.saveState(FacesContext context)
           
 Object MethodExpressionValueChangeListener.saveState(FacesContext context)
           
 

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
 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.  
 

Uses of FacesContext in javax.faces.validator
 

Methods in javax.faces.validator with parameters of type FacesContext
 void LongRangeValidator.restoreState(FacesContext context, Object state)
           
 void MethodExpressionValidator.restoreState(FacesContext context, Object state)
           
 void DoubleRangeValidator.restoreState(FacesContext context, Object state)
           
 void LengthValidator.restoreState(FacesContext context, Object state)
           
 Object LongRangeValidator.saveState(FacesContext context)
           
 Object MethodExpressionValidator.saveState(FacesContext context)
           
 Object DoubleRangeValidator.saveState(FacesContext context)
           
 Object LengthValidator.saveState(FacesContext context)
           
 void LongRangeValidator.validate(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 void MethodExpressionValidator.validate(FacesContext context, UIComponent component, Object value)
           
 void DoubleRangeValidator.validate(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 void Validator.validate(FacesContext context, UIComponent component, Object value)
           
 void LengthValidator.validate(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 

Uses of FacesContext in javax.faces.webapp
 

Methods in javax.faces.webapp that return FacesContext
protected  FacesContext UIComponentClassicTagBase.getFacesContext()
           
protected abstract  FacesContext UIComponentTagBase.getFacesContext()
           
 

Methods in javax.faces.webapp with parameters of type FacesContext
protected  UIComponent UIComponentTag.createComponent(FacesContext context, String id)
          Deprecated. Create a UIComponent.
protected abstract  UIComponent UIComponentClassicTagBase.createComponent(FacesContext context, String newId)
           
protected  UIComponent UIComponentELTag.createComponent(FacesContext context, String newId)
           
protected  UIComponent UIComponentClassicTagBase.findComponent(FacesContext context)
          Return the corresponding UIComponent for this tag, creating it if necessary.
 



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.