Author: hermanns
Date: Tue Sep 12 09:06:44 2006
New Revision: 442628

URL: http://svn.apache.org/viewvc?view=rev&rev=442628
Log:
Portlet sample application doesn't work
o moved validation.xml file to resources directory

Issue Number: WW-1407

Added:
    struts/struts2/trunk/apps/portlet/src/main/resources/org/
    struts/struts2/trunk/apps/portlet/src/main/resources/org/apache/
    struts/struts2/trunk/apps/portlet/src/main/resources/org/apache/struts2/
    
struts/struts2/trunk/apps/portlet/src/main/resources/org/apache/struts2/portlet/
    
struts/struts2/trunk/apps/portlet/src/main/resources/org/apache/struts2/portlet/example/
    
struts/struts2/trunk/apps/portlet/src/main/resources/org/apache/struts2/portlet/example/FormExample-processValidationExample-validation.xml
   (with props)
Removed:
    
struts/struts2/trunk/apps/portlet/src/main/java/org/apache/struts2/portlet/example/FormExample-processValidationExample-validation.xml

Added: 
struts/struts2/trunk/apps/portlet/src/main/resources/org/apache/struts2/portlet/example/FormExample-processValidationExample-validation.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/portlet/src/main/resources/org/apache/struts2/portlet/example/FormExample-processValidationExample-validation.xml?view=auto&rev=442628
==============================================================================
--- 
struts/struts2/trunk/apps/portlet/src/main/resources/org/apache/struts2/portlet/example/FormExample-processValidationExample-validation.xml
 (added)
+++ 
struts/struts2/trunk/apps/portlet/src/main/resources/org/apache/struts2/portlet/example/FormExample-processValidationExample-validation.xml
 Tue Sep 12 09:06:44 2006
@@ -0,0 +1,13 @@
+<!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="firstName">
+        <field-validator type="requiredstring">
+            <message>You must enter a first name</message>
+        </field-validator>
+    </field>
+    <field name="lastName">
+        <field-validator type="requiredstring">
+            <message>You must enter a last name</message>
+        </field-validator>
+    </field>
+</validators>

Propchange: 
struts/struts2/trunk/apps/portlet/src/main/resources/org/apache/struts2/portlet/example/FormExample-processValidationExample-validation.xml
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to