struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jhol...@apache.org
Subject svn commit: r572866 - /struts/struts2/trunk/apps/showcase/src/main/resources/struts-integration.xml
Date Wed, 05 Sep 2007 02:56:14 GMT
Author: jholmes
Date: Tue Sep  4 19:56:14 2007
New Revision: 572866

URL: http://svn.apache.org/viewvc?rev=572866&view=rev
Log:
Fix formatting.

Modified:
    struts/struts2/trunk/apps/showcase/src/main/resources/struts-integration.xml

Modified: struts/struts2/trunk/apps/showcase/src/main/resources/struts-integration.xml
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/resources/struts-integration.xml?rev=572866&r1=572865&r2=572866&view=diff
==============================================================================
--- struts/struts2/trunk/apps/showcase/src/main/resources/struts-integration.xml (original)
+++ struts/struts2/trunk/apps/showcase/src/main/resources/struts-integration.xml Tue Sep 
4 19:56:14 2007
@@ -7,39 +7,39 @@
 <struts>
   <package name="integration" extends="struts1-default" namespace="/integration">
 
-      <interceptors>
-          <interceptor name="gangsterForm" class="com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor">
-            <param name="className">org.apache.struts2.showcase.integration.GangsterForm</param>
-            <param name="name">gangsterForm</param>
-          </interceptor>
-          <interceptor name="gangsterValidation" class="org.apache.struts2.s1.ActionFormValidationInterceptor">
-            <param name="pathnames">/org/apache/struts/validator/validator-rules.xml,/WEB-INF/validation.xml</param>
-          </interceptor>
+    <interceptors>
+      <interceptor name="gangsterForm" class="com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor">
+        <param name="className">org.apache.struts2.showcase.integration.GangsterForm</param>
+        <param name="name">gangsterForm</param>
+      </interceptor>
+      <interceptor name="gangsterValidation" class="org.apache.struts2.s1.ActionFormValidationInterceptor">
+        <param name="pathnames">/org/apache/struts/validator/validator-rules.xml,/WEB-INF/validation.xml</param>
+      </interceptor>
 
-        <interceptor-stack name="integration">
-          <interceptor-ref name="staticParams"/>
-          <interceptor-ref name="gangsterForm"/>
-          <interceptor-ref name="modelDriven"/>
-                <interceptor-ref name="actionForm-reset"/>
-                <interceptor-ref name="basicStack"/>
-                <interceptor-ref name="gangsterValidation"/>
-                <interceptor-ref name="workflow"/>
-        </interceptor-stack>
-      </interceptors>
+      <interceptor-stack name="integration">
+        <interceptor-ref name="staticParams"/>
+        <interceptor-ref name="gangsterForm"/>
+        <interceptor-ref name="modelDriven"/>
+        <interceptor-ref name="actionForm-reset"/>
+        <interceptor-ref name="basicStack"/>
+        <interceptor-ref name="gangsterValidation"/>
+        <interceptor-ref name="workflow"/>
+      </interceptor-stack>
+    </interceptors>
 
-      <default-interceptor-ref name="integration" />
-      <default-action-ref name="editGangster" />
+    <default-interceptor-ref name="integration"/>
+    <default-action-ref name="editGangster"/>
 
-      <!-- Display entry page that uses Model-Driven technique -->
+    <!-- Display entry page that uses Model-Driven technique -->
     <action name="editGangster" class="org.apache.struts2.s1.Struts1Action">
-        <param name="className">org.apache.struts2.showcase.integration.EditGangsterAction</param>
+      <param name="className">org.apache.struts2.showcase.integration.EditGangsterAction</param>
       <result>modelDriven.jsp</result>
     </action>
 
     <!-- Display the result page whose content is populated using the Model-Driven technique
-->
     <action name="saveGangster" class="org.apache.struts2.s1.Struts1Action">
-        <param name="className">org.apache.struts2.showcase.integration.SaveGangsterAction</param>
-        <param name="validate">true</param>
+      <param name="className">org.apache.struts2.showcase.integration.SaveGangsterAction</param>
+      <param name="validate">true</param>
       <result name="input">modelDriven.jsp</result>
       <result>modelDrivenResult.jsp</result>
     </action>



Mime
View raw message