continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From batkin...@apache.org
Subject svn commit: r1489432 - /continuum/trunk/continuum-webapp/src/main/resources/template/default/form-close-validate.ftl
Date Tue, 04 Jun 2013 13:13:44 GMT
Author: batkinson
Date: Tue Jun  4 13:13:43 2013
New Revision: 1489432

URL: http://svn.apache.org/r1489432
Log:
Updated freemarker template to use new struts2 regex validator param.

Modified:
    continuum/trunk/continuum-webapp/src/main/resources/template/default/form-close-validate.ftl

Modified: continuum/trunk/continuum-webapp/src/main/resources/template/default/form-close-validate.ftl
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/resources/template/default/form-close-validate.ftl?rev=1489432&r1=1489431&r2=1489432&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/resources/template/default/form-close-validate.ftl
(original)
+++ continuum/trunk/continuum-webapp/src/main/resources/template/default/form-close-validate.ftl
Tue Jun  4 13:13:43 2013
@@ -53,7 +53,7 @@ END SNIPPET: supported-validators
                 }
             }
             <#elseif validator.validatorType = "regex">
-            if (field.value != null && !field.value.match("${validator.expression?js_string}"))
{
+            if (field.value != null && !field.value.match("${validator.regex?js_string}"))
{
                 addError(field, error);
                 errors = true;
             }



Mime
View raw message