The form looks as follows:-
Code: Select all
<h:form>
<h:panelGrid columns="2">
<p:commandButton value="#{pageText.page_home_link_new}"
action="#{homeBean.doCustomerEntry}" />
<h:outputText value="#{pageText.page_home_link_new_details}" />
<p:commandButton value="#{pageText.page_home_link_search}"
action="search" />
<h:outputText value="#{pageText.page_home_link_search_detail}" />
<p:commandButton
value="#{pageText.page_home_link_historical_cancel}"
action="#{homeBean.doHistoricalCancel}" ajax="false" />
<h:outputText
value="#{pageText.page_home_link_historical_cancel_details}" />
<p:commandButton value="#{pageText.page_home_link_logout}"
action="historicalCancel" ajax="false" />
</h:panelGrid>
</h:form>
Code: Select all
public String doCustomerEntry() {
return NAV_CUSTENTRY;
}