geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r679622 - /geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
Date Fri, 25 Jul 2008 00:09:41 GMT
Author: dwoods
Date: Thu Jul 24 17:09:41 2008
New Revision: 679622

URL: http://svn.apache.org/viewvc?rev=679622&view=rev
Log:
GERONIMO-4215 Server Info portlet no longer auto refreshes.  Reenabled callServer() to be
called every 5 secs. to refresh the stats.

Modified:
    geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp

Modified: geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp?rev=679622&r1=679621&r2=679622&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
(original)
+++ geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
Thu Jul 24 17:09:41 2008
@@ -124,6 +124,9 @@
     DWRUtil.setValue("<portlet:namespace/>MostMemory", serverStats.memoryMost);
     DWRUtil.setValue("<portlet:namespace/>AvailableMemory", serverStats.memoryAllocated);
     DWRUtil.setValue("<portlet:namespace/>UpTime", serverStats.upTime);
+    if(!<portlet:namespace/>stopped) {
+        setTimeout("<portlet:namespace/>callServer()", 5000);
+    }
 }
 function <portlet:namespace/>onError() {
     <portlet:namespace/>stopped=true;



Mime
View raw message