From ceafb49aefcb886a7a1edd7cc4e9e840ac9078c5 Mon Sep 17 00:00:00 2001
From: Lukasz Lenart
Date: Mon, 31 Jan 2011 09:16:55 +0000
Subject: [PATCH] WW-3488 - adds documentation for three new copy options
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065533 13f79535-47bb-0310-9956-ffa450edef68
---
.../interceptor/ChainingInterceptor.java | 36 +++++++++----------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ChainingInterceptor.java b/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ChainingInterceptor.java
index 602e4529c..783a472c0 100644
--- a/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ChainingInterceptor.java
+++ b/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ChainingInterceptor.java
@@ -46,37 +46,37 @@ import java.util.*;
* is through the use of the chain result type, which combines with this interceptor to make up the action
* chaining feature.
*
+ * Note: By default Errors, Field errors and Message aren't copied during chaining, to change the behaviour you can specify
+ * the below three constants in struts.properties or struts.xml:
+ *
+ * - struts.xwork.chaining.copyErrors - set to true to copy Action Errors
+ * - struts.xwork.chaining.copyFieldErrors - set to true to copy Field Errors
+ * - struts.xwork.chaining.copyMessages - set to true to copy Action Messages
+ *
*
+ *
+ * Example:
+ *
+ * <constant name="struts.xwork.chaining.copyErrors" value="true"/>
+ *
+ *
* Note: By default actionErrors and actionMessages are excluded when copping object's properties.
*
*
- *
- * Interceptor parameters:
- *
+ * Interceptor parameters:
*
- *
*
- *
* - excludes (optional) - the list of parameter names to exclude from copying (all others will be included).
- *
* - includes (optional) - the list of parameter names to include when copying (all others will be excluded).
- *
*
- *
*
- *
- * Extending the interceptor:
- *
- *
- *
+ * Extending the interceptor:
*
- *
+ *
* There are no known extension points to this interceptor.
- *
+ *
*
- *
- * Example code:
- *
+ * Example code:
*
*
*