|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.webapp.UIComponentTag
javax.faces.webapp.UIComponentBodyTag
com.ibm.bpe.jsf.component.taglib.BaseTag
com.ibm.bpe.jsf.component.taglib.ListTag
This class is used to configure a List Component and corresponds to the
bpe:list tag. The columns shown in the list are specified by bpe:column
ColumnTag
tags which are enclosed in the bpe:list tag. The
implementation of the ListComponent is based on the Java Server Faces
h:dataTable functionality.
Table of tag attributes:
tag attribute | description | mandatory |
---|---|---|
model | The model which is displayed. The value must be a Value Binding
Expression that evaluates to a BPCListHandler
BPCListHandler . |
true |
cellStyleClass | The CSS style used for the content cells in the h:dataTable. | false |
checkbox | If true, the first column will be a checkbox column. The value must either be a literal 'true' or 'false' or a Value Binding Expression that returns a Boolean value. The default is true. | false |
headerStyleClass | The CSS style used for the header cells in the h:dataTable. | false |
rowClasses | The CSS styles set as rowClasses attribute on the h:dataTable. | false |
rows | The number of rows that are shown at once. If model cannot be shown entirely button for paging are displayed. The value must be number literal. Value Binding Expressions are not supported. | false |
styleClass | The CSS style used as styleClass attribute on the h:dataTable | false |
<bpe:list model="#{ProcessInstanceList}" rows="5" styleClass="list" headerStyleClass="listHeader" rowClasses="normal"> <bpe:column name="name" action="processInstanceDetails" /> <bpe:column name="processTemplateName" action="processTemplateDetails" /> <bpe:column name="executionState" /> <bpe:column name="startTime" /> </bpe:list>
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Fields inherited from class javax.faces.webapp.UIComponentBodyTag |
---|
bodyContent |
Fields inherited from class javax.faces.webapp.UIComponentTag |
---|
pageContext |
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 |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
ListTag()
|
Method Summary | |
---|---|
java.lang.String |
getButtonStyleClass()
Returns the style class used for rendering the buttons. |
java.lang.String |
getCellStyleClass()
Returns the name of the cell style class used for rendering the list. |
java.lang.String |
getCheckbox()
Returns whether a checkbox column is shown. |
java.lang.String |
getComponentType()
Returns the name of the component type that is created for this tag. |
java.lang.String |
getHeaderStyleClass()
Returns the name of the header style class used for rendering the list. |
java.lang.String |
getModel()
Returns the Value Binding Expression used for retrieving the model. |
java.lang.String |
getRendererType()
Returns the name of the renderer type. |
java.lang.String |
getRowClasses()
Returns the name of the rowClasses attribute used for rendering the list. |
java.lang.String |
getRows()
Returns the maximal number of rows that are shown in the list at once. |
java.lang.String |
getStyleClass()
Returns the style class used for rendering the list. |
void |
release()
|
void |
setButtonStyleClass(java.lang.String cssStyle)
Sets the style class used for rendering the buttons. |
void |
setCellStyleClass(java.lang.String cssStyle)
Sets the cell style class used for rendering the list. |
void |
setCheckbox(java.lang.String isCheckboxRequired)
Determines whether a check column is shown. |
void |
setHeaderStyleClass(java.lang.String cssStyle)
Sets the header style class used for rendering the list. |
void |
setModel(java.lang.String model)
Sets the Value Binding Expression on the list. |
void |
setRowClasses(java.lang.String cssStyle)
Sets the row classes used for rendering the list. |
void |
setRows(java.lang.String numberOfRows)
Sets the maximal number of rows that are shown in the list. |
void |
setStyleClass(java.lang.String cssStyle)
Sets the style class used for rendering the list. |
Methods inherited from class com.ibm.bpe.jsf.component.taglib.BaseTag |
---|
add, addBooleanValue, doEndTag, doStartTag, setProperties |
Methods inherited from class javax.faces.webapp.UIComponentBodyTag |
---|
doAfterBody, doInitBody, getBodyContent, getDoAfterBodyValue, getDoStartValue, getPreviousOut, setBodyContent |
Methods inherited from class javax.faces.webapp.UIComponentTag |
---|
encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
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 ListTag()
Method Detail |
public void release()
public java.lang.String getComponentType()
public java.lang.String getRendererType()
public java.lang.String getCheckbox()
public java.lang.String getCellStyleClass()
public java.lang.String getHeaderStyleClass()
public java.lang.String getStyleClass()
public java.lang.String getRowClasses()
public java.lang.String getModel()
BPCListHandler
.
public java.lang.String getRows()
public void setCellStyleClass(java.lang.String cssStyle)
cssStyle
- The CSS cell style class namepublic void setHeaderStyleClass(java.lang.String cssStyle)
cssStyle
- The CSS header style class namepublic void setRowClasses(java.lang.String cssStyle)
cssStyle
- The CSS row style class namepublic void setModel(java.lang.String model)
BPCListHandler
.
model
- The Value Binding Expression for the modelpublic void setRows(java.lang.String numberOfRows)
numberOfRows
- The number of rows shown.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 setCheckbox(java.lang.String isCheckboxRequired)
isCheckboxRequired
- Either 'true' or 'false' or a Value Binding Expression
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |