struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Nunnari <roberto.nunn...@supsi.ch>
Subject Re: preparable vs modelDriven
Date Thu, 31 Jan 2008 19:55:14 GMT
Dave Newton wrote:
> --- Roberto Nunnari <roberto.nunnari@supsi.ch> wrote:
>> The prepare() method task is to retrive the model
>> and store it as an instance variable.
>>
>> The getModel() method will later return the model
>> when asked by the framework that will put it on the
>> value stack.
>>
>> Please correct me if I'm wrong.
> 
> Some people use getModel() to do more work, that's all; the original question
> was how to avoid some of the issues caused by using that pattern.

I see. Sorry for the noise.

Robi.


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


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


Mime
View raw message