struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stanlick <stanl...@gmail.com>
Subject Re: REST Showcase 2.1.2
Date Sat, 30 Aug 2008 02:12:47 GMT

So any ideas why the model is being created inside the action and not
injected by the framework?

private Order model = new Order();



newton.dave wrote:
> 
> --- On Fri, 8/29/08, stanlick <stanlick@gmail.com> wrote:
>> Also, what's with the ModelDriven refreshModelBeforeResult?  I
>> haven't seen that one before!  Don't see it in the 
>> http://struts.apache.org/2.x/docs/model-driven-interceptor.html
>> guide   Is this a guide/version deal?
> 
> It hasn't been documented yet, AFAIK. It was put it due to an old JIRA
> issue. I think it came up originally because of the double call to
> getModel() in the interceptor or something?
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/REST-Showcase-2.1.2-tp19228759p19229834.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message