I am creating a web application, where you have to read a list of objects / entities from a DB and populate it in a JSF . I am unable to
View-Page
Backing-Bean
List names = new ArrayList(); //-- Populate list from database names.add(new SelectItem(valueObject,"label")); //-- setter/getter accessor methods for list
To display particular selected record, it must be one of the values in the list.