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
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
action
(FacesContext context, UIComponent component) Calculate and return the value to be specified for theaction attribute on the
<form>
element to be rendered.void
decode
(FacesContext context, UIComponent component) Perform setup processing that will be required for decoding the incoming request.void
encodeBegin
(FacesContext context, UIComponent component) Render the beginning of an HTML<form>
control.void
encodeEnd
(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, setSubmittedValue
Methods 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:
decode
in classAbstractRenderer
- Parameters:
context
- FacesContext for the request we are processingcomponent
- UIComponent to be processed- Throws:
NullPointerException
- ifcontext
orcomponent
is null
-
encodeBegin
Render the beginning of an HTML
<form>
control.- Overrides:
encodeBegin
in classAbstractRenderer
- Parameters:
context
- FacesContext for the request we are processingcomponent
- UIComponent to be rendered- Throws:
IOException
- if an input/output error occurs while renderingNullPointerException
- ifcontext
orcomponent
is null
-
encodeEnd
Render the ending of an HTML
<form>
control.- Overrides:
encodeEnd
in classAbstractRenderer
- Parameters:
context
- FacesContext for the request we are processingcomponent
- UIComponent to be rendered- Throws:
IOException
- if an input/output error occurs while renderingNullPointerException
- ifcontext
orcomponent
is 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
-