You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2008/01/14 14:34:04 UTC

[jira] Resolved: (WW-2417) freemarker template bug: template/xhtml/form-close-validate.ftl

     [ https://issues.apache.org/struts/browse/WW-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted resolved WW-2417.
----------------------------

       Resolution: Incomplete
    Fix Version/s: 2.1.1

Please post this report to the user list to gain more feedback. 


> freemarker template bug: template/xhtml/form-close-validate.ftl
> ---------------------------------------------------------------
>
>                 Key: WW-2417
>                 URL: https://issues.apache.org/struts/browse/WW-2417
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Expression Language
>    Affects Versions: 2.0.11
>         Environment: windows XP
> tomcat6
> struts 2.0.11
>            Reporter: alex xiao
>             Fix For: 2.1.1
>
>
> 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>) {
> ....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.