|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.render.Renderer
org.apache.shale.renderer.TokenRenderer
public class TokenRenderer
Renderer for a Token component, dealing with a transaction
token used to catch duplicate form submits.
| Constructor Summary | |
|---|---|
TokenRenderer()
|
|
| Method Summary | |
|---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Save the submitted value if this component was actually rendered. |
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render the start of a hidden input element containing the transaction token value for this component. |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render the end of a hidden input element containing the transaction token value for this component. |
| Methods inherited from class javax.faces.render.Renderer |
|---|
convertClientId, encodeChildren, getConvertedValue, getRendersChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TokenRenderer()
| Method Detail |
|---|
public void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Save the submitted value if this component was actually rendered.
decode in class javax.faces.render.Renderercontext - FacesContext for the current requestcomponent - UIComponent to be decoded
public void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
Render the start of a hidden input element containing the transaction token value for this component.
encodeBegin in class javax.faces.render.Renderercontext - FacesContext for the current requestcomponent - UIComponent to be decoded
IOException - if an input/output error occurs
public void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
Render the end of a hidden input element containing the transaction token value for this component.
encodeEnd in class javax.faces.render.Renderercontext - FacesContext for the current requestcomponent - UIComponent to be decoded
IOException - if an input/output error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||