-
1. Re: How to prevent rich:tabPanel submitting whole form when switching tabs
liuliu Oct 26, 2011 3:13 AM (in response to testcraft)hi,
have your tried form in the tab or a4j:region?
-
2. Re: How to prevent rich:tabPanel submitting whole form when switching tabs
testcraft Oct 26, 2011 11:20 PM (in response to liuliu)i've tried both h:form and a4j:region, the latter doesn't work (or maybe i didn't use it the right way).
while form(inside rich:tab) did prevent the submission of the entire outer one(surrounding rich:tabPanel), there's an exception for the first time switching tab. Also i found anthor ajax link in my app got no response for the first time sending request(i could see from firebug that post message is successfully sent, but server-side method not invoked).
Everything is fine when setting switchType to client, but it's really too slow for the first loading.
-
3. Re: How to prevent rich:tabPanel submitting whole form when switching tabs
liuliu Oct 27, 2011 3:13 AM (in response to testcraft)you need remove the outsider one. i think jsf not support nested form.
-
4. Re: How to prevent rich:tabPanel submitting whole form when switching tabs
martam Nov 27, 2014 10:34 AM (in response to testcraft)I know it's an old issue, but I've spent a lot of time searching for the solution and found nothing.
I would like to set switchType="ajax" on rich:tabPanel, but I don't want the whole form to be submitted. I have to place the whole tabPanel inside form (in other case I get an error org.richfaces.component.UITabPanel did not find parent form), so I can't put separate forms inside rich:tabs. I tried setting execute and immediate parameters, but with no effect.
Did you or anyone else find solution for this problem?