com.ibm.bpe.jsf.handler

Interface ItemListener

All known implementing classes:
BPCDetailsHandler

  1. public interface ItemListener
The ItemListener interface is used to declare interest in events concerning selection changes. For example, BPCListHandler allows you to register the Item Change Listener through the itemListener property:


        <managed-bean>
                <managed-bean-name>TaskInstanceList</managed-bean-name>
                <managed-bean-class>com.ibm.bpe.jsf.handler.BPCListHandler</managed-bean-class>
                <managed-bean-scope>session</managed-bean-scope>
                <managed-property>
                        <property-name>type</property-name>
                        <value>com.ibm.bpe.client.model.TaskInstanceBean</value>
                </managed-property>
                <managed-property>
                        <property-name>itemListener</property-name>
                        <list-entries>
                                <value-class>com.ibm.bpe.jsf.handler.ItemListener</value-class>
                                <value>#{TaskInstanceDetailsBean}</value>
                        </list-entries>
                </managed-property>
                <managed-property>
                        <property-name>query</property-name>
                        <value>#{TaskInstanceQuery}</value>
                </managed-property>
        </managed-bean>

 
If a link in the associated List Component is clicked, the #{TaskInstanceDetailsBean) object that implements the ItemListener interface is notified about the selected item. For more information about the List Component, see BPCListHandler and ListTag. (However, the List Component does not trigger such events as a result of changes to check box selections).

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. void
itemChanged(java.lang.Object item)
Triggered whenever a new element is selected in the ItemListener event provider.

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

Method Detail

itemChanged

  1. void itemChanged(java.lang.Object item)
  2. throws ClientException
Triggered whenever a new element is selected in the ItemListener event provider.
Parameters:
item - The item that has been selected.
Throws: