org.apache.myfaces.wap.def
Class CommandLink

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byjavax.faces.component.UICommand
              extended byorg.apache.myfaces.wap.def.CommandLink
All Implemented Interfaces:
javax.faces.component.ActionSource, javax.faces.component.StateHolder

public class CommandLink
extends javax.faces.component.UICommand

Render an WML "a" anchor element that acts like a form submit button when clicked. This element must be a childern of UIForm component. Decode Behavior Obtain the Map from the "requestParameterMap" property of the ExternalContext. If the value in theMap for the value of the "clientId" property of the component is not null, get the value of the "type" attribute, and convert it to lower case. If the result is equal to the String "reset" (without the quotes), return fromdecode(). Otherwise, create ajavax.faces.event.ActionEvent around the component, and pass it to the queueEvent() method of the component, which must be an instance ofUICommand. Encode Behavior Wml don't contain submit button tag. This element is rendered using "do" and "go" wml tags.

Version:
$Revision: 1.1 $ $Date: 2004/12/30 09:37:25 $ $Log: CommandLink.java,v $ Revision 1.1 2004/12/30 09:37:25 matzew added a new RenderKit for WML. Thanks to Jirí Žaloudek
Author:
Jiri Zaloudek (latest modification by $Author: matzew $)

Field Summary
 
Fields inherited from class javax.faces.component.UICommand
COMPONENT_FAMILY, COMPONENT_TYPE
 
Constructor Summary
CommandLink()
           
 
Methods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getAction, getActionListener, getActionListeners, getFamily, getValue, isImmediate, queueEvent, removeActionListener, restoreState, saveState, setAction, setActionListener, setImmediate, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLink

public CommandLink()