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

Missing javascript in form-validate.ftl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.17
    • 6.0.0
    • Core Tags
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: