portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r331612 - /portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/statistics/statistics.vm
Date Mon, 07 Nov 2005 22:02:35 GMT
Author: taylor
Date: Mon Nov  7 14:02:28 2005
New Revision: 331612

URL: http://svn.apache.org/viewcvs?rev=331612&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-362
statistics portlet query and user support

Modified:
    portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/statistics/statistics.vm

Modified: portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/statistics/statistics.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/statistics/statistics.vm?rev=331612&r1=331611&r2=331612&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/statistics/statistics.vm
(original)
+++ portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/statistics/statistics.vm
Mon Nov  7 14:02:28 2005
@@ -3,6 +3,9 @@
 <div id="StatisticsPortlet"  class="portlet-section-text"> 
 	<form name="criteriaForm" action="$renderResponse.createActionURL()" method="post"
 	<table>
+	<tr><td align="center">
+	total sessions in progress: $!results.totalsessions
+	</td></tr>
 	<tr><td>
 	<table class=""portlet-section-body">
 	<tr  class="portlet-section-body"><th>
@@ -114,11 +117,20 @@
 	<tr class="portlet-section-alternate"><TD>min processing time</TD><TD>$!results.minProcessingTime</TD></TR>
     </table>
     </td><td>
-<!--    
     <table class="class="portlet-section-body" >
-	<tr class="portlet-section-subheader"><TH><b>username</b></TH><TH><b>value</b></TH></TR>
-	<tr class="portlet-section-alternate"><TD>min processing time</TD><TD>$!results.minProcessingTime</TD></TR>
+	<tr class="portlet-section-subheader">
+		<TH><b>$criteria.queryType</b></TH><TH><b>count</b></TH><TH><b>max
Time</b></TH><TH><b>avg Time</b></TH><TH><b>min
Time</b></TH></TR>
+	#foreach ( $row in $results.statlist )
+  		<tr>
+  			<td> $row.get("groupColumn") </td>
+  			<td> $row.get("count") </td>
+  			<td> $row.get("max") </td>
+  			<td> $row.get("avg") </td>
+  			<td> $row.get("min") </td>  			
+  		<tr>
+  		
+  	#end
     </table>
--->    
+    
     </td></tr></table>
 </div>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message