Book Image

Oracle ADF Faces Cookbook

By : Amr Gawish, Amr Ismail Gawish
Book Image

Oracle ADF Faces Cookbook

By: Amr Gawish, Amr Ismail Gawish

Overview of this book

Table of Contents (18 chapters)
Oracle ADF Faces Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Using the selection components


The selection components allow end users to select single or multiple values from a list or group of items. ADF Faces provides a number of different selection components that range from simple Boolean checkboxes and radio buttons to order shuttle boxes that allow the user to select multiple items and order them.

Almost all of the selection components present items as either multiple tags of af:selectItem or f:selectItem or one tag of f:selectItems. This rule applies to all select components except for the selectBooleanCheckbox and selectBooleanRadio components. The following list explains different select components:

  • selectBooleanCheckbox – This is a component that is used to create an HTML checkbox as shown in the following screenshot; its value must always be a boolean or java.lang.Boolean and not an object as with other select components. It toggles between selected (true) or unselected (false) states.

  • selectBooleanRadio – This component is exactly like the...