List component: Tag definitions

The Business Process Choreographer Explorer list component displays a list of business process or human task objects in a table, for example, tasks, activities, process instances, process templates, work items, and escalations. The list component aggregates standard JavaServer Faces components (DataTable).

Component class

com.ibm.bpe.jsf.component.List

Example syntax

<bpe:list model="#{ProcessTemplateList}">
          rows="20"
          styleClass="list"
          headerStyleClass="listHeader"
          rowClasses="normal"> 

    <bpe:column name="name" action="processTemplateDetails"/>
    <bpe:column name="validFromTime"/>
    <bpe:column name="executionMode" label="Execution mode"/>
    <bpe:column name="state" converterID="my.state.converter"/>
    <bpe:column name="autoDelete"/>
    <bpe:column name="description"/>

</bpe:list>

Tag attributes

The body of the <bpe:list> tag can contain only <bpe:column> tags. When the table is rendered, the list component iterates over its list of application objects and provides the specific object for each column.

Table 1. bpe:list attributes
Attribute Required Description
model yes A value binding for a managed bean of the BPCListHandler type.
styleClass no The cascading style sheet (CSS) style for rendering the overall table containing titles, rows, and paging buttons.
headerStyleClass no The CSS style class for rendering the table header.
cellStyleClass no The CSS style class for rendering individual table cells.
buttonStyleClass no The CSS style class for rendering the buttons in the footer area.
rowClasses no The CSS style class for rendering the rows in the table.
rows no The number of rows that are shown on a page. If the number of items exceeds the number of rows, paging buttons are displayed at the end of the table.
checkbox no Determines whether the check box for selecting multiple items is rendered. The attribute has the value true or false.
Table 2. bpe:column attributes
Attribute Required Description
name yes The name of the object property that is shown in this column.
action no If this attribute is specified as an outcome string, it defines an outcome used by the JavaServer Faces (JSF) navigation handler to determine the next page.

If this attribute is specified as a method binding (#{.....}), the method to be called has the signature String method() and its return value is used by the JSF navigation handler to determine the next page.

label no The label displayed in the header of the column or the cell of the table header row.
converterID no The ID used to register the converter in the JSF configuration file.

Terms of use | | Broken links

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)