I think the idea is that in the class=".." field in xwork.xml you actually just put your Spring bean name to reference. The rest of the xwork.xml file would be the same.
> -----Original Message----- > From: Francisco Hernandez [mailto:[EMAIL PROTECTED] > Sent: Monday, March 08, 2004 4:43 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] Spring integration using ObjectFactory > > > so if you define your actions in spring how would you go > about defining > the results and interceptor stacks for those actions? > > Simon Stewart wrote: > > > 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 > > > > > > > > > > ------------------------------------------------------- > 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 > ------------------------------------------------------- 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_id70&alloc_id638&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork