Hello Mohammed. The exposeSpringMacroHelpers property will not work for the 
FreemarkerParagraphViewRenderer class. This class doesn't have this property, 
so you can't use it. 
If you take a look at the source code, the only thing this propery do is to put 
the RequestContext into the model and for consequence available to FreeMarker.
One thing you can do is to put the RequestContext into the model by yourself : 

[code]model.addAttribute("springMacroRequestContext", new 
RequestContext(request, response, 
MgnlContext.getWebContext().getServletContext(), model));
[/code]

Doing that, and importing spring.ftl file into your freemarker code, you should 
be able to bind.

Regards,
Alexandre Odoni

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=c3bfd38d-6c67-4402-b09e-33dc091d8859


----------------------------------------------------------------
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]>
----------------------------------------------------------------

Reply via email to