|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.webapp.UIComponentTagBase
javax.faces.webapp.UIComponentClassicTagBase
javax.faces.webapp.UIComponentTag
javax.faces.webapp.UIComponentBodyTag
com.ibm.bpe.jsf.component.taglib.BaseTag
com.ibm.bpe.jsf.component.taglib.CommandBarTag
public class CommandBarTag
This class is used to configure a CommandBar component and corresponds to the 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>
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase |
---|
bodyContent, pageContext, UNIQUE_ID_PREFIX |
Fields inherited from class javax.faces.webapp.UIComponentTagBase |
---|
log |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Constructor Summary | |
---|---|
CommandBarTag()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.ibm.bpe.jsf.component.taglib.BaseTag |
---|
add, addBooleanValue, doEndTag, doStartTag, setProperties |
Methods inherited from class javax.faces.webapp.UIComponentTag |
---|
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, setBinding, setRendered |
Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase |
---|
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 |
Methods inherited from class javax.faces.webapp.UIComponentTagBase |
---|
getELContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext, setParent |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public CommandBarTag()
Method Detail |
---|
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
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |