Hi,
you can use <cms:out />...
Write something like this:
<cms:contentNodeIterator contentNodeCollectionName="DocumentData"
begin="0" end="100" varStatus="m">
<c:set var="paragraph" value="${state.currentContent.metaData.template}"
/> <!-- the name of paragraph -->
<cms:out nodeDataName="yourNodeDataName" var="myvar" /><!-- you can use
without var to print nodeData -->
${myvar} <!-- it sounds like ${content.yourNodeDataName} when use
includeTemplate tag -->
</cms:contentNodeIterator>
HTH
Cheers,
SC
On 10/21/2011 05:12 PM, Frank Sommer wrote:
Hi
try something like this:
<cms:contentNodeIterator contentNodeCollectionName="DocumentData"
begin="0" end="100" varStatus="m">
<cms:setNode var="actNode" />
currentParagraph: ${actNode.product} <br/>
</cms:contentNodeIterator>
Regards Frank
2011/10/20 Magnolia Forums (on behalf of Ola Mont?n)
<[email protected] <mailto:[email protected]>>
Sorry for the trouble, but I get:
org.apache.jasper.JasperException: An exception occurred
processing JSP page /templates/tsic/templates/skaDocuments.jsp at
line 65
64: <cms:contentNodeIterator
contentNodeCollectionName="DocumentData" begin="0" end="100"
varStatus="m">
65: currentParagraph:
${cmsfn:currentParagraph().product} <br/>
66: </cms:contentNodeIterator>
If I use cmsfn:currentParagraph().name, then I get the name of the
content node (00, 02 etc). But I still don't understand how to get
to the content data under the content node.
[img]http://montan.biz/Data.png[/img]
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=3185a054-baaa-4e73-9e8a-97a5dd647c82
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]
<mailto:[email protected]>>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------