0 Replies Latest reply on Aug 6, 2010 2:00 AM by traga

    Richfaces Tree in Weblogic - generated javascript source code is having errors

    traga

      Hello,

      In our project, we are using Richfaces tree component. When we deploy the application in JBOSS server, the script code generated for "rich:tree" component is as below:

        <script type="text/javascript">(function() {
         ---
         - - -
         - - -
         - - -
          }());</script><div id="myForm:myTree:script"><script type="text/javascript"></script></div></div>


      But in weblogic, the generated code is wrapped with comment tags as follows, the wrapping is having error and it's colored in red in the below code:

      <!- - <script type="text/javascript">(function() {
         ---
         - - -
         - - -
         - - -
          }()); //- -> </script><div id="myForm:myTree:script"><script type="text/javascript"
         //- ->>
         </script></div></div>

      Due to that issue, in IE7 & 8 there is script error icon shown in the window status bar.

      Can you suggest us
      on how to avoid wrapping the content with comment tags
      Or any workaround to overcome this problem.

      We are using the following softwares:
      java 6
      jboss 4.2
      weblogic 10.3
      richfaces 3.3.0

       

      Thanks,

      raga