<ui:define name="content">
<h1>#{msg['title_contact_add_complete']}</h1>
<p:messages/>
<h:form >
<h3>
<h:outputText value="#{msg['label_contact_first_name']}: "/>
<h:outputText value="#{contactBean.contact.firstName}"/>
<br/>
<h:outputText value="#{msg['label_contact_last_name']}: "/>
<h:outputText value="#{contactBean.contact.lastName}"/>
<br/>
<h:outputText value="#{msg['label_contact_birth_date']}: "/>
<h:outputText value="#{contactBean.contact.birthDate}">
<f:converter converterId="jodaDataTimeConverter" />
</h:outputText>
</h3>
<h3>#{msg['label_contact_hobbies']}</h3>
<p:dataList value="#{contactBean.hobbies.target}" var="hobby">
#{hobby.hobbyId}
</p:dataList>
<br/>
<p:toolbar>
<p:toolbarGroup align="left">
<p:commandButton value="Continue" action="continue"/>
</p:toolbarGroup>
</p:toolbar>
</h:form>
</ui:define>
</ui:composition>
At this point, the add contact flow is complete. After the project is built and deployed, you can try
the entire flow. Click the Next or Back button in any state, and you will see that the value was kept for the
entire flow. Figure 18-21 shows what it looks like after a contact is saved successfully.
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home