Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.struts.faces.renderer
Class CommandLinkRenderer  view CommandLinkRenderer download CommandLinkRenderer.java

java.lang.Object
  extended byjavax.faces.render.Renderer
      extended byorg.apache.struts.faces.renderer.AbstractRenderer
          extended byorg.apache.struts.faces.renderer.CommandLinkRenderer

public class CommandLinkRenderer
extends AbstractRenderer

Renderer implementation for the commandLink tag from the Struts-Faces Integration Library.

Version:
$Rev: 54934 $ $Date: 2004-10-16 18:07:50 +0100 (Sat, 16 Oct 2004) $

Field Summary
private static org.apache.commons.logging.Log log
          The Log instance for this class.
private static java.lang.String[] passThrough
           
private static java.lang.String TOKEN
          Token for private names.
 
Constructor Summary
CommandLinkRenderer()
           
 
Method Summary
 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 renderAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer)
          Render the attributes of a hyperlink to submit this form.
 void renderEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer)
          Render the end of a hyperlink to submit this form.
 void renderStart(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer)
          Render the beginning of a hyperlink to submit this form.
 
Methods inherited from class org.apache.struts.faces.renderer.AbstractRenderer
encodeBegin, encodeChildren, encodeEnd, encodeRecursive, getAsString, isDisabled, isReadOnly, renderBoolean, renderPassThrough, 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

TOKEN

private static final java.lang.String TOKEN

Token for private names.

See Also:
Constant Field Values

log

private static org.apache.commons.logging.Log log

The Log instance for this class.


passThrough

private static java.lang.String[] passThrough
Constructor Detail

CommandLinkRenderer

public CommandLinkRenderer()
Method Detail

decode

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.

Overrides:
decode in class AbstractRenderer

renderStart

public void renderStart(javax.faces.context.FacesContext context,
                        javax.faces.component.UIComponent component,
                        javax.faces.context.ResponseWriter writer)
                 throws java.io.IOException

Render the beginning of a hyperlink to submit this form.

Overrides:
renderStart in class AbstractRenderer

renderAttributes

public void renderAttributes(javax.faces.context.FacesContext context,
                             javax.faces.component.UIComponent component,
                             javax.faces.context.ResponseWriter writer)
                      throws java.io.IOException

Render the attributes of a hyperlink to submit this form.

Overrides:
renderAttributes in class AbstractRenderer

renderEnd

public void renderEnd(javax.faces.context.FacesContext context,
                      javax.faces.component.UIComponent component,
                      javax.faces.context.ResponseWriter writer)
               throws java.io.IOException

Render the end of a hyperlink to submit this form.

Overrides:
renderEnd in class AbstractRenderer