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 00:21:48 GMT

So what do you suppose is the special missing sauce?  I see Spring inject my
service bean into the action but not the model!  Very strange indeed. 
Public setter method, bean wiring by autodetect... really has me scratching
my head.  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?

Scott




Musachy Barroso wrote:
> 
> Lifecycle is the same: up to you. There is no specific reason why it needs
> to be like that. (you know the struts style: many ways of doing the same
> thing)
> 
> musachy
> 
> On Fri, Aug 29, 2008 at 7:05 PM, stanlick <stanlick@gmail.com> wrote:
> 
>>
>> Is there a reason the lifecycle will not create the model object Order on
>> action instantiation?  I notice it is being constructed during the Action
>> initialization and without it, fails in the create method with a NPE. 
>> How
>> much different is the lifecycle when using the REST plug-in?
>>
>> --
>> View this message in context:
>> http://www.nabble.com/REST-Showcase-2.1.2-tp19228759p19228759.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
>>
>>
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> 

-- 
View this message in context: http://www.nabble.com/REST-Showcase-2.1.2-tp19228759p19229294.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