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

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)

Re: [OS-webwork] Spring integration using ObjectFactory

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

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 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