May 2015
Beginner to intermediate
412 pages
8h 44m
English
The selectOneMenu component is an extended version of JSF selectOneMenu. It provides custom content display along with skinning capabilities.
The simplest component declaration would be as follows:
<p:selectOneMenu> <f:selectItem itemLabel="English" itemValue="en"/> <f:selectItem itemLabel="Turkish" itemValue="tr"/> </p:selectOneMenu>
The output visual will be as follows:

Instead of working with primitive types or just string literals, most of the time we would be using the selectOneMenu component with domain objects. The basic definition of the component for listing the cars for ...
Read now
Unlock full access