I've just uploaded a simple implementation of the ObjectFactory to JIRA that offers support for using Spring to create (and therefore wire) Actions in XWork. In order to make this approach work, it was necessary to change the ActionConfig class so that a reference to the Action's class name was stored rather than the class itself.

The patch includes a couple of unit tests that show the thing in action. All the other tests also run, at least on my machine, so I'm reasonably confident that this works as advertised.

Because I'm obviously having a bad day today, I initially created an entry for this in the Webwork JIRA installation, but there's now a slightly more appropriate XWork issue too. I'd appreciate it if one of the JIRA admins would close the Webwork issue.

http://jira.opensymphony.com/secure/ViewIssue.jspa?key=XW-168

Regards,

Simon


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to