[jira] Commented: (NANO-74) NanoContainer-WebWork2 to support ObjectFactory
jira-yCVjj/[email protected] Mon, 17 May 2004 06:19:13 -0400 (EDT)
| Newsgroups | gmane.comp.java.nanocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
The following comment has been added to this issue:
Author: Cyrille Le Clerc
Created: Mon, 17 May 2004 6:18 AM
Body:
Update of the documentation to use nanoWebwork21 page http://docs.codehaus.org/display/NANO/NanoContainer+WebWork
DESCRIPTION
Add a <servlet-class> element
BEFORE
<servlet>
<servlet-name>WebWork</servlet-name>
<!-- Uncomment the one you want, depending on whether you are using WebWork or WebWork2 -->
<!--servlet-class>org.nanocontainer.webwork.PicoServletDispatcher</servlet-class-->
<!--servlet-class>org.nanocontainer.webwork2.PicoServletDispatcher</servlet-class-->
<load-on-startup>1</load-on-startup>
</servlet>
AFTER
<servlet>
<servlet-name>WebWork</servlet-name>
<!-- Uncomment the one you want, depending on whether you are using WebWork or WebWork2 -->
<!--servlet-class>org.nanocontainer.webwork.PicoServletDispatcher</servlet-class-->
<!--servlet-class>org.nanocontainer.webwork2.PicoServletDispatcher</servlet-class-->
<!--servlet-class>org.nanocontainer.webwork21.PicoServletDispatcher</servlet-class-->
<load-on-startup>1</load-on-startup>
</servlet>
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/NANO-74?page=comments#action_19873
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/NANO-74
Here is an overview of the issue:
---------------------------------------------------------------------
Key: NANO-74
Summary: NanoContainer-WebWork2 to support ObjectFactory
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: NanoContainer
Components:
webwork2
Assignee:
Reporter: Cyrille Le Clerc
Created: Sat, 8 May 2004 8:50 AM
Updated: Mon, 17 May 2004 6:18 AM
Environment: WebWork 2.1 CVS Head
XWork 1.0.1
Description:
Current NanoContainer-WebWork2 does not work with the new ObjectFactory
Here is a patch I used on my project :
- remove org.nanocontainer.webwork2.PicoActionFactory
- remove org.nanocontainer.webwork2.PicoActionProxyFactory
- modify org.nanocontainer.webwork2.PicoServletDispatcher
- create org.nanocontainer.webwork2.PicoObjectFactory
- create org.nanocontainer.webwork2.ThreadLocalContainerReference
Note : a discussion on ThreadLocalContainerReference has been held on the mailing list to know weither it should be mutualized over project.
Waiting for this answer, I developped a very specific and as simple as possible for this patch implementation.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira