myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <>
Subject t:panelTabbedPane and data validation
Date Tue, 29 May 2007 12:47:33 GMT

i have a form with the following structure:

 + inputText
 + panelTabbedPane
   + panelTab
     + input (required="true")
   + panelTab
     + input (required="true")
 + commandButton
 + messages

If i am in second tab and i click the submit button, the fields in first
tab are not validated (there is nothing in h:messages). However, if i go
back to first tab and click the submit button, then i get the validation
error message. Is there a way to have all fields of panelTabbedPane
validated (instead of only current panel) and have panelTabbedPane show
the first panel with an error?

View raw message