Java Code Generation
Here is the backing bean that is automatically created for Page1.jsp:
Page1.java.
- Note that the type SingleSelectOptionsList is defined on top of
the standard javax.faces.model.SelectItem type.
- The IDE automatically creates the dropDown1DefaultOptions
property with a getter and setter.
- This property is given a value (the list options) in the
private _init method that is called by the public init method.