struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darren James <jdja...@netflix.com>
Subject freemaker model population
Date Thu, 28 Feb 2008 00:10:52 GMT
Hi all,

I'm fairly new to freemarker, and just started using in in the context 
of a struts2
component tag.  I was noticing that it seems like you can do this

  ${foo.bar}

anywhere in the template (vs. using the s.property tag), *but* only when
the top object on the value stack is the object with property foo. 

....so my question is, how does struts populate freemarker's model, and 
is there
a way to make ${foo.bar} be evaluated in the context of any object on the
value stack.

thanks,

- darren.

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


Mime
View raw message