|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.render.Renderer org.apache.struts.faces.renderer.AbstractRenderer org.apache.struts.faces.renderer.FormRenderer
public class FormRenderer
Renderer
implementation for the form
tag
from the Struts-Faces Integration Library.
Constructor Summary | |
---|---|
FormRenderer()
|
Method Summary | |
---|---|
protected String |
action(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Calculate and return the value to be specifed for the action attribute on the |
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Perform setup processing that will be required for decoding the incoming request. |
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render the beginning of an HTML <form>
control. |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render the ending of an HTML <form>
control. |
protected boolean |
isXhtml(javax.faces.component.UIComponent component)
Return true if we should render as XHTML. |
Methods inherited from class org.apache.struts.faces.renderer.AbstractRenderer |
---|
encodeChildren, encodeRecursive, getAsString, isDisabled, isReadOnly, renderAttributes, renderBoolean, renderEnd, renderPassThrough, renderStart, setSubmittedValue |
Methods inherited from class javax.faces.render.Renderer |
---|
convertClientId, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormRenderer()
Method Detail |
---|
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
Perform setup processing that will be required for decoding the incoming request.
decode
in class AbstractRenderer
context
- FacesContext for the request we are processingcomponent
- UIComponent to be processed
NullPointerException
- if context
or component
is nullpublic void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
Render the beginning of an HTML <form>
control.
encodeBegin
in class AbstractRenderer
context
- FacesContext for the request we are processingcomponent
- UIComponent to be rendered
IOException
- if an input/output error occurs while rendering
NullPointerException
- if context
or component
is nullpublic void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
Render the ending of an HTML <form>
control.
encodeEnd
in class AbstractRenderer
context
- FacesContext for the request we are processingcomponent
- UIComponent to be rendered
IOException
- if an input/output error occurs while rendering
NullPointerException
- if context
or component
is nullprotected String action(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
Calculate and return the value to be specifed for the
action attribute on the
<form>
element to be rendered.
context
- FacesContext for the current requestcomponent
- Component being processedprotected boolean isXhtml(javax.faces.component.UIComponent component)
Return true
if we should render as XHTML.
component
- The component we are rendering
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |