4 Replies Latest reply on Aug 16, 2007 10:37 AM by lbbishop

    Tree node expansion only works with client switchType

      I have installed richfaces snapshot 3.1.0 (8/14/07) and now rich:tree node expansion (clicking of arrow) only works when switchType="client".

      I installed the following jars:
      richfaces-api
      richfaces-impl
      jhighlight

        • 1. Re: Tree node expansion only works with client switchType
          nbelaevski

          Hello!

          Strange... Today's SNAPSHOT is ok. What's your environment?

          • 2. Re: Tree node expansion only works with client switchType

            Tomcat 5.5.23

            WEB-INF/lib:

            antlr-2.7.6.jar
            aopalliance.jar
            aspectjrt.jar
            aspectjweaver.jar
            cglib-nodep-2.1_3.jar
            commons-beanutils-1.6.1.jar
            commons-codec-1.2.jar
            commons-collections-3.0.jar
            commons-digester-1.5.jar
            commons-fileupload-1.0.jar
            commons-lang-2.1.jar
            commons-logging.jar
            commons-net-1.1.0.jar
            commons-validator.jar
            dom4j-1.5.2.jar
            dom4j-1.6.1.jar
            el-api-1.0.jar
            el-impl-1.0.jar
            hibernate3.jar
            hsqldb.jar
            jakarta-oro.jar
            jcifs-0.7.9.jar
            jhighlight-1.0.jar
            jsf-api-1.1_02.jar
            jsf-facelets-1.1.12.jar
            jsf-impl-1.1_02.jar
            jstl-1.0.jar
            junit.jar
            log4j-1.2.14.jar
            myfaces-api.jar
            myfaces-impl.jar
            odmg-3.0.jar
            ognl-2.6.9.jar
            oscache-2.3.2.jar
            poi-2.5.1-final-20040804.jar
            poi-contrib-2.5.1-final-20040804.jar
            poi-scratchpad-2.5.1-final-20040804.jar
            quartz-1.5.2.jar
            richfaces-api-3.1.0.jar
            richfaces-impl-3.1.0.jar
            richfaces-ui-3.1.0.jar
            share-1_1_18.jar
            spring-aop.jar
            spring-aspects.jar
            spring-binding-1.1.jar
            spring-hibernate3.jar
            spring-mock.jar
            spring-webflow-1.1.jar
            spring.jar
            standard.jar
            tomahawk-facelets.jar
            tomahawk.jar

            • 3. Re: Tree node expansion only works with client switchType

              I need to clarify the exact behavior. I am able to open the first node but not subsequent children when switchType is ajax or server.

              • 4. Re: Tree node expansion only works with client switchType

                With RC2 release, the tree node expansion now works.

                FYI, you may want to remove the println message:

                TreeRendererBase.writeContent() 0


                It appears in my console log.