2 Replies Latest reply on Jul 18, 2011 10:54 PM by bhiles

    Richfaces 4 - TabPanel not switching with EL Input

    bhiles

      A Richfaces 4 TabPanel using ajax as its switch type stops working when an input field is using EL to back it.

       

      Here's my sample that works fine:

       

              <h:form>
                  <rich:tabPanel switchType="ajax">
                          <rich:tab header="Test1">
                                  <h:inputText id="test" value="bob"/>
                          </rich:tab>
                          <rich:tab header="Test2"/>
                          <rich:tab header="Test3"/>
                  </rich:tabPanel>
              </h:form>
      

       

      Here's the version that doesn't:

       

              <h:form>
                  <rich:tabPanel switchType="ajax">
                          <rich:tab header="Test1">
                                  <h:inputText id="test" value="#{lineCreateBean.line.name}"/>
                          </rich:tab>
                          <rich:tab header="Test2"/>
                          <rich:tab header="Test3"/>
                  </rich:tabPanel>
              </h:form>
      

      Any ideas? Is this a bug?

       

      Thanks,

      Brian