Hello
I need to get the comments made in the tasks assigned on the workflows, in
a listing view (as in the history tab), i've tried with the widget and
template below but i just get the comments from the current document
(parent) not from each document in the list, any clue would be appreciated
My widget:
<widget name="template" type="template">
<labels>
<label mode="any">Comments</label>
</labels>
<translated>false</translated>
<fields>
<field>data.id</field>
</fields>
<properties widgetMode="view">
<property name="template">/widgets/wf_comments.xhtml</property>
</properties>
<properties mode="any"/>
</widget>
My Template:
<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:nxthemes="http://nuxeo.org/nxthemes"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:nxd="http://nuxeo.org/nxweb/document"
xmlns:nxu="http://nuxeo.org/nxweb/util"
xmlns:nxh="http://nuxeo.org/nxweb/html"
>
<h:dataTable var="logEntry" value="${logEntries}">
<h:column>
<h:outputText value="#{messages[logEntriesComments[logEntry.id]]}"
/>
</h:column>
</h:dataTable>
</div>
Thanks in advanced
--
Jesus
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/