This content has been marked as final.
Show 3 replies
-
1. Re: RichFaces tab panel
ilya_shaikovsky Jun 18, 2010 8:08 AM (in response to theanswer)just use ui:include or a4j:include inside the tab.
-
2. Re: RichFaces tab panel
theanswer Jun 18, 2010 11:08 AM (in response to ilya_shaikovsky)done that, I get this error
-
3. Re: RichFaces tab panel
theanswer Jun 18, 2010 11:09 AM (in response to theanswer)<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <!-- RichFaces tag library declaration --> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> <html> <head> <script> function send(id) { alert(id); return true; } </script> </head> <f:view> <rich:tabPanel switchType="client"> <rich:tab id="tab1" label="First"> Here is tab #1 </rich:tab> <rich:tab id="tab2" label="Second"> <a4j:include viewId="/jsp/event/Events.jsf" /> </rich:tab> <rich:tab id="tab3" label="Third"> Here is tab #3 </rich:tab> </rich:tabPanel> </f:view> </html>