Hi

I am trying to develop a page, which restricts the user to a single image in the content.
To acomplish that I modified the code from footer sample page to:

<cms:adminOnly>
<cms:editButton label="Add/Edit Teaser" paragraph="samplesTextImage" contentNodeName="productTeaser" />
</cms:adminOnly>

No problem here. But how do I get the data for this node out of the repository?

I tried with:

<cms:ifNotEmpty contentNodeName="productTeaser">
<cms:includeTemplate path="templates/jsp/samples/paragraphs/textImage.jsp"/>
</cms:ifNotEmpty>

Which results in: "Repository exception while reading productTeaser: productTeaser"

Any ideas?


Cheers, Andreas


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to