struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-4057) Client Validation——XWork-core Validators Change,BUT Struts2-core /template/xhtml NOT!!!
Date Fri, 10 May 2013 07:59:16 GMT

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

Lukasz Lenart resolved WW-4057.
-------------------------------

    Resolution: Fixed
      Assignee: Lukasz Lenart

Done, thanks for reporting and patch!

Just RegEx and Email were affected, I have added "short" as well. "long" isn't supported by
JavaScript.
                
> Client Validation——XWork-core Validators Change,BUT Struts2-core /template/xhtml
NOT!!!
> ---------------------------------------------------------------------------------------
>
>                 Key: WW-4057
>                 URL: https://issues.apache.org/jira/browse/WW-4057
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.3.12, 2.3.14
>         Environment: Struts2.3.12,Struts2.3.14 ,others not test
> jdk1.6
> tomcat6
>            Reporter: inthink
>            Assignee: Lukasz Lenart
>              Labels: client, freemark, template, validation, validator, validators
>             Fix For: 2.3.15
>
>         Attachments: form-close-validate.ftl.patch
>
>
> In *XWork-core.jar* the validators "RegexFieldValidator",the field "expression" define
update  from *'expression'* to {color:red} *'regex'*{color}.
> 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 {color:red}  has SAME ERROR!{color} like *'EMAIL VAlIDATOR','URL VALIDATOR',and
so on!*

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message