adf
Tag command


Renders a Command within a ToolBar component. When activated, Command components invoke a method on a server-side Java object.

For example:
  <a:toolbar id="toolbar1" mapId="map1">
    ...
    <a:command toolTip="PreviousExtent" toolText="PreviousExtent"
      action="#{mapContext.attributes['history'].doPrevious}"
      defaultImage="images/tasks/maptools/back.png"
      hoverImage="images/tasks/maptools/backU.png"
      selectedImage="images/tasks/maptools/backD.png"/>
  </a:toolbar>


Tag Information
Tag Classcom.esri.adf.web.faces.taglib.CommandTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The ValueExpression linking this component to a property in a backing bean.
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Indicates whether or not the component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
actionfalsefalsejavax.el.MethodExpression
(signature must match java.lang.Object action())
MethodExpression representing a method that will be invoked when the component is activated. The expression must evaluate to a public method that takes no parameters, with a return type of void.
actionListenerfalsefalsejavax.el.MethodExpression
(signature must match void actionListener(javax.faces.event.ActionEvent))
MethodExpression representing an action listener method that will be notified when the 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.
onclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Javascript code or function that will be invoked when the component is activated.
stylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style(s) to be applied when the component is rendered.
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Space-separated list of CSS style class(es) to be applied when the component is rendered.
clientPostBackfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Specifies AJAX behaviour of the component. If true, the component uses AJAX to communicate with the web server. If false, the component causes a full-page postback instead. Default value is true.
toolTipfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The tool tip displayed by the component.
toolTextfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The text label displayed by the component.
defaultImagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The image displayed by the component by default.
hoverImagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The image displayed by the component when the cursor is hovered over it.
selectedImagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The image displayed by the component when it is activated.
disabledImagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The image displayed by the component when it is disabled.
disabledfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Specifies whether the component should be disabled.
showLoadingImagefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Specifies whether the map should display an image to indicate that some processing is occuring on the web server.

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.