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

freemarker template bug: template/xhtml/form-close-validate.ftl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.0.11
    • 2.1.1
    • Expression Language
    • None
    • windows XP
      tomcat6
      struts 2.0.11

    Description

      when I set the max value bigger than 999,
      the client validation will not work.

      my suggestion:

      line 95 ${validator.min?string}<#else>false</#if> ||
      ...
      line 97 ${validator.max?string }<#else>false</#if>) {
      ....

      change to :

      line 95 ${validator.min?c}<#else>false</#if> ||
      ...
      line 97 ${validator.max?c}<#else>false</#if>) {
      ....

      Attachments

        Activity

          People

            Unassigned Unassigned
            alex.xiao alex xiao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: