|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.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.
| Field Summary | |
private static org.apache.commons.logging.Log |
log
The Log instance for this class. |
private static java.lang.String[] |
passThrough
|
| Constructor Summary | |
FormRenderer()
|
|
| Method Summary | |
protected java.lang.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 |
| Field Detail |
private static org.apache.commons.logging.Log log
The Log instance for this class.
private static java.lang.String[] passThrough
| 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 AbstractRenderercontext - FacesContext for the request we are processingcomponent - UIComponent to be processed
java.lang.NullPointerException - if context
or component is null
public void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
Render the beginning of an HTML <form>
control.
encodeBegin in class AbstractRenderercontext - FacesContext for the request we are processingcomponent - UIComponent to be rendered
java.io.IOException - if an input/output error occurs while rendering
java.lang.NullPointerException - if context
or component is null
public void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
Render the ending of an HTML <form>
control.
encodeEnd in class AbstractRenderercontext - FacesContext for the request we are processingcomponent - UIComponent to be rendered
java.io.IOException - if an input/output error occurs while rendering
java.lang.NullPointerException - if context
or component is null
protected java.lang.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 | |||||||||