On Jun 9, 2009, at 1:56 PM, Matteo Pelucco wrote:


Hi all!
Speaking about STK (1.0 or 1.1)...
Template Definition enhancement is a great thing, but how can we use it within JSP? On Freemarker we have a "def" variable, and we can for instance access to template dialog property with "def.dialog".

How is the JSP-equivalent?
Maybe ${def.dialog}? I don't think so, but..

Did you try ?
I can't say myself right now without double-checking, but if this works, ${def.x} should also work, no ?
http://svn.magnolia-cms.com/view/community/bundle/trunk/magnolia-integration-tests/magnolia-integration-tests-module/src/main/resources/mgnl-files/templates/test/para_with_model.jsp?revision=20024&view=markup
..
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to