tabView: validation when tab changed

UI Components for JSF
Post Reply
judmie
Posts: 1
Joined: 06 Dec 2010, 17:38

06 Dec 2010, 18:02

Hi,

I'm using p:tabView with dynamic="false", cache="true" and some p:tab inside and now trying to find out how I can manage the validation of my required fields when the active tab is changed. I would like to execute/process my required fields on tabchange and if validation fails the tab should not be changed and should still be the active one.

Thanks.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

06 Dec 2010, 21:37

Try wizard component for that. Even dynamic tabview does not do validation when tab is changed.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 26 guests