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

Client Validation——XWork-core Validators Change,BUT Struts2-core /template/xhtml NOT!!!

    XMLWordPrintableJSON

Details

    • Important

    Description

      In XWork-core.jar the validators "RegexFieldValidator",the field "expression" define update from 'expression' to 'regex'.

      But in the struts2-core.jar xhtml template——form-close-validate.ftl,use the old field 'expression'.So,when use client validation,it's will show freemark error!the client validation can't work!

      other validators has SAME ERROR! like 'EMAIL VAlIDATOR','URL VALIDATOR',and so on!

      Attachments

        1. form-close-validate.ftl.patch
          1 kB
          Lukasz Racon

        Activity

          People

            lukaszlenart Lukasz Lenart
            inthink inthink
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: