Okay, sorry, I don't remember the original post. My look at the FailingAction from the last message was what made me point to the docs.
I also vaguely remember what Jeromy was referring to, but a quick search in JIRA doesn't show it. The code for most of the interceptors, especially the model driven interceptor, is quite simple. I would walk through it and see if you can find an error in the logic and post it into JIRA. -Wes On Wed, 2008-08-27 at 01:43 -0400, Pierre Thibaudeau wrote: > 2008/8/27 Wes Wannemacher <[EMAIL PROTECTED]> > > > this is documented behavior - > > http://struts.apache.org/2.x/docs/model-driven-interceptor.html > > > > see the second note, toward the top of the page. > > > > Wes, are you referring to the following note: "The ModelDrivenInterceptor > will only push the model into the stack when the model is not null, else it > will be ignored." > Notice that, in my original post, I did address that specific issue. > Moreover, if you modify my "FaillingAction" to the following, it still > fails: > > /*********************/ > /* StillFailingAction */ > /*********************/ > public class StillFailingAction extends ActionSupport implements > ModelDriven<SmallObject>, Preparable { > private SmallObject obj; > public SmallObject getModel() { return obj; } > public void prepare() { obj = new SmallObject(""); } > public String execute() { > obj = new SmallObject("bar"); > return SUCCESS; > } > } > > The model being put on the stack is the zero-string one, not the "bar" > one... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]