List component: Tag definitions

The Business Process Choreographer Explorer List component displays a list of objects in a table, for example, tasks, activities, process instances, process templates, work items, and escalations.

The List component consists of the JSF component tags: bpe:list and bpe:column, the bpe:column tag is a subelement of the bpe:list tag.

Component class

com.ibm.bpe.jsf.component.ListComponent

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 the 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 com.ibm.bpe.jsf.handler.BPCListHandler class.
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. This name must correspond to a named property as defined in the corresponding client model class.
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. If this attribute is not set, a default label is provided by the client model class.
converterID no The ID used to register the converter in the JSF configuration file. If a converter ID is not specified, the implementation of the objects displayed in the list can contain a definition of a converter for the current property. The list component uses this converter.

Terms of use |

Last updated: Tue Feb 21 17:31:26 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)