-
1. Re: How to use <h:form> in <rich:tabPanel>
iabughosh Feb 5, 2013 9:47 AM (in response to rino.covelli)Hello Covelli,
Nested forms is not supported by JSF 2, so warpping your tabPanel with h:form and add h:form to your tab will cause you troubles, here is my suggestion :
<rich:tabPanel switchType="client">
<rich:tab onheaderclick="doAction();">
<h:form>
<a4j:jsFunction id="doAction" name="doAction" actionListener="#{yourBean.action}" ...../>
.....
</h:form>
</rich:tab>
</rich:tabPanel>
regards.
-
2. Re: How to use <h:form> in <rich:tabPanel>
contactsureshg Feb 5, 2013 11:40 PM (in response to rino.covelli)Hello,
You have to use <h:form> inside <rich:tab>
Otherwise button actions won't work
<rich:tabPanel>
<rich:tab>
<h:form>
<a4j:jsFunction id="doAction" name="doAction" actionListener="#{Bean.action}" ...../>
.....
</h:form>
</rich:tab>
</rich:tabPanel>