Again here:
I have a data module called "news" and a page that iterates over news
and display X of them.
I would like to let the editors to edit news attributes (defined as
dialog under data module) directly from the page where news are displayed.
I've tried this:
<cms:contentNodeIterator items="${news}">
<div>
<cms:editBar editLabel="edit" />
<p>TITLE = <cms:out nodeDataName="title" /></p>
</div>
</cms:contentNodeIterator>
where ${news} is a Collection<Content> of data under <data> repository.
I see an exception:
***
info.magnolia.cms.beans.config.ConfigurationException: no dialog
registered for name:
***
probably because under data node type there is an empty node "template".
I've also tried to change
<cms:editBar editLabel="edit" />
into
<cms:editBar editLabel="edit" paragraph="news" />
in this case I see correct field (dialog is right) but empty, data is
not loaded...
also tried:
<cms:out nodeDataName="name" var="nodeName"/>
<cms:editBar editLabel="edit ${nodeName}" contentNodeName="${nodeName}"
paragraph="news" />
I see the green button with "edit news-002" (right node name) but on
click I see again empty fields.
What can I do?
Implement my own editBar or it is already done?
tnx
Matteo
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------