Why do you need to do this ? Pass a Content instance to the context (FreemarkerHelper.render(... Map context ...) and FreeMarker takes care of the rest. The nitty-gritty wrapping and conversion job happens when FreemarkerHelper instructs FreeMarker to use info.magnolia.freemarker.models.MagnoliaObjectWrapper as its object wrapper.
If you can't find an example of where that's actually, that's for the simple reason it isn't done anywhere except in MagnoliaObjectWrapper, which isn't called directly either. Ever. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=4fcd31ec-0a39-4c31-bc60-0188a1c34528 ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
