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 ...

Get Oracle ADF Real World Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.