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
abstract  Locale ViewHandler.calculateLocale(FacesContext context)
          Return the Locale object that should be used when rendering this view to the current user.
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.
abstract  UIComponent Application.createComponent(ValueBinding componentBinding, FacesContext context, String componentType)
          Create an object which has an associating "binding" expression tying the component to a user property.
abstract  UIViewRoot ViewHandler.createView(FacesContext context, String viewId)
          Build a root node for a component tree.
abstract  String ViewHandler.getActionURL(FacesContext context, String viewId)
          Return a URL that a remote system can invoke in order to access the specified view.
protected abstract  Object StateManager.getComponentStateToSave(FacesContext context)
          Return data that can be applied to a component tree created using the "getTreeStructureToSave" method.
abstract  String ViewHandler.getResourceURL(FacesContext context, String path)
          Return a URL that a remote system can invoke in order to access the specified resource..
protected abstract  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, String fromAction, 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, String renderKitId)
           
protected abstract  UIViewRoot StateManager.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.
abstract  UIViewRoot StateManager.restoreView(FacesContext context, String viewId, 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
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 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)
           
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)
           
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 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 context, Object state)
           
 void UIViewRoot.restoreState(FacesContext context, Object state)
           
 void UIParameter.restoreState(FacesContext context, Object state)
           
 void UICommand.restoreState(FacesContext context, Object state)
           
 void StateHolder.restoreState(FacesContext context, Object state)
           
 void UIInput.restoreState(FacesContext context, 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 UISelectItem.restoreState(FacesContext context, Object state)
           
 void UIMessages.restoreState(FacesContext context, Object state)
           
 void UIData.restoreState(FacesContext context, Object state)
           
 void UIOutput.restoreState(FacesContext context, Object state)
           
 void UISelectItems.restoreState(FacesContext context, Object state)
           
 void UIMessage.restoreState(FacesContext context, 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 context)
           
 Object UIViewRoot.saveState(FacesContext context)
           
 Object UIParameter.saveState(FacesContext context)
           
 Object UICommand.saveState(FacesContext context)
           
 Object StateHolder.saveState(FacesContext context)
           
 Object UIInput.saveState(FacesContext context)
           
 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 UISelectItem.saveState(FacesContext context)
           
 Object UIMessages.saveState(FacesContext context)
           
 Object UIForm.saveState(FacesContext context)
           
 Object UIData.saveState(FacesContext context)
           
 Object UIOutput.saveState(FacesContext context)
           
 Object UISelectItems.saveState(FacesContext context)
           
 Object UIMessage.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, 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 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 context, UIComponent component, 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 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 context, UIComponent component, 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 DateTimeConverter.restoreState(FacesContext facesContext, Object state)
           
 void NumberConverter.restoreState(FacesContext facesContext, Object state)
           
 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)
           
abstract  Class ValueBinding.getType(FacesContext facesContext)
           
abstract  Object ValueBinding.getValue(FacesContext facesContext)
           
abstract  Object MethodBinding.invoke(FacesContext facescontext, Object[] aobj)
           
abstract  boolean ValueBinding.isReadOnly(FacesContext facesContext)
           
abstract  Object VariableResolver.resolveVariable(FacesContext facesContext, String name)
           
abstract  void ValueBinding.setValue(FacesContext facesContext, 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
 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)
           
abstract  Object ResponseStateManager.getComponentStateToRestore(FacesContext context)
           
 Object Renderer.getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)
           
abstract  RenderKit RenderKitFactory.getRenderKit(FacesContext context, String renderKitId)
           
abstract  Object ResponseStateManager.getTreeStructureToRestore(FacesContext context, 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, Object state)
           
 void DoubleRangeValidator.restoreState(FacesContext context, Object state)
           
 void LengthValidator.restoreState(FacesContext context, Object state)
           
 Object LongRangeValidator.saveState(FacesContext context)
           
 Object DoubleRangeValidator.saveState(FacesContext context)
           
 Object LengthValidator.saveState(FacesContext context)
           
 void LongRangeValidator.validate(FacesContext facesContext, UIComponent uiComponent, 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 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.
 



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