p:wizard validation problem

UI Components for JSF
Post Reply
feritocaldi
Posts: 1
Joined: 12 Apr 2013, 08:25

12 Apr 2013, 08:40

Hi,
I used wizard component and I want to skip validation step when I click NEXT button. is it possible?
I need it when I am using an addition form to datagrid on my tab. When I clicked ADD button, it should do validation. In this, case, when I am using <f:validateRequired /> for a field, I can not pass next tabs. For this reason, I need to skip validation step when I click NEXT button.

I tried but it is not working.
<p:commandButton id="btnNext" immediate="true" value="#{msg.btn_next}" onclick="wiz.next();" styleClass="ui-priority-primary" process="@this"/>

Thanks

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 64 guests