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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 5.8.0
    • Affects Version/s: 5.7.0
    • Component/s: None
    • Security Level: Jimmy
    • None
    • 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

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

              Created:
              Updated:
              Resolved: