HTML and CSS Reference
In-Depth Information
<h:message for="favoriteFood"/>
<h:outputText value="Favorite Beverage"></h:outputText>
<h:inputText id="favoriteBeverge" value="#{favorite.beverage}" required="true">
<h:message for="favoriteBeverge"/>
<h:outputText value="Favorite Sport"></h:outputText>
<h:inputText id="favoriteSport" value="#{}" required="true">
<h:message for="favoriteSport"/>
<h:commandButton value="Save my favorites" action="#{}"/><br/><br/>
The code in the favorites.xhtml page is represented as a tree of UI components, as shown in Figure 1-8 .
Figure 1-8. The UI components tree of the favorites page
Search WWH ::

Custom Search