The Business Process Choreographer Explorer command-bar component displays a bar with buttons. These buttons operate on the object in a details view or the selected objects in a list.
<bpe:commandbar model="#{TaskInstanceList}"> <bpe:command commandID="Work on" label="Work on..." commandClass="com.ibm.bpe.client.model.command.WorkOnTaskCommand" context="#{TaskInstanceDetailsBean}"/> <bpe:command commandID="Cancel" label="Cancel" commandClass="com.ibm.bpe.client.model.command.CancelClaimTaskCommand" context="#{TaskInstanceList}"/> </bpe:commandbar>
Attribute | Required | Description |
---|---|---|
model | yes | A value binding expression to a managed bean that implements the List getSelectedItems method. |
styleClass | no | The cascading style sheet (CSS) style for rendering the bar. |
buttonStyleClass | no | The CSS style for rendering the buttons in the command bar. |
Attribute | Required | Description |
---|---|---|
commandID | yes | The ID of the command. |
commandClass | yes | The command class that is triggered. |
action | no | A JavaServer Faces (JSF) action method that has the
signature: String method(). If this attribute is specified as an outcome string, it defines an outcome used by the JSF navigation handler to determine the navigation rule and the next page to display. If this attribute is specified as a method binding (#{.....}), the method to be called has the signature String method(). Its return value is used by the JSF navigation handler to determine the navigation rule and the next page to display. |
label | yes | The label of the button that is rendered in the command bar. |
styleClass | no | The CSS style for rendering the button. This style overrides the button style defined for the command bar. |
context | no | A value binding expression, which refers to a managed bean. Use this attribute if the command needs to initialize the target page or bean. |
Last updated: Mon Mar 27 18:04:05 2006
(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)