roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghu...@apache.org
Subject svn commit: r1240751 - /roller/trunk/weblogger-web/src/main/resources/org/apache/roller/weblogger/ui/struts2/core/Register-validation.xml
Date Sun, 05 Feb 2012 15:46:52 GMT
Author: ghuber
Date: Sun Feb  5 15:46:51 2012
New Revision: 1240751

URL: http://svn.apache.org/viewvc?rev=1240751&view=rev
Log:
Validation on email address.  Maybe we want to do this programmatically as it was removed
for some reason??

Added:
    roller/trunk/weblogger-web/src/main/resources/org/apache/roller/weblogger/ui/struts2/core/Register-validation.xml

Added: roller/trunk/weblogger-web/src/main/resources/org/apache/roller/weblogger/ui/struts2/core/Register-validation.xml
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-web/src/main/resources/org/apache/roller/weblogger/ui/struts2/core/Register-validation.xml?rev=1240751&view=auto
==============================================================================
--- roller/trunk/weblogger-web/src/main/resources/org/apache/roller/weblogger/ui/struts2/core/Register-validation.xml
(added)
+++ roller/trunk/weblogger-web/src/main/resources/org/apache/roller/weblogger/ui/struts2/core/Register-validation.xml
Sun Feb  5 15:46:51 2012
@@ -0,0 +1,11 @@
+<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN"
+       "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
+<validators>
+    
+    <field name="bean.emailAddress">
+        <field-validator type="email">
+            <message key="CreateWeblog.error.emailAddressBad">unspecified key</message>
+        </field-validator>
+    </field>
+    
+</validators>



Mime
View raw message