[
http://jira.jboss.com/jira/browse/JBPM-603?page=all ]
David Lloyd reassigned JBPM-603:
--------------------------------
Assignee: David Lloyd (was: Tom Baeyens)
create ui component for comments
--------------------------------
Key: JBPM-603
URL:
http://jira.jboss.com/jira/browse/JBPM-603
Project: JBoss jBPM
Issue Type: Task
Components: Web Interface
Reporter: Tom Baeyens
Assigned To: David Lloyd
2 jsf UI components should be created based on the dataTable for showing comments.
1 component/tag for taskInstance comments and 1 for token comments.
This should be a shortcut for something like this:
<c:if test="#{taskBean.comments != null}">
<h:dataTable var="comment" value="#{taskBean.comments}">
<f:facet name="header">Comments</f:facet>
<h:column>
<f:facet name="header">Actor</f:facet>
<h:outputText value="#{comment.actorId}"/>
</h:column>
<h:column>
<f:facet name="header">Time</f:facet>
<h:outputText value="#{comment.time}">
<f:convertDateTime type="both" />
</h:outputText>
</h:column>
<h:column>
<f:facet name="header">Message</f:facet>
<h:outputText value="#{comment.message}"/>
</h:column>
</h:dataTable>
</c:if>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira