Sorry if this question has already been asked. I couldn't find this question. I have created a primefaces wizard this way:
Code: Select all
<p:wizard id="transaction-history-wizard" showNavBar="false" flowListener="#{myBean.onFlowProcess}"
widgetVar="transactionWizard">
<p:tab id="first" titleStyleClass="hidden-wizard-title">
</p:tab>
<p:tab id="second" titleStyleClass="hidden-wizard-title">
</p:tab>
</p:wizard>
Code: Select all
public String onFlowProcess( FlowEvent event ){
return event.getNewStep();
}