WAP Tags
Tag commandLink


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.


Tag Information
Tag Classorg.apache.myfaces.wap.taglib.CommandLinkTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
titlefalsefalsejava.lang.StringDefines a text identifying the link.
xmllangfalsefalsejava.lang.StringThe xml:lang attribute specifies the natural or formal language of an element or its attributes.
styleClassfalsefalsejava.lang.StringSpace-separated list of style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
actionfalsefalsejava.lang.StringMethodBinding representing the application action to invoke when this component is activated by the user. The expression must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application.
actionListenerfalsefalsejava.lang.StringMethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void.
idfalsefalsejava.lang.StringThe component identifier for the associated component.
renderedfalsefalsebooleanFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
bindingfalsefalsejava.lang.StringThe value binding expression linking this component to a property in a backing bean.
immediatefalsefalsebooleanFlag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
valuefalsefalsejava.lang.ObjectThe current value of this component. TODO: implement this attribute.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.