Commits

Anonymous committed df1fe87

- added snippet (for xwork2 confluence doc)

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1169e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits 86591c9

Comments (0)

Files changed (1)

File src/java/xwork-default.xml

 
 <xwork>
     <package name="xwork-default">
+    
+    	<!-- START SNIPPET: xwork2-default-result-types -->
+    
         <result-types>
             <result-type name="chain" class="com.opensymphony.xwork2.ActionChainResult"/>
         </result-types>
 
+		<!-- END SNIPPET: xwork2-default-result-types -->
+
         <interceptors>
+            <!-- START SNIPPET: xwork2-default-interceptors -->
+        
             <interceptor name="timer" class="com.opensymphony.xwork2.interceptor.TimerInterceptor"/>
             <interceptor name="logger" class="com.opensymphony.xwork2.interceptor.LoggingInterceptor"/>
             <interceptor name="chain" class="com.opensymphony.xwork2.interceptor.ChainingInterceptor"/>
             <interceptor name="conversionError"  class="com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor"/>
 			<interceptor name="alias" class="com.opensymphony.xwork2.interceptor.AliasInterceptor"/>
   
+  			<!-- END SNIPPET: xwork2-default-interceptors -->
+  
+  
+  			<!-- START SNIPPET: xwork2-default-interceptor-stack -->
+  
             <interceptor-stack name="defaultStack">
                 <interceptor-ref name="static-params"/>
                 <interceptor-ref name="params"/>
                 <interceptor-ref name="validation"/>
                 <interceptor-ref name="workflow"/>
             </interceptor-stack>
+            
+            <!-- END SNIPPET: xwork2-default-interceptor-stack -->
+            
         </interceptors>
     </package>
 </xwork>