Maybe this can be a solution?
Content currentParagraph = Resource.getLocalContentNode();
It seems to be... but I'm not sure if it is the best way...
M.
Matteo Pelucco ha scritto:
Hi all.
I want to reproduce inside a paragraph renderer the following behaviour.
PAGE = /test/moduleTest
JCR NODEDATA TO RETRIEVE:
/test/moduleTest/t01-footerBox/0/footerText=<p>This is a footer</p>
In a JSP template, I do the following:
<cms:out nodeDataName="text" var="myText"/>
and with JSTL I can use that text.
But inside a paragraph renderer? There is something I can use to
retrieve, e.g., t01-footerBox/0?
With
Content currentPage =
MgnlContext.getAggregationState().getCurrentContent();
I reach only /test/moduleTest part of the full path I need...
Thanks again for any help..
Matteo
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to:
<[EMAIL PROTECTED]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
----------------------------------------------------------------