Author: husted
Date: Mon Mar 19 19:56:03 2007
New Revision: 520241
URL: http://svn.apache.org/viewvc?view=rev&rev=520241
Log:
WW-1814 "Default TypeConverters always created with default ObjectFactory"
Reorder statics as suggested by Jasper Rosenberg
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=520241&r1=520240&r2=520241
==============================================================================
---
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 19 19:56:03 2007
@@ -39,14 +39,14 @@
<bean type="com.opensymphony.xwork2.TextProvider" name="struts"
class="com.opensymphony.xwork2.TextProviderSupport" />
<!-- Only have static injections -->
+ <bean class="com.opensymphony.xwork2.ObjectFactory" static="true" />
+ <bean class="com.opensymphony.xwork2.util.XWorkConverter" static="true" />
<bean class="com.opensymphony.xwork2.util.OgnlValueStack" static="true" />
<bean class="org.apache.struts2.dispatcher.Dispatcher" static="true" />
<bean class="org.apache.struts2.components.Include" static="true" />
<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.ObjectFactory" static="true" />
- <bean class="com.opensymphony.xwork2.util.XWorkConverter" static="true" />
<package name="struts-default">
<result-types>