4 Replies Latest reply on Feb 13, 2008 4:19 AM by ilya_shaikovsky

    javascript bug in 3.1.2

      FYI - According to firebug, in scrollable-data-table.js (line 226)

      $(this.prefix + ":n").rows[0] has no properties
      setListeners(keypress charCode=97, keyCode=0)scrollable-data-t... (line 226)
      bindAsEventListener(keypress charCode=97, keyCode=0)a4j_3_1_2.GAorg.a... (line 12)
      [Break on this error] var range,rowIndex;var activeRow=this.activeRow;var noDefault=false;this.firstIn...
      



        • 1. Re: javascript bug in 3.1.2 and 3.1.4GA
          ffreemarket

          Hi,

          Also replicated this bug in 3.1.4GA:

          $(this.prefix + ":n") has no properties
          setListeners(keypress charCode=50, keyCode=0)scrollable-data-t... (line 226)
          clone(keypress charCode=50, keyCode=0)a4j_3_1_4.GAorg.a... (line 18)
          wrapper(keypress charCode=50, keyCode=0)a4j_3_1_4.GAorg.a... (line 242)
          [Break on this error] var range,rowIndex;var activeRow=this.activeRow;var noDefault=false;this.firstIn...


          Further inspection of the source in Firebug (under FF 2.0.0.11 on
          Mandriva PWP x64_86) shows scrollable-data-table-js.jsf.

          Jars in war include:

          -rw-r--r-- 1 root root 168760 2008-02-12 00:17 commons-beanutils-core.jar
          -rw-r--r-- 1 root root 571259 2008-02-12 00:17 commons-collections-3.2.jar
          -rw-r--r-- 1 root root 143602 2008-02-12 00:17 commons-digester-1.8.jar
          -rw-r--r-- 1 root root 52915 2008-02-12 00:17 commons-logging-1.1.jar
          -rw-r--r-- 1 root root 85587 2008-02-12 00:17 ibatis-common-2.jar
          -rw-r--r-- 1 root root 61191 2008-02-12 00:17 ibatis-dao-2.jar
          -rw-r--r-- 1 root root 322368 2008-02-12 00:17 ibatis-sqlmap-2.jar
          -rw-r--r-- 1 root root 93310 2008-01-27 16:07 jhighlight-1.0.jar
          -rw-r--r-- 1 root root 323012 2008-01-27 02:34 jsf-api.jar
          -rw-r--r-- 1 root root 298368 2008-02-12 00:17 jsf-facelets.jar
          -rw-r--r-- 1 root root 1210046 2008-01-27 02:34 jsf-impl.jar
          -rw-r--r-- 1 root root 20682 2008-02-12 00:17 jstl.jar
          -rw-r--r-- 1 root root 105672 2008-01-27 16:07 nekohtml-0.9.5.jar
          -rw-r--r-- 1 root root 1536979 2008-02-12 00:27 ojdbc14.jar
          -rw-r--r-- 1 root root 2073 2008-02-06 23:17 phaseTracker.jar
          -rw-r--r-- 1 root root 117592 2008-02-12 00:17 richfaces-api-3.1.4.GA.jar
          -rw-r--r-- 1 root root 1304705 2008-02-12 00:17 richfaces-impl-3.1.4.GA.jar
          -rw-r--r-- 1 root root 1795998 2008-02-12 00:17 richfaces-ui-3.1.4.GA.jar
          -rw-r--r-- 1 root root 393259 2008-02-12 00:17 standard.jar
          -rw-r--r-- 1 root root 895924 2008-01-27 16:07 xercesImpl-2.4.0.jar


          where jsf-api/imp are
          Sun's JavaServer Faces implementation (1.2_04-b16-p02)

          and

          facelets are 1.1.13

          and

          jstl is 1.1.2

          The context is an inputtext form within a a4j:included .xhtml which has commandbuttons firing ajax requests.

          Anyone else see this?

          Admission is the first step towards recovery.

          Anyone?

          Thanks,
          Henry


          • 2. Re: javascript bug in 3.1.2
            ilya_shaikovsky

            just fill jira issue with working (with dources and libs) war attachment.

            • 3. Re: javascript bug in 3.1.2
              freemarket

              Ilya,

              I've attached my war to an existant jira which appeared to deal with this
              prototype.js issue: http://jira.jboss.com/jira/browse/RF-1898

              usage instructions included with war.

              I suspect the issue is exposing a behavior of ajax forms where I only want the submit buttons to be ajaxed and not the entire form. Just a hunch.

              Regards,
              Henry

              • 4. Re: javascript bug in 3.1.2
                ilya_shaikovsky

                thanks!