Java Reference
In-Depth Information
Porting our registration page to RichFaces results in a page that looks like the
following screenshot:
The relevant markup for the RichFaces-specific version of our application looks
like this:
<rich:panel header="Registration">
<h:formprependId="false">
<h:panelGrid columns="3"
columnClasses="rightalign,leftalign,left
align">
<h:outputLabel value="Salutation: " for="salutati
on"/>
<rich:select id="salutation"
value="#{registrationBean.
salutation}">
<f:selectItem itemLabel="" itemValue=""/>
<f:selectItem itemLabel="Mr." itemValue="MR"/>
<f:selectItem itemLabel="Mrs."
itemValue="MRS"/>
<f:selectItem itemLabel="Miss"
itemValue="MISS"/>
<f:selectItem itemLabel="Ms" itemValue="MS"/>
<f:selectItem itemLabel="Dr." itemValue="DR"/>
</rich:select>
<rich:message for="salutation"/>
<h:outputLabel value="First Name:"
for="firstName"/>
 
Search WWH ::




Custom Search