-
1. Re: ontabchange attribute for TabPanel
ilya_shaikovsky May 13, 2008 10:55 AM (in response to ns76)paste the snippet please.
-
2. Re: ontabchange attribute for TabPanel
ns76 May 13, 2008 4:50 PM (in response to ns76)Here's the code,
Thanks,
NS
<f:view>
<jsp:include page="leftNav.jsp"></jsp:include>
<rich:tabPanel rendered="#{navigationBean.registerPageEnabled}" ontabchange="submit()">
<rich:tab label="Registration Page">
<jsp:include page="registration.jsp"/>
</rich:tab>
<rich:tab label="Business Contact">
<jsp:include page="contact.jsp"/>
</rich:tab>
<rich:tab label="CCTV">
<jsp:include page="cctv.jsp"/>
</rich:tab>
</rich:tabPanel>
<rich:tabPanel rendered="#{navigationBean.listPageEnabled}">
<rich:tab>
<jsp:include page="listPages.jsp"></jsp:include>
</rich:tab>
</rich:tabPanel>
</f:view> -
3. Re: ontabchange attribute for TabPanel
tkuprevich May 14, 2008 4:09 AM (in response to ns76)Hi ns76,
I have just tried and it works. I am using 3.2.1.CR4. Try this way:ontabchange="alert('tabCahnge')"
And you should see alert message. -
4. Re: ontabchange attribute for TabPanel
ns76 May 14, 2008 9:24 AM (in response to ns76)Thank you for checking this out for me. It looks like i need to switch to 3.2.1 then.