On 20.08.2010 16:31, Ruben Reusser wrote:

Matteo,

is pageA rendered in magnolia or outside of magnolia?

Everything is in Magnolia.

If it's rendered
in magnolia, you can simply load another page into scope for a moment,
render what you need from that page and then unload the page again. See

http://dev.magnolia-cms.com/ref/3.6.1/magnolia-taglib-cms/tagreference.html#cms:loadPage

http://dev.magnolia-cms.com/ref/3.6.1/magnolia-taglib-cms/tagreference.html#cms:unloadPage

Oh, thanks, I will start looking on these resources..
But what I need is something "Java based", maybe to expose to Freemarker world like an util, in order to call something like this:

...
[#assign renderedParagraphString = renderer.render(paragraphContent)]
[#assign renderedTemplateString = renderer.render(pageContent)]
...

Anyway, I'll try to look in that direction..
Thanks!

Matteo



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