History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WW-1487
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Major Major
Assignee: Tom Schneider
Reporter: Joshua Partogi
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WebWork

Enable Spring Object Factory to be configured via init-param

Created: 13/Nov/07 12:58 AM   Updated: 18/Nov/07 09:10 PM
Component/s: Actions, Dispatch
Affects Version/s: 2.2.6
Fix Version/s: 2.2.7


 Description  « Hide
Currently spring object factory config is set via webwork.properties which does not enable us to use ContextLoaderServlet, it would be nice if some configuration can be configured via init-param in web.xml as such:

<filter>
<filter-name>webwork</filter-name>
<filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>
<init-param>
<param-name>webwork.objectFactory</param-name>
<param-value>spring</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>webwork</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

 All   Comments   Change History      Sort Order:
Tom Schneider - [18/Nov/07 09:10 PM ]
This has been implemented in struts 2. However, I would consider this a new feature, so it will not be implemented in webwork unless someone wishes to submit a patch. If so, please reopen and attach a patch.