-
1. Re: Particial form validation in rich:tabPanel
ilya_shaikovsky Nov 20, 2009 7:51 AM (in response to hubaer)just wrap whole tabPanel to form instead of using forms inside. So on tab switch if validation will fails - tav will not be switched.
If not helps - add code and RF version used. -
2. Re: Particial form validation in rich:tabPanel
hubaer Nov 20, 2009 8:09 AM (in response to hubaer)Hello Ilya,
thank you for your fast response.
We use one form outside the rich:tabPanel right now (as you suggested, too).
I played so far a little bit with the switchTypes. After changing the switchType from "client" to "ajax" the validation error of the missing field are shown, and the tab change was avoided.
The problem is now, that the information are submitted to the underlying database after a tab change. But we want to submit the information only if the user clicks on the "save" button.
Is there a possiblity to validate the form without submitting the form?
We use RichFaces 3.3.2.SR1, Seam 2.2.0, Trinidad 1.2.2.
Regards
Marco -
3. Re: Particial form validation in rich:tabPanel
ilya_shaikovsky Nov 20, 2009 9:21 AM (in response to hubaer)wanted to propose solution but found an issue. https://jira.jboss.org/jira/browse/RF-8154
think will be fixed for 3.3.3 -
4. Re: Particial form validation in rich:tabPanel
hubaer Nov 20, 2009 10:11 AM (in response to hubaer)Hello Ilya,
thank you for your response. So I will wait until the issue is fixed.
Regards
Marco