struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: preparable vs modelDriven
Date Thu, 31 Jan 2008 18:24:20 GMT
--- 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.

Dave


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


Mime
View raw message