2 Replies Latest reply on Jun 29, 2007 8:25 AM by Sergey Halipov

    Problem with tab panel in 3.0.2

    John DeStefano Apprentice

      Hi,

      I have the following xhtml code on a page:

      <rich:tabPanel switchType="ajax" selectedTab="#{manageprojectlist.currentTab}">
       <rich:tab label="Detail" name="detail" switchType="ajax">
       <ui:include src="addeditproject_inc.xhtml"/>
       </rich:tab>
       <rich:tab label="Notes" rendered="#{not newProject}" name="notes" switchType="ajax">
       <ui:include src="addeditprojectnotes_inc.xhtml"/>
       </rich:tab>
       <rich:tab label="Tasks" rendered="#{not newProject}" name="tasks" switchType="ajax">
       <ui:include src="addedittask_inc.xhtml" />
       </rich:tab>
       </rich:tabPanel>


      When I try to change the tab I get a javascript error stating that Richfaces.onTabChange is not a function. Same code works on 3.0.1.

      Any help would be appreciated.