[jboss-cvs] jboss-seam/examples/dvdstore/web/admin ...
Gavin King
gavin.king at jboss.com
Fri Dec 1 08:27:52 EST 2006
User: gavin
Date: 06/12/01 08:27:52
Modified: examples/dvdstore/web/admin admin.xhtml
Log:
fix an npe and add process list
Revision Changes Path
1.4 +35 -0 jboss-seam/examples/dvdstore/web/admin/admin.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: admin.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/web/admin/admin.xhtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- admin.xhtml 14 Nov 2006 05:03:01 -0000 1.3
+++ admin.xhtml 1 Dec 2006 13:27:52 -0000 1.4
@@ -166,6 +166,41 @@
</c:otherwise>
</c:choose>
+ <h2>Processes</h2>
+ <c:choose>
+ <c:when test="#{empty processInstanceList}">
+ <p>There are no active processes.</p>
+ </c:when>
+ <c:otherwise>
+ <h:dataTable value="#{processInstanceList}" var="process"
+ styleClass="dvdtable"
+ headerClass="dvdtablehead"
+ rowClasses="dvdtableodd,dvdtableeven"
+ columnClasses="dvdtablecol">
+ <h:column>
+ <f:facet name="header">Process Definition</f:facet>
+ #{process.processDefinition.name}
+ </h:column>
+ <h:column>
+ <f:facet name="header">Process Start</f:facet>
+ <h:outputText value="#{process.start}">
+ <s:convertDateTime type="both"/>
+ </h:outputText>
+ </h:column>
+ <h:column>
+ <f:facet name="header">Current Node</f:facet>
+ #{process.rootToken.node.name}
+ </h:column>
+ <h:column>
+ <f:facet name="header">Current Node Enter</f:facet>
+ <h:outputText value="#{process.rootToken.nodeEnter}">
+ <s:convertDateTime type="both"/>
+ </h:outputText>
+ </h:column>
+ </h:dataTable>
+ </c:otherwise>
+ </c:choose>
+
</f:subview>
</ui:define>
</ui:composition>
More information about the jboss-cvs-commits
mailing list