Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14767F376 for ; Mon, 22 Apr 2013 09:49:21 +0000 (UTC) Received: (qmail 30204 invoked by uid 500); 22 Apr 2013 09:49:19 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 29851 invoked by uid 500); 22 Apr 2013 09:49:19 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 29056 invoked by uid 99); 22 Apr 2013 09:49:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Apr 2013 09:49:17 +0000 Date: Mon, 22 Apr 2013 09:49:17 +0000 (UTC) From: "inthink (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Updated]_(WW-4057)_C?= =?utf-8?Q?lient_Validation=E2=80=94=E2=80=94XWork-core_?= =?utf-8?Q?Validators_Change,BUT_Struts2-core_/template/xhtml_NOT!!!?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4057?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] inthink updated WW-4057: ------------------------ Description:=20 In *XWork-core.jar* the validators "RegexFieldValidator",the field "express= ion" define update from *'expression'* to {color:red} *'regex'*{color}. But in the *struts2-core.jar* xhtml template=E2=80=94=E2=80=94*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',an= d so on!* was: In *XWork-core.jar* the validators "RegexFieldValidator",the field "express= ion" define update from *'expression'* to {color:red} *'regex'*{color}. But in the *struts2-core.jar* xhtml template=E2=80=94=E2=80=94*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',an= d so on!* =20 > Client Validation=E2=80=94=E2=80=94XWork-core Validators Change,BUT Strut= s2-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, v= alidators > Fix For: Future > > > In *XWork-core.jar* the validators "RegexFieldValidator",the field "expre= ssion" define update from *'expression'* to {color:red} *'regex'*{color}. > But in the *struts2-core.jar* xhtml template=E2=80=94=E2=80=94*form-clos= e-validate.ftl,use the old field 'expression'*.So,when use client validatio= n,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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira