On Fri, January 6, 2006 3:49 pm, Niall Pemberton said: > This will be easier to do in Struts 1.3 because rather than having to have > a > custom RequestProcessor you simply need to replace the Command that gets > the > Action instance with your own version that instantiates a new Action every > time. So rather than using o.a.s.c.c.s.CreateAction create your own > implementation by extending AbstractCreateAction and implement getAction() > method that does this.
Agreed. That's why a few weeks back I was making a lot of noise about getting 1.3 out. Once it is out, a lot of these sorts of things will become common knowledge and Struts will look a whole lot better in a number of ways. > Also, I've only just started reading the WebWork book (on Chpt 5), but it > works in this way already (no separate form and a new instance every time) > - > I believe they're moving away from having to have any concrete classes / > interfaces - just have a POJO that gets populated and then configure it to > call a method. I'm on chapter 4 :) Frank --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]