struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bphill...@apache.org
Subject svn commit: r1537531 - in /struts/sandbox/trunk/struts2examples: exclude_parameters/src/main/resources/org/apache/struts/edit/action/EditAction-validation.xml preparable_interface/src/main/resources/org/apache/struts/edit/action/EditAction-validation.xml
Date Thu, 31 Oct 2013 15:31:12 GMT
Author: bphillips
Date: Thu Oct 31 15:31:12 2013
New Revision: 1537531

URL: http://svn.apache.org/r1537531
Log:
Changed name type for regex validation to be regex

Modified:
    struts/sandbox/trunk/struts2examples/exclude_parameters/src/main/resources/org/apache/struts/edit/action/EditAction-validation.xml
    struts/sandbox/trunk/struts2examples/preparable_interface/src/main/resources/org/apache/struts/edit/action/EditAction-validation.xml

Modified: struts/sandbox/trunk/struts2examples/exclude_parameters/src/main/resources/org/apache/struts/edit/action/EditAction-validation.xml
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2examples/exclude_parameters/src/main/resources/org/apache/struts/edit/action/EditAction-validation.xml?rev=1537531&r1=1537530&r2=1537531&view=diff
==============================================================================
--- struts/sandbox/trunk/struts2examples/exclude_parameters/src/main/resources/org/apache/struts/edit/action/EditAction-validation.xml
(original)
+++ struts/sandbox/trunk/struts2examples/exclude_parameters/src/main/resources/org/apache/struts/edit/action/EditAction-validation.xml
Thu Oct 31 15:31:12 2013
@@ -24,7 +24,7 @@
  </validator>
 <validator type="regex">
 	<param name="fieldname">personBean.phoneNumber</param>
-	<param name="expression"><![CDATA[\d{3}-\d{3}-\d{4}]]></param>
+	<param name="regex"><![CDATA[\d{3}-\d{3}-\d{4}]]></param>
 	<message>Phone number must be entered as 999-999-9999.</message>
 </validator>
 <validator type="fieldexpression">

Modified: struts/sandbox/trunk/struts2examples/preparable_interface/src/main/resources/org/apache/struts/edit/action/EditAction-validation.xml
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2examples/preparable_interface/src/main/resources/org/apache/struts/edit/action/EditAction-validation.xml?rev=1537531&r1=1537530&r2=1537531&view=diff
==============================================================================
--- struts/sandbox/trunk/struts2examples/preparable_interface/src/main/resources/org/apache/struts/edit/action/EditAction-validation.xml
(original)
+++ struts/sandbox/trunk/struts2examples/preparable_interface/src/main/resources/org/apache/struts/edit/action/EditAction-validation.xml
Thu Oct 31 15:31:12 2013
@@ -24,7 +24,7 @@
  </validator>
 <validator type="regex">
 	<param name="fieldname">personBean.phoneNumber</param>
-	<param name="expression"><![CDATA[\d{3}-\d{3}-\d{4}]]></param>
+	<param name="regex"><![CDATA[\d{3}-\d{3}-\d{4}]]></param>
 	<message>Phone number must be entered as 999-999-9999.</message>
 </validator>
 <validator type="fieldexpression">



Mime
View raw message