Package org.apache.struts.faces.renderer
Class FormRenderer
java.lang.Object
jakarta.faces.render.Renderer
org.apache.struts.faces.renderer.AbstractRenderer
org.apache.struts.faces.renderer.FormRenderer
Renderer implementation for the form tag
from the Struts-Faces Integration Library.
- Version:
- $Rev$ $Date$
-
Field Summary
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringaction(FacesContext context, UIComponent component) Calculate and return the value to be specified for theaction attribute on the<form>element to be rendered.voiddecode(FacesContext context, UIComponent component) Perform setup processing that will be required for decoding the incoming request.voidencodeBegin(FacesContext context, UIComponent component) Render the beginning of an HTML<form>control.voidencodeEnd(FacesContext context, UIComponent component) Render the ending of an HTML<form>control.Methods inherited from class org.apache.struts.faces.renderer.AbstractRenderer
encodeChildren, encodeRecursive, getAsString, isDisabled, isReadOnly, isXhtml, renderAttributes, renderBoolean, renderEnd, renderPassThrough, renderStart, searchComponent, setSubmittedValueMethods inherited from class jakarta.faces.render.Renderer
convertClientId, getConvertedValue, getRendersChildren
-
Constructor Details
-
FormRenderer
public FormRenderer()
-
-
Method Details
-
decode
Perform setup processing that will be required for decoding the incoming request.
- Overrides:
decodein classAbstractRenderer- Parameters:
context- FacesContext for the request we are processingcomponent- UIComponent to be processed- Throws:
NullPointerException- ifcontextorcomponentis null
-
encodeBegin
Render the beginning of an HTML
<form>control.- Overrides:
encodeBeginin classAbstractRenderer- Parameters:
context- FacesContext for the request we are processingcomponent- UIComponent to be rendered- Throws:
IOException- if an input/output error occurs while renderingNullPointerException- ifcontextorcomponentis null
-
encodeEnd
Render the ending of an HTML
<form>control.- Overrides:
encodeEndin classAbstractRenderer- Parameters:
context- FacesContext for the request we are processingcomponent- UIComponent to be rendered- Throws:
IOException- if an input/output error occurs while renderingNullPointerException- ifcontextorcomponentis null
-
action
Calculate and return the value to be specified for the
action attribute on the<form>element to be rendered.- Parameters:
context- FacesContext for the current requestcomponent- Component being processed
-