Author: husted
Date: Mon Mar 12 14:32:01 2007
New Revision: 517408

URL: http://svn.apache.org/viewvc?view=rev&rev=517408
Log:
WW-1754 "The current struts-default.xml prevents TypeConverter wiring." Swap 
ObjectFactory and XWorkConverter load order per suggestion of Nicolas Berthet.

Modified:
    
struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/struts-default.xml

Modified: 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/struts-default.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/struts-default.xml?view=diff&rev=517408&r1=517407&r2=517408
==============================================================================
--- 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/struts-default.xml 
(original)
+++ 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/struts-default.xml 
Mon Mar 12 14:32:01 2007
@@ -45,8 +45,8 @@
     <bean class="org.apache.struts2.dispatcher.FilterDispatcher" static="true" 
/>
     <bean class="org.apache.struts2.views.util.ContextUtil" static="true" />
     <bean class="org.apache.struts2.views.util.UrlHelper" static="true" />
-    <bean class="com.opensymphony.xwork2.util.XWorkConverter" static="true" />
     <bean class="com.opensymphony.xwork2.ObjectFactory" static="true" />
+    <bean class="com.opensymphony.xwork2.util.XWorkConverter" static="true" />
 
     <package name="struts-default">
         <result-types>
@@ -70,6 +70,7 @@
             <interceptor name="autowiring" 
class="com.opensymphony.xwork2.spring.interceptor.ActionAutowiringInterceptor"/>
             <interceptor name="chain" 
class="com.opensymphony.xwork2.interceptor.ChainingInterceptor"/>
             <interceptor name="conversionError" 
class="org.apache.struts2.interceptor.StrutsConversionErrorInterceptor"/>
+            <interceptor name="cookie" 
class="org.apache.struts2.interceptor.CookieInterceptor"/>
             <interceptor name="createSession" 
class="org.apache.struts2.interceptor.CreateSessionInterceptor" />
             <interceptor name="debugging" 
class="org.apache.struts2.interceptor.debugging.DebuggingInterceptor" />
             <interceptor name="externalRef" 
class="com.opensymphony.xwork2.interceptor.ExternalReferencesInterceptor"/>


Reply via email to