7 Replies Latest reply on Nov 19, 2009 5:07 AM by strannik

    tabPanel issue and global error handling

    strannik

      I have the following tabPanel component

       <rich:tabPanel switchType="ajax">
       <rich:tab label="#{msg['maindetails']}">
       <ui:include src="maindetails_view.xhtml" />
       </rich:tab>
       <rich:tab label="#{msg['news']}">
       <ui:include src="news.xhtml" />
       </rich:tab>
       <rich:tab label="#{msg['route']}">
       <ui:include src="route.xhtml" />
       </rich:tab>
       <rich:tab label="#{msg['expenses']}">
       <ui:include src="expenses_view.xhtml" />
       </rich:tab>
       </rich:tabPanel>
      


      If i open the page and click any tabs 2-4 everything is OK. If I click any tab 2-4, then first tab and then any tab 2-4 then I see from the logs that flow is re-launched. However if I remove the lines below from web.xml everything is OK

       <error-page>
       <error-code>404</error-code>
       <location>/error/main.xhtml</location>
       </error-page>
      


      That seems weird to me because I have a lot of tab panels in the project and such effect reproduces only on specified one.