Re: [OS-webwork] Spring integration using ObjectFactory

2004-03-10 Thread Simon Stewart
Ross Mason wrote: I like the look of that Simon. This works well when your whole app is configured using the Spring Container (such as ours is) Glad that you liked it. I've got an almost complete SpringObjectFactory written; I've just got to find the time to add support for obtaining validators

Re: [OS-webwork] Spring integration using ObjectFactory

2004-03-10 Thread Ross Mason
I like the look of that Simon. This works well when your whole app is configured using the Spring Container (such as ours is) because you don't need to clutter the xwork.xml with the details of wiring your action dependancies making it eaiser to read. Plus in Spring you can separate all your ac

Re: [OS-webwork] Spring integration using ObjectFactory

2004-03-08 Thread Simon Stewart
Jason Carreira wrote: 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. Spot on. Frankly the thought of trying to wire _everything_ up in Spring makes me shudder because the co

Re: [OS-webwork] Spring integration using ObjectFactory

2004-03-08 Thread Simon Stewart
Francisco Hernandez wrote: so if you define your actions in spring how would you go about defining the results and interceptor stacks for those actions? You still use an "xwork.xml" file to define the actions' validators and results, but rather than using a real class name in the action's "class"

Re: [OS-webwork] Spring integration using ObjectFactory

2004-03-08 Thread Francisco Hernandez
uld 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 t

RE: [OS-webwork] Spring integration using ObjectFactory

2004-03-08 Thread Jason Carreira
ch 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 Ste

Re: [OS-webwork] Spring integration using ObjectFactory

2004-03-08 Thread Francisco Hernandez
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

[OS-webwork] Spring integration using ObjectFactory

2004-03-07 Thread Simon Stewart
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