Building a data bound multi select list
The selection components allow the user to select single and multiple values from a list. The ADF framework offers a variety of data bound multi select UI components.
To create a data bound multi select component, drag a collection from the Data Control panel on to a JSF page. In the opened context menu, choose Multiple Selection | ADF Select Many Choice (or any other suitable multi select component). Select the base and display attribute in the Edit List Binding dialog window and click on OK.
When you drop a collection as multi select components, IDE generates the following:
Component code in JSF page
Iterator and list binding in the page definition file
Programmatically accessing selected rows
The following code snippet illustrates the binding APIs for accessing selected rows in a list binding. The list binding used in this example is built by dropping the Departments view object as ADF Select Many Choice on the JSF page. The following is the list binding...