Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-497

keikai-jsf calls a non-existed function size()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.8.0
    • 5.7.0
    • None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      1. start the project with tomcat mvn tomcat7:run
      2. visit https://github.com/keikai/dev-ref/blob/master/src/main/webapp/jsf/app4l.xhtml
      3. click OK button or Reset button
      4. check developer tool > console

      Current Result

      zss.wpd:43334 Uncaught TypeError: jq(...).size is not a function
      at Object.zssjsf.isDomExist (zss.wpd:43334)
      at <anonymous>:1:11
      at runScript (jsf.js.xhtml?ln=javax.faces:1)
      at runScripts (jsf.js.xhtml?ln=javax.faces:1)
      at doUpdate (jsf.js.xhtml?ln=javax.faces:1)
      at Object.response (jsf.js.xhtml?ln=javax.faces:1)
      at Object.onComplete (jsf.js.xhtml?ln=javax.faces:1)
      at XMLHttpRequest.AjaxEngine.req.xmlReq.onreadystatechange (jsf.js.xhtml?ln=javax.faces:1)

      Expected Result

      no js error

      Workaround

      kkjsf-patch.js

            DevChu DevChu
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: