4 Replies Latest reply on Dec 3, 2007 7:08 AM by Ilya Shaikovsky

    tabpanel valuechange problem

    Steven De Groote Newbie


      first of all, I'm using
      JSF 1.2_06 RI
      Richfaces 3.1.x (doesn't matter which one, happens in all versions)
      Facelets 1.1.13

      Now, my rich:tabpanel causes problems that the valueChangeListener is not working as it should. When I change tabs I get the following error:

      29-nov-2007 11:20:40 com.sun.faces.lifecycle.UpdateModelValuesPhase execute
      WARNING: /quote/input.jsp @26,81 valueChangeListener="#{quoteInput.changeTab}": Method not found: be.sofico.web.mgbean.quote.Input@1535a58.changeTab()

      My page looks like this:

      <html xmlns="http://www.w3.org/1999/xhtml"
      <ui:composition template="${path.static}/template/template.jsp">
       <ui:define name="title">
       Create quote
       <ui:define name="body">
       <h1>Create quote</h1>
       <rich:tabPanel switchType="ajax" valueChangeListener="#{quoteInput.changeTab}">
       <rich:tab id="vehicletab" label="#{msg.quote_tab_vehicle}">
       <rich:tab id="optionstab" label="#{msg.quote_tab_options}">
       <rich:tab id="financetab" binding="#{quoteInput.financeTab}" label="#{msg.quote_tab_finance}">

      I am however sure that this method exists and it did work as long as we didn't use facelets. :( In fact the method signature is as follows:
      public void changeTab(ValueChangeEvent event) throws MWSException

      Did anyone have similar problems or something and could this be a bug?