> thanks for the answer but what is de parameters-map and how do i use it?
I just did some researching myself..
Here is my conclusion:
On your site-definition, you can use the prototype for instance:
default (Content)
templates (Content)
prototype (Content)
parameters (Content)
test = test parameter value (NodeData)
customValue (Content)
name = the name value (NodeData)
test = a test value (NodeData)
In the Freemarker templates, you can then reference the values like this:
${def.parameters.test}
${def.parameters.customValue.name}
${def.parameters.customValue.test}
${def.parameters?size}
${def.parameters.customValue?size}
Then, if I'm right you should get something like:
test parameter value
the name value
a test value
2
2
Regards
--
15 Years of Excellence - http://netcetera.com
Marco Glur | [email protected]
T +41 44 247 79 20
Netcetera AG | 8040 Zurich | Switzerland | http://netcetera.com
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------