RE: ${model} question

"Thompson, Kris" <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
model is the name provided by Maverick.  So if you have a property in your controller called user (getUser and setUser) then you can access that value by choosing model.user in the jsp.  

> -----Original Message-----
> From: Aapo Laakkonen [mailto:[email protected]]
> Sent: Tuesday, September 30, 2003 8:19 AM
> To: [email protected]
> Subject: RE: [Mav-user] ${model} question
> 
> 
> In the most examples the controller is a model. Controller may have
> inherited several properties from parent class, e.g. getDest().
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Ed Thompson
> Sent: Tuesday, September 30, 2003 3:43 PM
> To: [email protected]
> Subject: [Mav-user] ${model} question
> 
> 
> I am trying to understand the use of ${model} in the Maverick 
> examples.
> In the example where ${model.dest} is referneced, I looked at the 
> generated .jave file, and cannot detrmine how ${model} is 
> resolved into 
> an object.  The only reference generated is:
> 
> _jspx_the_c_out_1(${model}");
> 
> What I do not understand is where (what object?)  the model is 
> referenced from.  Does my question make sense?
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> [INVALID FOOTER]
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
[INVALID FOOTER]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.