Problem migrating from richfaces 3.0 to 3.1.6
rajeshiv Mar 18, 2009 12:22 PMIn my richfaces-jsf application Iam using richfaces 3.0 version which Iam trying to migrate to 3.1.6 version. I removed the ajax4jsf and richfacses3.0 jars from my lib and replaced them with the 3 new jars of richfaces 3.1.6. Iam trying to get the tabpanel componet running on my application which used to work fine earlier.
JSP code :
<html> <head> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> </head> <body> <div id="wrap"><f:view> <h:form id="workspoof"> <rich:tabPanel id="ajaxpaneltab" selectedTab="#{workSpaceBean.selectedTab}"> <rich:tab label="testtab1" id="tab1"> <h:panelGroup id="panel1"> <h:outputText value="tab1"/> </h:panelGroup> </rich:tab> <rich:tab label="testtab2" id="tab2"> <h:panelGroup id="panel2"> <h:outputText value="tab2"/> </h:panelGroup> </rich:tab> <rich:tab label="testtab3" id="tab3"> <h:panelGroup id="panel3"> <h:outputText value="tab3"/> </h:panelGroup> </rich:tab> <rich:tab label="testtab4" id="tab4"> <h:panelGroup id="panel4"> <h:outputText value="tab4"/> </h:panelGroup> </rich:tab> </rich:tabPanel> </h:form> </f:view> </div> </body> </html>
Below is my system out , I have copied the phasetracker jar inmy lib , so that I see whta phases JSF is going thorugh during my request execution :
when I first log in to the jsp page
3/18/09 12:13:11:081 EDT] 00000027 helper I BEFORE RESTORE_VIEW 1 [3/18/09 12:13:11:081 EDT] 00000027 helper I BEFORE RESTORE_VIEW 1 [3/18/09 12:13:11:081 EDT] 00000027 helper I AFTER RESTORE_VIEW 1 [3/18/09 12:13:11:112 EDT] 00000027 helper I AFTER RESTORE_VIEW 1 [3/18/09 12:13:11:112 EDT] 00000027 helper I BEFORE RENDER_RESPONSE 6 [3/18/09 12:13:11:112 EDT] 00000027 helper I BEFORE RENDER_RESPONSE 6 [3/18/09 12:13:11:127 EDT] 00000027 helper I AFTER RENDER_RESPONSE 6 [3/18/09 12:13:11:127 EDT] 00000027 helper I AFTER RENDER_RESPONSE 6
When I click on tab #2 in my tab panel
[3/18/09 12:14:59:296 EDT] 00000027 helper I BEFORE RESTORE_VIEW 1 [3/18/09 12:14:59:311 EDT] 00000027 helper I BEFORE RESTORE_VIEW 1 [3/18/09 12:14:59:327 EDT] 00000027 helper I AFTER RESTORE_VIEW 1 [3/18/09 12:14:59:327 EDT] 00000027 helper I AFTER RESTORE_VIEW 1 [3/18/09 12:14:59:327 EDT] 00000027 helper I BEFORE RENDER_RESPONSE 6 [3/18/09 12:14:59:327 EDT] 00000027 helper I BEFORE RENDER_RESPONSE 6 [3/18/09 12:14:59:343 EDT] 00000027 helper I AFTER RENDER_RESPONSE 6 [3/18/09 12:14:59:343 EDT] 00000027 helper I AFTER RENDER_RESPONSE 6
The page is just refreshing when I click on tab #2. It is not showing the contents of the tab#2 and continuing to shown tab #1.
Any help to resolve this issue is highly appreciated.
Looking forward to hear back from you!!!