You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Wang Sheng (JIRA)" <ji...@apache.org> on 2007/05/21 07:15:43 UTC

[jira] Updated: (WW-1937) javascript validation error when int range above 1000

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

Wang Sheng updated WW-1937:
---------------------------

    Description: 
we use javascript validation, check int range
min or max above 1000(include), the jsp was rendered as "1,000", so it can not do validate correctly.

struts2-core-2.0.6.jar\template\xhtml\form-close-validation.ftl
${validator.min} should be ${validator.min?c}
${validator.max} should be ${validator.max?c}

there maybe lots other problems

this bug also affects webwork 2.2.2/2.2.4, and struts 2.0.0 - 2.0.6
not test 2.0.7

  was:
we use javascript validation, check int range
min or max above 1000(include), the jsp was rendered as "1,000", so it can not do validate correctly.

struts2-core-2.0.6.jar\template\xhtml\form-close-validation.ftl
${validator.min} should be ${validator.min?c}
${validator.max} should be ${validator.max:c}

there maybe lots other problems

this bug also affects webwork 2.2.2/2.2.4, and struts 2.0.0 - 2.0.6
not test 2.0.7


> javascript validation error when int range above 1000
> -----------------------------------------------------
>
>                 Key: WW-1937
>                 URL: https://issues.apache.org/struts/browse/WW-1937
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>            Reporter: Wang Sheng
>
> we use javascript validation, check int range
> min or max above 1000(include), the jsp was rendered as "1,000", so it can not do validate correctly.
> struts2-core-2.0.6.jar\template\xhtml\form-close-validation.ftl
> ${validator.min} should be ${validator.min?c}
> ${validator.max} should be ${validator.max?c}
> there maybe lots other problems
> this bug also affects webwork 2.2.2/2.2.4, and struts 2.0.0 - 2.0.6
> not test 2.0.7

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