Changeset 196
- Timestamp:
- 02/24/06 11:04:51
- Files:
-
- trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/default.xsl (modified) (3 diffs)
- trunk/calendar3/webadmin/war/docs/system/showSysStats.jsp (modified) (1 diff)
- trunk/calendar3/webclient/war/WEB-INF/struts-config.xml (modified) (2 diffs)
- trunk/calendar3/webclient/war/docs/header.jsp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/default.xsl
r154 r196 59 59 <xsl:variable name="mailEvent" select="/bedework/urlPrefixes/mailEvent"/> 60 60 <xsl:variable name="showPage" select="/bedework/urlPrefixes/showPage"/> 61 <xsl:variable name="stats" select="/bedework/urlPrefixes/stats"/> 61 62 62 63 <!-- Other generally useful global variables --> … … 106 107 <!-- show an event --> 107 108 <xsl:apply-templates select="/bedework/event"/> 109 </xsl:when> 110 <xsl:when test="/bedework/page='showSysStats'"> 111 <!-- show system stats --> 112 <xsl:apply-templates select="/bedework/sysStats"/> 108 113 </xsl:when> 109 114 <xsl:when test="/bedework/page='calendars'"> … … 1011 1016 </xsl:template> 1012 1017 1018 <!--+++++++++++++++ System Stats ++++++++++++++++++++--> 1019 1020 <xsl:template match="sysStats" mode="showSysStats"> 1021 <h2>System Statistics</h2> 1022 1023 <p> 1024 Stats collection: 1025 </p> 1026 <ul> 1027 <li> 1028 <a href="{$stats}&enable=yes">enable</a> | 1029 <a href="{$stats}&disable=yes">disable</a> 1030 </li> 1031 <li><a href="{$stats}&fetch=yes">fetch statistics</a></li> 1032 <li><a href="{$stats}&dump=yes">dump stats to log</a></li> 1033 </ul> 1034 <table id="statsTable" cellpadding="0"> 1035 <xsl:for-each select="*"> 1036 <xsl:choose> 1037 <xsl:when test="name(.) = 'header'"> 1038 <tr> 1039 <th colspan="2"> 1040 <xsl:value-of select="."/> 1041 </th> 1042 </tr> 1043 </xsl:when> 1044 <xsl:otherwise> 1045 <tr> 1046 <td class="label"> 1047 <xsl:value-of select="label"/> 1048 </td> 1049 <td class="value"> 1050 <xsl:value-of select="value"/> 1051 </td> 1052 </tr> 1053 </xsl:otherwise> 1054 </xsl:choose> 1055 </xsl:for-each> 1056 </table> 1057 </xsl:template> 1058 1013 1059 <!--==== FOOTER ====--> 1014 1060 trunk/calendar3/webadmin/war/docs/system/showSysStats.jsp
r191 r196 1 1 <%@ taglib uri='struts-bean' prefix='bean' %> 2 2 <%@ taglib uri='struts-logic' prefix='logic' %> 3 <%@ taglib uri='struts-genurl' prefix='genurl' %> 3 4 <%@ taglib uri='struts-html' prefix='html' %> 4 <%@ taglib uri='struts-genurl' prefix='genurl' %>5 5 <html:xhtml/> 6 6 trunk/calendar3/webclient/war/WEB-INF/struts-config.xml
r176 r196 308 308 </action> 309 309 310 <action path="/manageLocations" 311 type="org.bedework.webclient.BwAction" 312 name="calForm" 313 scope="session" 314 validate="false"> 315 <forward name="success" path="/showManageLocations.rdo" redirect="true" /> 316 </action> 317 318 <action path="/addLocation" 319 type="org.bedework.webclient.BwAddLocationAction" 320 name="calForm" 321 scope="session" 322 validate="false"> 323 <forward name="success" path="/showManageLocations.rdo" redirect="true" /> 324 </action> 325 326 <action path="/editLoc" 327 type="org.bedework.webclient.BwEditLocationAction" 328 name="calForm" 329 scope="session" 330 validate="false"> 331 <forward name="edit" path="/showEditLocation.rdo" redirect="true" /> 332 <forward name="success" path="/showManageLocations.rdo" redirect="true" /> 333 </action> 334 335 <action path="/delLocation" 336 type="org.bedework.webclient.BwDelLocationAction" 337 name="calForm" 338 scope="session" 339 validate="false"> 340 <forward name="referenced" path="/showManageLocations.rdo" redirect="true" /> 341 <forward name="success" path="/showManageLocations.rdo" redirect="true" /> 342 </action> 343 344 <!-- ....................... system stats .......................... --> 345 346 <action path="/showStats" 347 type="org.bedework.webclient.BwRenderAction" 348 name="calForm" 349 scope="session" 350 validate="false"> 351 <forward name="success" path="/docs/showSysStats.jsp" /> 352 </action> 353 310 354 <action path="/stats" 311 355 type="org.bedework.webcommon.misc.StatisticsAction" … … 313 357 scope="session" 314 358 validate="false"> 315 </action> 316 317 <action path="/manageLocations" 318 type="org.bedework.webclient.BwAction" 319 name="calForm" 320 scope="session" 321 validate="false"> 322 <forward name="success" path="/showManageLocations.rdo" redirect="true" /> 323 </action> 324 325 <action path="/addLocation" 326 type="org.bedework.webclient.BwAddLocationAction" 327 name="calForm" 328 scope="session" 329 validate="false"> 330 <forward name="success" path="/showManageLocations.rdo" redirect="true" /> 331 </action> 332 333 <action path="/editLoc" 334 type="org.bedework.webclient.BwEditLocationAction" 335 name="calForm" 336 scope="session" 337 validate="false"> 338 <forward name="edit" path="/showEditLocation.rdo" redirect="true" /> 339 <forward name="success" path="/showManageLocations.rdo" redirect="true" /> 340 </action> 341 342 <action path="/delLocation" 343 type="org.bedework.webclient.BwDelLocationAction" 344 name="calForm" 345 scope="session" 346 validate="false"> 347 <forward name="referenced" path="/showManageLocations.rdo" redirect="true" /> 348 <forward name="success" path="/showManageLocations.rdo" redirect="true" /> 359 <forward name="continue" path="/showStats.rdo" redirect="true" /> 360 <forward name="success" path="/showStats.rdo" redirect="true" /> 349 361 </action> 350 362 trunk/calendar3/webclient/war/docs/header.jsp
r131 r196 142 142 <addEventRef><genurl:rewrite action="addEventRef.do"/></addEventRef> 143 143 <upload><genurl:rewrite action="upload.do"/></upload> 144 <stats><genurl:rewrite action="stats.do?be=d"/></stats> 144 145 </urlPrefixes><%-- 145 146 actionUrlPrefixes are used to generate appropriately encoded urls for
