Hi Matteo,
have a look at the implementation of the <cms:includeTemplate> tag.
There you find:
ParagraphRenderingFacade.getInstance().render(content,
pageContext.getOut(), pageContext);
where content is the paragraph node which should be displayed
Ralf
Matteo Pelucco schrieb:
Hi all..
I've built a "site designer"-like tool, with capability of displaying
inherited paragraphs.
Inheritance works in that way:
1. get paragraph info
2. include jsp page
---> code (inside a taglib) <---
Content content = Resource.getLocalContentNode();
String paragraphName = content.getMetaData().getTemplate();
Paragraph paragraph =
ParagraphManager.getInstance().getInfo(paragraphName);
pageContext.include(jspPage);
Now, I need to pass from the paragraph renderer (now is bypassed by
pageContext.include(jspPage)), because it loads several variables
needed by the template.
Is it possible?
I've found the Class "ParagraphRendererManager, saw the method
getRenderer(paragraph.getType()) but I don't know how to call it from
a taglib...
M.
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
----------------------------------------------------------------