WAP Tags
Tag commandButton


This control can by rendered as a graphical button(PDA) or item in menu(mobile phones). The final view is depend on client browser. 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. If is the button attribute type set to "reset", then is command button rendered as "do" and "setvar" tags. For reset is not needed reload the page.


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

Attributes
NameRequiredRequest-timeTypeDescription
typefalsefalsejava.lang.StringDefines the type of the "do" element.This attribute tells to the browser how present this element. Possible values: (accept | prev | help | reset | options | delete | unknown | x-* | vnd.*). Default value is "accept".
optionalfalsefalsejava.lang.StringIf set to true, the browser ignores this element. If set to false, the browser does not ignore this element. Default is "false".
valuefalsefalsejava.lang.StringSets the value property of the UICommand. This is most often rendered as a label.
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.
renderedfalsefalsejava.lang.StringFlag 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.
immediatefalsefalsejava.lang.StringFlag 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.

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.