[jira] Commented: (NANO-74) NanoContainer-WebWork2 to support ObjectFactory

jira-yCVjj/[email protected] Sun, 16 May 2004 10:49:12 -0400 (EDT)
Newsgroups gmane.comp.java.nanocontainer.devel
Message-ID <[email protected]>
The following comment has been added to this issue:

     Author: Aslak Hellesoy
    Created: Sun, 16 May 2004 10:47 AM
       Body:
Even after WW 2.1 is released there will still be people using WW 2.0 for a while (with pico integration).

The simplest way to allow both of them to coexist is to make a completely new module called webwork21.

Could you make a zip file that looks similar to the contents of webwork2 (with the required jar files) and drop it here? After unzipping it the entire build from the root folder (picocintainer/java) should pass.


---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/NANO-74?page=comments#action_19848

---------------------------------------------------------------------
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: Sun, 16 May 2004 10:47 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