Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4964

Missing javascript in form-validate.ftl

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.17
    • Fix Version/s: 2.6
    • Component/s: Core Tags
    • Labels:
      None

      Description

      There are two versions of form-validate.ftl, one in xhtml theme and one in css_xhtml theme. The one in css_xhtml is missing the script tag for utils.js (and also some special character cleaning). This causes the following error on the client: 

      Uncaught ReferenceError: StrutsUtils is not defined
      at validation.js:161
      (anonymous) @ validation.js:161

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                nikos nikos dimitrakas
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: