It's actually ${state.site.parameters.myparam} in FM template ...
In model it's siteManager.getCurrentSite().getParameters().get("myParam");
to get the site manager ... you can either inject it or you need to call
Components.getSingleton(SiteManager.class)
See http://documentation.magnolia-cms.com/technical-guide/templating.html for
more details
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=82643cdb-c116-4ad8-8fdd-7a09d584dd92
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------