3 Replies Latest reply on Jul 11, 2012 3:37 AM by yashu.here

    rich:tree - page unresponsive

    fbrissi

      I have an application where I use the component rich: tree.

      I'm having a serious problem that I am not able to solve. I create the nodes from adatabase. While the record was small and everything happened. But the more it grows, the slower it is to get the weighted receive that message browser

       

      "script not responding

       

      A script on this page may be running or stopped responding.

      You can stop it now or continue to see if it stops running."


      I'm working with Ajax, because the client was very slow to load. I have used all thetags optimization but still the problem persists.

       

      Does anyone have any idea how I can solve this problem?

       

      Thank you all.

        • 1. rich:tree - page unresponsive
          ilya_shaikovsky

          need to clarify how much nodes getting loaded on the client and does the nodes uses other rich:components in markup.

          • 2. Re: rich:tree - page unresponsive
            fbrissi

            Thanks for your concern for me to answer. I read several post from other people whohad the same problem. And I did several tests. The performance problem really exists, but in my case is much slower than the others posted.

             

            I did a battery test to find out why mine is slower with less records than the posts andthen came to a conclusion that made my usual application.

             

            I'm using check box for the rich: tree and used to improve aprarência jquery-checkboxand how much there was check box, the select jQuery cause a big slowdown. I leftonly with the same checkbox, and had a better outcome.

             

            Thank you.

             

            And sorry if you have trouble understanding my English.

            • 3. Re: rich:tree - page unresponsive
              yashu.here

              Do we have any problem if we cross couple of 100 Nodes in RichFaces 3.3.3.Final ?

              I am facing simmilar issue with <rich:tree> and recursiveTreeNodeAdapter in IE 8, when Tree becomes huge ( ie more than 500 Nodes ) IE 8 throws an script Error :Unresponsive script..."

              Please post if  you have any solutions for this.

               

              Thanks