Chapter 8. Selection Components

The selection components in this chapter provide various controls for selecting values from a defined list of values.

Note

The component screen shots in this chapter are based on the blueSky and deepMarine skins. I cover skins in Chapter 11.

Using <rich:pickList>

<rich:pickList> allows you to select items and move them from one list to another. This component is virtually identical to the standard <h:selectManyMenu> and <h:selectManyListbox> components, both of which also allow you to select one or more values and save them into a list. If you have used the Eclipse WTP plug-in to deploy projects, the Add and Remove Projects Wizard has a similar view where you can deploy/undeploy projects:

The following code:

<rich:pickList ...

Get Practical RichFaces 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.