[
https://issues.apache.org/jira/browse/WW-4057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
inthink updated WW-4057:
------------------------
Description:
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 has SAME ERROR! like *'EMAIL VAlIDATOR','URL VALIDATOR',and so
on!*
was:
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!
other validators has SAME ERROR! like *'EMAIL VAlIDATOR','URL VALIDATOR',and so
on!*
> 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
> Labels: client, freemark, template, validation, validator,
> validators
> Fix For: Future
>
>
> 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 has SAME ERROR! 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