public class CommandBarTag
extends com.ibm.bpe.jsf.component.taglib.BaseTag
bpe:commandbar
tag.
The buttons displayed on the command bar are specified by bpe:command
CommandTag
tags, which
are in turn enclosed within the bpe:commandbar
tag.
Tag attribute | Description | Mandatory? |
---|---|---|
buttonStyleClass | The CSS style class used for rendering the buttons in the command bar. | false |
id | The JavaServer Faces ID of the component. The attribute value must start with a letter or underscore. Subsequent characters may be letters, digits, dashes, and underscores. All whitespaces will be replaced by underscores. | false |
model | A value binding expression to a managed bean that implements
the ItemProvider interface. This managed bean is usually the
BPCListHandler class or the BPCDetailsHandler
class that is used by the List component or Details component in the same JavaServer Pages (JSP)
file as the CommandBar component.
|
true |
styleClass | The CSS style class used for rendering the bar. | false |
<bpe:commandbar model="#{TaskInstanceDetails}"> <bpe:command commandID="Work on" label="#{bundle['ACTION.WORK.ON']}" commandClass="com.ibm.bpe.client.model.command.WorkOnTaskCommand" context="#{TaskInstanceDetailsBean}" action="taskMessage" /> <bpe:command commandID="Complete" label="#{bundle['ACTION.COMPLETE']}" commandClass="com.ibm.bpe.client.model.command.CompleteTaskCommand" context="#{TaskInstanceDetailsBean}" action="taskInstanceList" /> <bpe:command commandID="Release" label="#{bundle['ACTION.RELEASE']}" ccommandClass="com.ibm.bpe.client.model.command.CancelClaimTaskCommand" context="#{TaskInstanceList}" action="taskInstanceList" /> </bpe:commandbar>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
CommandBarTag() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getButtonStyleClass()
Gets the button style class used to render the command bar.
|
java.lang.String |
getComponentType()
Returns the name of the component type that is created for this tag.
|
java.lang.String |
getModel()
The Value Binding Expression points to either a
BPCListHandler or a BPCDetailsHandler . |
java.lang.String |
getRendererType()
Returns the name of the renderer type.
|
java.lang.String |
getStyleClass()
Gets the style class used to render the command bar.
|
void |
release() |
void |
setButtonStyleClass(java.lang.String cssStyle)
Sets the button style class used to render the command bar.
|
void |
setModel(java.lang.String model)
The Value Binding Expression must point to either a
BPCListHandler or a BPCDetailsHandler . |
void |
setStyleClass(java.lang.String cssStyle)
Sets the style class used to render the command bar.
|
add, addBooleanValue, doEndTag, doStartTag, setProperties
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, setBinding, setRendered
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doInitBody, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
public static final java.lang.String COPYRIGHT
public java.lang.String getComponentType()
getComponentType
in class javax.faces.webapp.UIComponentTagBase
public java.lang.String getRendererType()
getRendererType
in class javax.faces.webapp.UIComponentTagBase
public java.lang.String getModel()
BPCListHandler
or a BPCDetailsHandler
.public void setModel(java.lang.String model)
BPCListHandler
or a BPCDetailsHandler
.model
- The Value Binding Expression for the modelpublic java.lang.String getStyleClass()
public void setStyleClass(java.lang.String cssStyle)
cssStyle
- The CSS table style class namepublic java.lang.String getButtonStyleClass()
public void setButtonStyleClass(java.lang.String cssStyle)
cssStyle
- The CSS button style class namepublic void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class com.ibm.bpe.jsf.component.taglib.BaseTag