Re: [S2] ModelDriven: model not pushed on stack?

2008-08-27 Thread Wes Wannemacher
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

Re: [S2] ModelDriven: model not pushed on stack?

2008-08-27 Thread Pierre Thibaudeau
2008/8/27 Jeromy Evans [EMAIL PROTECTED] There is something else at play here. If you put a break-point in the interceptor it should become clear. I vaguely an update or concern recently relating to automatic refreshing of the model in the ModelDriven interceptor; the interceptor gets the

Re: [S2] ModelDriven: model not pushed on stack?

2008-08-27 Thread Pierre Thibaudeau
2008/8/27 Jeromy Evans [EMAIL PROTECTED] I vaguely an update or concern recently relating to automatic refreshing of the model in the ModelDriven interceptor; the interceptor gets the model and re sets it on the stack when it thinks it should. I followed through your suggestion, and came up

Re: [S2] ModelDriven: model not pushed on stack?

2008-08-27 Thread Dave Newton
http://struts.apache.org/2.x/docs/editing-the-documentation.html Dave --- On Wed, 8/27/08, Pierre Thibaudeau [EMAIL PROTECTED] wrote: From: Pierre Thibaudeau [EMAIL PROTECTED] Subject: Re: [S2] ModelDriven: model not pushed on stack? To: Struts Users Mailing List user@struts.apache.org

[S2] ModelDriven: model not pushed on stack?

2008-08-26 Thread Pierre Thibaudeau
I have successfully used the ModelDriven interface again and again. But suddenly, on my most recent action, the model does not find its way to the top of the stack, and I cannot find where the problem might be. This is what I know about ModelDriven setup: 1) Action must implement ModelDrivenT

Re: [S2] ModelDriven: model not pushed on stack?

2008-08-26 Thread Pierre Thibaudeau
2008/8/26 Pierre Thibaudeau [EMAIL PROTECTED] [...] suddenly, on my most recent action, the model does not find its way to the top of the stack, and I cannot find where the problem might be. I dug deeper into this issue and found something very surprising. The strange behaviour centres around

Re: [S2] ModelDriven: model not pushed on stack?

2008-08-26 Thread Jeromy Evans
There is something else at play here. If you put a break-point in the interceptor it should become clear. I vaguely an update or concern recently relating to automatic refreshing of the model in the ModelDriven interceptor; the interceptor gets the model and re sets it on the stack when it

Re: [S2] ModelDriven: model not pushed on stack?

2008-08-26 Thread Wes Wannemacher
Pierre, 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 On Wed, 2008-08-27 at 00:18 -0400, Pierre Thibaudeau wrote: 2008/8/26 Pierre Thibaudeau [EMAIL PROTECTED] [...] suddenly, on my most

Re: [S2] ModelDriven: model not pushed on stack?

2008-08-26 Thread Pierre Thibaudeau
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