You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Juan Vicente Castelló (JIRA)" <ji...@apache.org> on 2007/12/26 17:08:33 UTC

[jira] Commented: (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:comment-tabpanel#action_42859 ] 

Juan Vicente Castelló commented on WW-1937:
-------------------------------------------

This is still occurring in 2.0.11.
 in form-close-validation.ftl ${validator.min} was changed with ${validator.min?string} and should be ${validator.min?c}

> 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
>             Fix For: 2.0.9
>
>
> 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.