This content has been marked as final.
Show 3 replies
-
1. Re: rich:tab selectedTab not working when switchType=
ilya_shaikovsky Oct 11, 2007 8:16 AM (in response to ryoung2504)<rich:tabPanel switchType="ajax" id="tab" selectedTab="tab2"> <rich:tab label="test 1" name="tab1" action="#{bean.action}"> <ui:include src="/pages/greeting1.xhtml" /> <a4j:commandButton value="next" reRender="tab" action="#{bean.nextTab}"></a4j:commandButton> </rich:tab> <rich:tab name="tab2" action="#{bean.action}" label="123123" id="tab2" switchType="client"> <h:form> <ui:include src="/pages/greeting1.xhtml" /> <a4j:commandButton value="prev" reRender="tab" action="#{bean.prevTab}"></a4j:commandButton> </h:form> </rich:tab> </rich:tabPanel>
Works as excpected for me under 3.2.0 SNAPSHOT. -
2. Re: rich:tab selectedTab not working when switchType=
ryoung2504 Oct 11, 2007 10:25 AM (in response to ryoung2504)Yes, as I stated, but if you swap the switch type of tab2 to be ajax it doesnt work.
-
3. Re: rich:tab selectedTab not working when switchType=
ilya_shaikovsky Oct 12, 2007 8:09 AM (in response to ryoung2504)Still works after changing switchType..
I'm using
SUN JSF RI 1.2_04
facelets 1.1.12
Rich Faces 3.2.0 SNAPSHOT
Tomcat 6
FF 2.0.0.6