You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by am...@apache.org on 2005/07/21 03:38:23 UTC

svn commit: r219976 [10/12] - in /geronimo/trunk: ./ etc/ sandbox/console-core/ sandbox/console-core/src/ sandbox/console-core/src/java/ sandbox/console-core/src/java/org/ sandbox/console-core/src/java/org/apache/ sandbox/console-core/src/java/org/apac...

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysNormal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysNormal.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysNormal.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysNormal.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,260 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Java</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>java.awt.graphicsenv</td>
+    <td class="LightBackground" width="80%">${javaSysProps['java.awt.graphicsenv']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.awt.printerjob</td>
+    <td class="MediumBackground">${javaSysProps['java.awt.printerjob']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.class.path</td>
+    <td class="LightBackground">
+        <table>
+        <c:forEach var="el" items="${javaClassPath}">
+            <tr><td class="LightBackground">${el}</td></tr>
+        </c:forEach>
+        </table>
+    </td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.class.version</td>
+    <td class="MediumBackground">${javaSysProps['java.class.version']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.endorsed.dirs</td>
+    <td class="LightBackground">${javaSysProps['java.endorsed.dirs']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.ext.dirs</td>
+    <td class="MediumBackground">${javaSysProps['java.ext.dirs']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.home</td>
+    <td class="LightBackground">${javaSysProps['java.home']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.io.tmpdir</td>
+    <td class="MediumBackground">${javaSysProps['java.io.tmpdir']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.library.path</td>
+    <td class="LightBackground">
+        <table>
+        <c:forEach var="el" items="${javaLibraryPath}">
+            <tr><td class="LightBackground">${el}</td></tr>
+        </c:forEach>
+        </table>
+    </td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.runtime.name</td>
+    <td class="MediumBackground">${javaSysProps['java.runtime.name']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.runtime.version</td>
+    <td class="LightBackground">${javaSysProps['java.runtime.version']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.specification.name</td>
+    <td class="MediumBackground">${javaSysProps['java.specification.name']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.specification.vendor</td>
+    <td class="LightBackground">${javaSysProps['java.specification.vendor']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.specification.version</td>
+    <td class="MediumBackground">${javaSysProps['java.specification.version']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.util.prefs.PreferencesFactory</td>
+    <td class="LightBackground">${javaSysProps['java.util.prefs.PreferencesFactory']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.vendor-</td>
+    <td class="MediumBackground">${javaSysProps['java.vendor']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.vendor.url</td>
+    <td class="LightBackground">${javaSysProps['java.vendor.url']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.vendor.url.bug</td>
+    <td class="MediumBackground">${javaSysProps['java.vendor.url.bug']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.version-</td>
+    <td class="LightBackground">${javaSysProps['java.version']}</td>
+  </tr>
+</table>
+<br>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Virtual Machine</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>java.vm.info</td>
+    <td class="LightBackground" width="80%">${javaSysProps['java.vm.info']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.vm.name</td>
+    <td class="MediumBackground">${javaSysProps['java.vm.name']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.vm.specification.name</td>
+    <td class="LightBackground">${javaSysProps['java.vm.specification.name']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.vm.specification.vendor</td>
+    <td class="MediumBackground">${javaSysProps['java.vm.specification.vendor']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.vm.specification.version</td>
+    <td class="LightBackground">${javaSysProps['java.vm.specification.version']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.vm.vendor</td>
+    <td class="MediumBackground">${javaSysProps['java.vm.vendor']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.vm.version</td>
+    <td class="LightBackground">${javaSysProps['java.vm.version']}</td>
+  </tr>
+</table>
+<br>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Operating System</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>os.arch</td>
+    <td class="LightBackground" width="80%">${javaSysProps['os.arch']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">os.name</td>
+    <td class="MediumBackground">${javaSysProps['os.name']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">os.version</td>
+    <td class="LightBackground">${javaSysProps['os.version']}</td>
+  </tr>
+</table>
+<br>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Sun</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>sun.arch.data.model</td>
+    <td class="LightBackground" width="80%">${javaSysProps['sun.arch.data.model']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">sun.boot.class.path</td>
+
+    <td class="MediumBackground"><!-- ${javaSysProps['sun.boot.class.path']} -->
+
+        <table>
+        <c:forEach var="el" items="${bootClassPathList}">
+            <tr><td class="MediumBackground">${el}</td></tr>
+        </c:forEach>
+        </table>
+
+    </td>
+  </tr>
+  <tr>
+    <td class="LightBackground">sun.boot.library.path</td>
+    <td class="LightBackground">${javaSysProps['sun.boot.library.path']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">sun.cpu.endian</td>
+    <td class="MediumBackground">${javaSysProps['sun.cpu.endian']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">sun.cpu.isalist</td>
+    <td class="LightBackground">${javaSysProps['sun.cpu.isalist']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">sun.io.unicode.encoding</td>
+    <td class="MediumBackground">${javaSysProps['sun.io.unicode.encoding']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">sun.java2d.fontpath</td>
+    <td class="LightBackground">${javaSysProps['sun.java2d.fontpath']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">sun.os.patch.level</td>
+    <td class="MediumBackground">${javaSysProps['sun.os.patch.level']}</td>
+  </tr>
+</table>
+<br>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">User</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>user.country</td>
+    <td class="LightBackground" width="80%">${javaSysProps['user.country']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">user.dir</td>
+    <td class="MediumBackground">${javaSysProps['user.dir']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">user.home</td>
+    <td class="LightBackground">${javaSysProps['user.home']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">user.language</td>
+    <td class="MediumBackground">${javaSysProps['user.language']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">user.name</td>
+    <td class="LightBackground">${javaSysProps['user.name']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">user.timezone</td>
+    <td class="MediumBackground">${javaSysProps['user.timezone']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">user.variant</td>
+    <td class="LightBackground">${javaSysProps['user.variant']}</td>
+  </tr>
+</table>
+<br>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Etc</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>path.separator</td>
+    <td class="LightBackground" width="80%">${javaSysProps['path.separator']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">line.separator</td>
+    <td class="MediumBackground">${javaSysProps['line.separator']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">awt.toolkit</td>
+    <td class="LightBackground">${javaSysProps['awt.toolkit']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">file.encoding</td>
+    <td class="MediumBackground">${javaSysProps['file.encoding']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">file.encoding.pkg</td>
+    <td class="LightBackground">${javaSysProps['file.encoding.pkg']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">file.separator</td>
+    <td class="MediumBackground">${javaSysProps['file.separator']}</td>
+  </tr>
+</table>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysNormal.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoHelp.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoHelp.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoHelp.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoHelp.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,2 @@
+This page provides information about the uptime of the server and the resources
+being used by the JVM.
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoHelp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoMaximized.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoMaximized.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoMaximized.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoMaximized.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1 @@
+<%@ include file="svrInfoNormal.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoMaximized.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,105 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<table width="100%"> 
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Kernel</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>Kernel Boot Time</td> 
+    <td class="LightBackground" width="80%">${svrProps['Kernel Boot Time']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Kernel Up Time</td> 
+    <td class="MediumBackground">${svrProps['Kernel Up Time']}</td> 
+  </tr> 
+</table>
+<br>
+<!--
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Server</td>
+  </tr>
+
+  base directory is commented originally
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>Base Directory</td>
+    <td class="LightBackground" width="80%">${svrProps['Base Directory']}</td>
+  </tr>
+
+  <tr>
+    <td class="LightBackground">Platform Architecture</td>
+    <td class="LightBackground">${svrProps['Platform Architecture']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" width="20%" nowrap>Version</td>
+    <td class="MediumBackground"  width="80%">${svrProps['Version']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">Apache Geronimo Build Version</td>
+    <td class="LightBackground">${svrProps['Apache Geronimo Build Version']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">J2EE Specs Version</td>
+    <td class="MediumBackground">${svrProps['J2EE Specifications Version']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">JSR-168 Portal Version</td>
+    <td class="LightBackground">${svrProps['JSR 168 Portal Version']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">Build Date</td>
+    <td class="MediumBackground">${svrProps['Build Date']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">Build Time</td>
+    <td class="LightBackground">${svrProps['Build Time']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">Copyright</td>
+    <td class="MediumBackground">${svrProps['Copyright']}</td>
+  </tr>
+</table>
+-->
+<br>
+<table width="100%"> 
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">JVM</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>Java Version</td> 
+    <td class="LightBackground" width="80%">${jvmProps['Java Version']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Java Vendor</td> 
+    <td class="MediumBackground">${jvmProps['Java Vendor']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">Node</td> 
+    <td class="LightBackground">${jvmProps['Node']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Max Memory</td> 
+    <td class="MediumBackground">${jvmProps['Max Memory']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">Total Memory</td> 
+    <td class="LightBackground">${jvmProps['Total Memory']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Free Memory</td> 
+    <td class="MediumBackground">${jvmProps['Free Memory']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">Available Processors</td> 
+    <td class="LightBackground">${jvmProps['Available Processors']}</td> 
+  </tr> 
+  <tr> 
+    <td colspan="2" align="center">
+      <form name="<portlet:namespace/>" action="<portlet:actionURL/>"">
+        <input type="submit" value="Refresh"/>
+      </form>
+    </td>
+  </tr>  
+</table>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerHelp.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerHelp.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerHelp.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerHelp.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1 @@
+Displays all the available databases and their tables and displays the contents of the tables. From the main window, to view the tables in a database, click on the database link. This will show all the tables in the database. To view the contents of the tables, click on the "View Contents" link. At the bottom of the DB Viewer window pane there will be links to take the user back to other views, e.g., "View Databases" and/or "View Tables."
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerHelp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerMaximized.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerMaximized.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerMaximized.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerMaximized.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1 @@
+<%@ include file="listDatabases.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerMaximized.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBHelp.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBHelp.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBHelp.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBHelp.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1 @@
+This page provides information about the internal database, such as, the product name, the version of the database, the supported functions and the supported SQL commands, among other things. Scroll to the botton to see all the information.
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBHelp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBMaximized.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBMaximized.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBMaximized.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBMaximized.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1 @@
+<%@ include file="internalDBNormal.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBMaximized.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBNormal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBNormal.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBNormal.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBNormal.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,169 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<%--
+Choose DB: &nbsp; 
+<c:choose>
+  <c:when test="${(param.rdbms == '1') || (empty param.rdbms)}">
+    Derby
+  </c:when>
+  <c:otherwise>
+    <a href="<portlet:actionURL portletMode="view">
+               <portlet:param name="rdbms" value="1" />
+             </portlet:actionURL>">Derby
+    </a>
+  </c:otherwise>
+</c:choose>
+
+&nbsp;|&nbsp;
+
+<c:choose>
+  <c:when test="${param.rdbms == '2'}">
+    MS SQL
+  </c:when>
+  <c:otherwise>
+    <a href="<portlet:actionURL portletMode="view">
+               <portlet:param name="rdbms" value="2" />
+             </portlet:actionURL>">MS SQL
+    </a>
+  </c:otherwise>
+</c:choose>
+--%>
+
+<table width="100%">
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">DB</td> 
+  </tr> 
+  <tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>DB Product Name</td> 
+    <td class="LightBackground" width="80%">${internalDB['DB Product Name']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">DB Product Version</td> 
+    <td class="MediumBackground">${internalDB['DB Product Version']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">DB Major Version</td> 
+    <td class="LightBackground">${internalDB['DB Major Version']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">DB Minor Version</td> 
+    <td class="MediumBackground">${internalDB['DB Minor Version']}</td> 
+  </tr> 
+</table>
+<br>
+<table width="100%">
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Driver</td> 
+  </tr> 
+  <tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>Driver Name</td> 
+    <td class="LightBackground" width="80%">${internalDB['Driver Name']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Driver Version</td> 
+    <td class="MediumBackground">${internalDB['Driver Version']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">Driver Major Version</td> 
+    <td class="LightBackground">${internalDB['Driver Major Version']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Driver Minor Version</td> 
+    <td class="MediumBackground">${internalDB['Driver Minor Version']}</td> 
+  </tr> 
+</table>
+<br>  
+<table width="100%">
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">JDBC</td> 
+  </tr> 
+  <tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>JDBC Major Version</td> 
+    <td class="LightBackground" width="80%">${internalDB['JDBC Major Version']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">JDBC Minor Version</td> 
+    <td class="MediumBackground">${internalDB['JDBC Minor Version']}</td> 
+  </tr> 
+</table>
+<br>
+<table width="100%">
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Etc</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>URL</td> 
+    <td class="LightBackground" width="80%">${internalDB['URL']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Username</td> 
+    <td class="MediumBackground">${internalDB['Username']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">Read Only</td> 
+    <td class="LightBackground">${internalDB['Read Only']}</td> 
+  </tr> 
+</table>
+<br>
+<table width="100%">
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Functions</td> 
+  </tr> 
+  <tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>Numeric Functions</td> 
+    <td class="LightBackground" width="80%">${internalDB['Numeric Functions']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">String Functions</td> 
+    <td class="MediumBackground">${internalDB['String Functions']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">System Functions</td> 
+    <td class="LightBackground">${internalDB['System Functions']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Time Date Functions</td> 
+    <td class="MediumBackground">${internalDB['Time Date Functions']}</td> 
+  </tr> 
+</table>
+<br>  
+<table width="100%">
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">SQL</td> 
+  </tr> 
+  <tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>Supported SQL Keywords</td> 
+    <td class="LightBackground" width="80%">${internalDB['Supported SQL Keywords']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Supported Types</td> 
+    <td class="MediumBackground">${internalDB['Supported Types']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">Table Types</td> 
+    <td class="LightBackground">${internalDB['Table Types']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Schemas</td> 
+    <td class="MediumBackground">${internalDB['Schemas']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">SQL State Type</td> 
+    <td class="LightBackground">${internalDB['SQL State Type']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Default Transaction Isolation</td> 
+    <td class="MediumBackground">${internalDB['Default Transaction Isolation']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">Result Set Holdability</td> 
+    <td class="LightBackground">${internalDB['Result Set Holdability']}</td> 
+  </tr> 
+</table>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBNormal.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/listDatabases.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/listDatabases.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/listDatabases.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/listDatabases.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,50 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet" %>
+<portlet:defineObjects/>
+
+<center><b>Database List</b></center>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" colspan="1" align="center">Databases</td>
+    <td class="DarkBackground" colspan="2" align="center">View Tables</td>
+  </tr>
+  <%-- Check if there are databases to display  --%>
+  <c:choose>
+    <c:when test="${fn:length(databases) == 0}">
+      <tr>
+        <td class="LightBackground" colspan="3" align="center">*** No databases ***</td>
+      </tr>
+    </c:when>
+    <c:otherwise>
+      <c:forEach var="db" items="${databases}" varStatus="status">
+      <jsp:useBean type="javax.servlet.jsp.jstl.core.LoopTagStatus" id="status" />
+      <tr>
+        <c:choose>
+          <c:when test="<%= status.getCount() % 2 == 1 %>">
+            <c:set var="tdClass" scope="page" value="LightBackground" />
+          </c:when>
+      	  <c:otherwise>
+      	    <c:set var="tdClass" scope="page" value="MediumBackground" />
+      	  </c:otherwise>
+      	</c:choose>
+        <td class="<c:out value='${tdClass}' />"><c:out value="${db}" /></td>
+        <td class="<c:out value='${tdClass}' />" align="center">
+          <a href="<portlet:actionURL portletMode="view">
+                     <portlet:param name="action" value="listTables" />
+                     <portlet:param name="db" value="${db}" />
+                     <portlet:param name="viewTables" value="application" />
+                   </portlet:actionURL>">Application</a>
+        </td>
+        <td class="<c:out value='${tdClass}' />" align="center">
+          <a href="<portlet:actionURL portletMode="view">
+                     <portlet:param name="action" value="listTables" />
+                     <portlet:param name="db" value="${db}" />
+                     <portlet:param name="viewTables" value="system" />
+                   </portlet:actionURL>">System</a>
+        </td>
+      </tr>
+      </c:forEach>
+    </c:otherwise>
+  </c:choose>
+</table>

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/listDatabases.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/listTables.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/listTables.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/listTables.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/listTables.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,91 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
+<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet" %>
+<portlet:defineObjects/>
+
+<%-- TODO: Check if datasource is created --%>
+<%-- Datasource --%>
+<%-- Datasource --%>
+<c:if test="${ds == null}">
+    <%-- Create the connection manually --%>
+    <sql:setDataSource
+      var="ds"
+      driver="org.apache.derby.jdbc.EmbeddedDriver"
+      url="jdbc:derby:${db};create=true"
+      user=""
+      password=""
+    />
+</c:if>
+
+<%-- Select statement --%>
+<sql:transaction dataSource="${ds}">
+  <sql:query var="tables">
+    <%-- Set select statement depending on the view table type --%>
+    <c:choose>
+      <c:when test="${viewTables == 'application'}">
+        select TABLENAME from SYS.SYSTABLES where TABLETYPE='T'
+      </c:when>
+      <c:when test="${viewTables == 'system'}">
+        select TABLENAME from SYS.SYSTABLES where TABLETYPE='S' and TABLENAME!='SYSDUMMY1'
+      </c:when>
+    </c:choose>
+  </sql:query>
+</sql:transaction>
+
+<center><b>DB: <c:out value="${db}" /></b></center>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" colspan="2" align="center">Tables</td>
+  </tr>
+  <%-- Check if there are tables to display  --%>
+  <c:choose>
+    <c:when test="${tables.rowCount == 0}">
+      <tr>
+        <td class="LightBackground" colspan="2" align="center">*** No tables ***</td>
+      </tr>
+    </c:when>
+    <c:otherwise>
+      <%-- Get the value of each column while iterating over rows --%>
+      <c:forEach var="row" items="${tables.rowsByIndex}" varStatus="status">
+      <jsp:useBean type="javax.servlet.jsp.jstl.core.LoopTagStatus" id="status" />
+      <tr>
+        <%-- Select table data class --%>
+        <c:choose>
+          <c:when test="<%= status.getCount() % 2 == 1 %>">
+            <c:set var="tdClass" scope="page" value="LightBackground" />
+          </c:when>
+      	  <c:otherwise>
+      	    <c:set var="tdClass" scope="page" value="MediumBackground" />
+      	  </c:otherwise>
+      	</c:choose>
+        <c:forEach var="column" items="${row}">
+        <td class="<c:out value='${tdClass}' />"><c:out value="${column}" /></td>
+        <td class="<c:out value='${tdClass}' />" align="center">
+          <%-- Select table prefix --%>
+          <c:choose>
+            <c:when test="${viewTables == 'application'}">
+              <c:set var="tblPrefix" scope="page" value="" />
+            </c:when>
+            <c:when test="${viewTables == 'system'}">
+              <c:set var="tblPrefix" scope="page" value="SYS." />
+            </c:when>
+          </c:choose>
+          <a href="<portlet:actionURL portletMode="view">
+                     <portlet:param name="action" value="viewTableContents" />
+                     <portlet:param name="db" value="${db}" />
+                     <portlet:param name="tbl" value="${tblPrefix}${column}" />
+                     <portlet:param name="viewTables" value="${viewTables}" />
+                   </portlet:actionURL>">View Contents</a>
+        </td>
+        </c:forEach>
+      </tr>
+      </c:forEach>
+    </c:otherwise>
+  </c:choose>
+</table>
+
+<br>
+<a href="<portlet:actionURL portletMode="view">
+           <portlet:param name="action" value="listDatabases" />
+         </portlet:actionURL>">View Databases
+</a>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/listTables.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLHelp.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLHelp.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLHelp.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLHelp.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,25 @@
+ <p>Allows the user to run SQL commands to manipulate the data in the 
+  tables, create a new database or delete a database. The user can 
+  enter the SQL commands in the &quot;SQL Command(s)&quot; text box and click 
+  on &quot;Run SQL.&quot;<br>
+  </p>
+<table width="100%"  border="0" cellspacing="0" cellpadding="0">
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; color: #1E1E52;" width="150" align="right" valign="top">Create DB: / <br>      
+      <img src="/console/images/create.gif" /></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Enter the name of the new database to be created, then click on the &quot;Create&quot; button.</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; color: #1E1E52;" width="150" align="right" valign="top">Delete DB: / <br>      
+      <img src="/console/images/delete.gif" /></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Delete an existing database, by selecting it from the pull-down menu and then clicking on &quot;Delete.&quot;</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; color: #1E1E52;" width="150" align="right" valign="top">Use DB:</td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Select a database to update from the pull-down menu.</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; color: #1E1E52;" width="150" align="right" valign="top"><img src="/console/images/run_sql.gif" /></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Enter the SQL commands, separated by semicolons, in the "SQL Command/s" text box. To run the SQL command(s), click on the "Run SQL" button.</td>
+  </tr>
+</table>

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLHelp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLMaximized.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLMaximized.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLMaximized.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLMaximized.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1 @@
+<%@ include file="runSQLNormal.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLMaximized.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLNormal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLNormal.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLNormal.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLNormal.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,135 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet" %>
+<portlet:defineObjects/>
+
+<form action="<portlet:actionURL portletMode='view'/>" method="post">
+
+<table width="100%"  border="0">
+  <tr>
+    <td><div align="right">Create DB:</div></td>
+    <td><input name="createDB" type="text" size="30">&nbsp;
+      <input type="submit" name="action" value="Create"></td>
+    </tr>
+  <tr>
+    <td><div align="right">Delete DB:</div></td>
+    <td>
+      <select name="deleteDB">
+      <c:forEach var="db" items="${databases}" varStatus="status">
+        <option value="${db}">${db}</option>
+      </c:forEach>
+      </select>&nbsp;
+      <input type="submit" name="action" value="Delete" onClick="javascript:return confirm('Are you sure you want to delete this database?')">
+    </td>
+  </tr>
+  <tr>
+    <td><div align="right">Use DB:</div></td>
+    <td>
+      <select name="useDB">
+      <c:forEach var="db" items="${databases}" varStatus="status">
+        <option value="${db}">${db}</option>
+      </c:forEach>
+      </select>&nbsp;
+      <input type="submit" name="action" value="Run SQL"></td>
+  </tr>
+  <tr>
+    <td></td>
+    <td><div align="left">SQL Command/s:</td>
+  </tr>
+  <tr>
+    <td></td>
+    <td><textarea name="sqlStmts" cols="65" rows="15"><c:out value="${sqlStmts}" /></textarea></td>
+  </tr>
+</table>
+
+<%-- Display action result --%>
+<c:if test="${!empty actionResult}">
+  Result:
+  <hr>
+  <c:out value="${actionResult}" />
+  <hr>
+</c:if>
+
+<table width="100%"  border="0">
+  <tr>
+    <td></td>
+    <td>Note:</td>
+  </tr>
+  <tr>
+    <td></td>
+    <td>1) Use ';' to separate multiple statements</td>
+  </tr>
+  <tr>
+    <td></td>
+    <td>2) Query results will be displayed for single 'Select' statement</td>
+  </tr>
+  <tr>
+    <td></td>
+    <td>3) Use single quotes to encapsulate literal strings</td>
+  </tr>
+</table>
+<br>
+
+<%-- Display query result from single select statement --%>
+<c:if test="${!empty singleSelectStmt}">
+<%-- Datasource --%>
+<c:if test="${ds == null}">
+    <%-- Create the connection manually --%>
+    <sql:setDataSource
+      var="ds"
+      driver="org.apache.derby.jdbc.EmbeddedDriver"
+      url="jdbc:derby:${useDB};create=true"
+      user=""
+      password=""
+    />
+</c:if>
+
+<%-- Select statement --%>
+<sql:transaction dataSource="${ds}">
+  <sql:query var="table">
+    <%= request.getAttribute("singleSelectStmt") %>
+  </sql:query>
+</sql:transaction>
+
+<center><b>Query Result</b></center>
+<table width="100%">
+  <tr>
+  <%-- Get the column names for the header of the table --%>
+  <c:forEach var="columnName" items="${table.columnNames}">
+    <td class="DarkBackground"><c:out value="${columnName}" /></td>
+  </c:forEach>
+  </tr>
+  
+  <%-- Check if there are table data to display --%>
+  <c:choose>
+    <c:when test="${table.rowCount == 0}">
+      <tr>
+        <td class="LightBackground" colspan="<c:out value='${fn:length(table.columnNames)}' />" align="center">*** Empty ***</td>
+      </tr>
+    </c:when>
+    <c:otherwise>
+      <%-- Get the value of each column while iterating over rows --%>
+      <c:forEach var="row" items="${table.rowsByIndex}" varStatus="status">
+        <jsp:useBean type="javax.servlet.jsp.jstl.core.LoopTagStatus" id="status" />
+        <tr>
+        <c:choose>
+          <c:when test="<%= status.getCount() % 2 == 1 %>">
+            <c:forEach var="column" items="${row}">
+              <td class="LightBackground"><c:out value="${column}" /></td>
+            </c:forEach>
+          </c:when>
+      	  <c:otherwise>
+            <c:forEach var="column" items="${row}">
+              <td class="MediumBackground"><c:out value="${column}" /></td>
+            </c:forEach>
+      	  </c:otherwise>
+      	</c:choose>
+        </tr>
+      </c:forEach>
+    </c:otherwise>
+  </c:choose>
+</table>
+</c:if>
+
+</form>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLNormal.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/viewTableContents.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/viewTableContents.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/viewTableContents.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/viewTableContents.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,77 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet" %>
+<portlet:defineObjects/>
+
+<%-- TODO: Check if datasource is created --%>
+<%-- Datasource --%>
+<c:if test="${ds == null}">
+    <%-- Create the connection manually --%>
+    <sql:setDataSource
+      var="ds"
+      driver="org.apache.derby.jdbc.EmbeddedDriver"
+      url="jdbc:derby:${db};create=true"
+      user=""
+      password=""
+    />
+</c:if>
+
+<%-- Select statement --%>
+<sql:transaction dataSource="${ds}">
+  <sql:query var="table">
+    select * from ${tbl}
+  </sql:query>
+</sql:transaction>
+
+<center><b>DB: <c:out value="${db}" />&nbsp;&nbsp;&nbsp;Table: <c:out value="${tbl}" /></b></center>
+<table width="100%">
+  <tr>
+  <%-- Get the column names for the header of the table --%>
+  <c:forEach var="columnName" items="${table.columnNames}">
+    <td class="DarkBackground"><c:out value="${columnName}" /></td>
+  </c:forEach>
+  </tr>
+  
+  <%-- Check if there are table data to display --%>
+  <c:choose>
+    <c:when test="${table.rowCount == 0}">
+      <tr>
+        <td class="LightBackground" colspan="<c:out value='${fn:length(table.columnNames)}' />" align="center">*** Empty ***</td>
+      </tr>
+    </c:when>
+    <c:otherwise>
+      <%-- Get the value of each column while iterating over rows --%>
+      <c:forEach var="row" items="${table.rowsByIndex}" varStatus="status">
+        <jsp:useBean type="javax.servlet.jsp.jstl.core.LoopTagStatus" id="status" />
+        <tr>
+        <c:choose>
+          <c:when test="<%= status.getCount() % 2 == 1 %>">
+            <c:forEach var="column" items="${row}">
+              <td class="LightBackground"><c:out value="${column}" /></td>
+            </c:forEach>
+          </c:when>
+      	  <c:otherwise>
+            <c:forEach var="column" items="${row}">
+              <td class="MediumBackground"><c:out value="${column}" /></td>
+            </c:forEach>
+      	  </c:otherwise>
+      	</c:choose>
+        </tr>
+      </c:forEach>
+    </c:otherwise>
+  </c:choose>
+</table>
+
+<br>
+<a href="<portlet:actionURL portletMode="view">
+           <portlet:param name="action" value="listTables" />
+           <portlet:param name="db" value="${db}" />
+           <portlet:param name="viewTables" value="${viewTables}" />
+         </portlet:actionURL>">View Tables
+</a>
+&nbsp;&nbsp;|&nbsp;&nbsp;
+<a href="<portlet:actionURL portletMode="view">
+           <portlet:param name="action" value="listDatabases" />
+         </portlet:actionURL>">View Databases
+</a>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/internaldb/viewTableContents.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/addACF.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/addACF.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/addACF.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/addACF.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,92 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet" %>
+<portlet:defineObjects/>
+<script language="javascript">
+<!--
+	function doCheck(){
+		var poolMax = <portlet:namespace/>.poolMaxSize.value;
+        var block = <portlet:namespace/>.blocking.value;
+        
+        if(isNaN(parseFloat(poolMax))){
+            alert("Please enter a numeric value for Pool Max Capacity.");
+            return false;
+        }
+        if(isNaN(parseFloat(block))){
+            alert("Please enter a numeric value for Blocking Timeout.");
+            return false;
+        }
+        return true;
+	}
+//-->
+</script>
+
+<form name="<portlet:namespace/>" action="<portlet:actionURL/>" onSubmit="return doCheck();">
+<input type="hidden" name="mode" value="addACF">
+<table width="100%%"  border="0">
+  <tr>
+    <td width="16%"> <div align="right">Name: </div></td>
+    <td width="84%"><input name="acfName" type="text" size="50"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> <p>Name of this ActiveMQ Connection Factory.</td>
+  </tr>
+  <tr>
+    <td><div align="right"> JNDI Name: </div></td>
+    <td> <p>
+      <input name="jndiName" type="text" size="50">
+    </td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> <p> JNDI path to bind this ActiveMQ Connection Factory.</td>
+  </tr>
+  <tr>
+    <td> <div align="right">Server URL: </div></td>
+    <td><input name="serverURL" type="text" size="50"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> URL of the server to connect to.</td>
+  </tr>
+  <tr>
+    <td> <div align="right">User Name: </div></td>
+    <td><input name="userName" type="text" size="50"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> User name to use.</td>
+  </tr>
+  <tr>
+    <td> <div align="right">Password: </div></td>
+    <td><input name="pword" type="password"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> Password corresponding to user name used. </td>
+  </tr>
+  <tr>
+    <td> <div align="right">Pool Max Capacity: </div></td>
+    <td><input name="poolMaxSize" type="text" size="20" value="0"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> Maximum connection pool size. </td>
+  </tr>
+  <tr>
+    <td> <div align="right">Blocking Timeout (milliseconds): </div></td>
+    <td><input name="blocking" type="text" size="20" value="0"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> Blocking timeout in milliseconds. </td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td><input name="submit" type="submit" value="Create"></td>
+  </tr>
+</table>
+</form>
+<a href='<portlet:actionURL portletMode="view">
+    <portlet:param name="mode" value="list" />
+    </portlet:actionURL>'>List Connection Factories</a>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/addACF.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/config.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/config.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/config.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/config.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,41 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+<script language="javascript">
+<!--
+	function doSave(){
+		document.datasource_form.action="<portlet:actionURL portletMode="view"/>";
+		document.datasource_form.mode.value="save";
+		return true;
+	}
+	function doCancel(){
+		document.datasource_form.action="<portlet:actionURL portletMode="view"/>";
+		document.datasource_form.mode.value="detail";
+		return true;
+	}
+//-->
+</script>
+	
+<form name="datasource_form">
+<input type="hidden" name="name" value="${ds.objectName}" />
+<input type="hidden" name="mode" value="detail" />
+
+<br>
+<strong>Connection Name:</strong>&nbsp;${ds.jndiName}
+<br><br>
+<table width="100%">
+    <tr><td><strong>UserName</strong></td><td><input type="text" name="UserName" value="${ds.userName}" size="75" /></td></tr>
+    <tr><td><strong>Password</strong></td><td><input type="password" name="password1" size="75" /></td></tr>
+    <tr><td><strong>Repeat&nbsp;Password</strong></td><td><input type="password" name="password2" size="75" /></td></tr>
+<c:if test="${badPassword}"><tr><td colspan=2">Passwords did not match</td></tr></c:if>
+    <tr><td><strong>ServerUrl</strong></td><td><input type="text" name="ServerUrl" value="${ds.serverUrl}" size="75" /></td></tr>
+    <!--<tr><td><strong>Clientid</strong></td><td><input type="text" name="Clientid" value="${ds.clientid}" size="75" /></td></tr>
+
+
+    <tr><td><strong>Partition Max Size</strong></td><td><input type="text" name="partitionMaxSize" value="${connectionManagerInfo.partitionMaxSize}" size="75" /></td></tr>
+    <tr><td><strong>Partition Min Size</strong></td><td><input type="text" name="partitionMinSize" value="${connectionManagerInfo.partitionMinSize}" size="75" /></td></tr>
+    <tr><td><strong>Blocking Timeout (Milliseconds)</strong></td><td><input type="text" name="blockingTimeoutMilliseconds" value="${connectionManagerInfo.blockingTimeoutMilliseconds}" size="75" /></td></tr>
+    <tr><td><strong>Idle Timeout (Minutes)</strong></td><td><input type="text" name="idleTimeoutMinutes" value="${connectionManagerInfo.idleTimeoutMinutes}" size="75" /></td></tr>-->
+    <tr><td colspan="2"><input type="submit" name="btnSave" value="Save" onClick="doSave();"/><input type="submit" name="btnCancel" value="Cancel" onClick="doCancel();"></td></tr>
+</table>
+</form>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/config.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/detail.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/detail.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/detail.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/detail.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,33 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+<form name="datasource_form" action="<portlet:actionURL portletMode="view"/>">
+<br>
+<strong>Connection Name:</strong>&nbsp;${attributeMap.name}
+<br><br>
+<table width="100%">
+        <tr>
+            <th>Property</th>
+            <th>Value</th>
+        </tr>
+    <c:forEach var="entry" items="${attributeMap}">
+        <tr>
+            <td><strong>${entry.key}</strong></td>
+            <td>${entry.value}</td>
+        </tr>
+    </c:forEach>
+    		<tr>
+    			<td colspan="2">
+    				<table width="100%">
+    					<tr>
+    						<td width="10%">&nbsp</td>
+    						<td>
+    							<input type="submit" name="btnBack" value="Back to JMS Connection Factories">
+								</td>
+							</tr>
+						</table>
+					</td>
+				</tr>	
+</table>
+<input type="hidden" name="name" value="back">
+</form>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/detail.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/help.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/help.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/help.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/help.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,30 @@
+
+
+<p>This portlet displays the JMS connectors that are configured with the Geronimo server.</p>
+
+<table width="100%"  border="0" cellspacing="0" cellpadding="0">
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><span style="font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;">detail</span></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">This link provides details on the connector. Clicking on the details link will display information about the Connection Factory in Property/Value pairs. Click on the &quot;Back to JMS Connection Factories&quot; button to return to the main JMS Connection Factories page.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Name of the connection factory.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Global JNDI Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Physical name of the connection factory.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>State</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">The state of the connection, either &quot;Running&quot; or &quot;Stopped.&quot;</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><span style="font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;">test connection</span></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">This link can be used to test the connector. A result will be returned of either &quot;Connected&quot; or a failure message.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><span style="font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;">Add New JMS Connection Factory</span></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">This link brings up a form for adding a new connection factory. The fields are defined on the form.</td>
+  </tr>
+</table>

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/help.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,45 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+<table width="100%">
+    <tr>
+        <th>&nbsp;</th>
+        <th align="left">Name</th>
+        <th align="left">Global JNDI Name</th>
+        <th align="left">State</th>
+        <th align="left">Test Result</th>
+    </tr>
+    <c:forEach var="info" items="${cFactories}"><tr>
+        <td><a href='<portlet:renderURL>
+            <portlet:param name="name" value="${info.objectName}"/>
+            <portlet:param name="mode" value="detail"/>
+            </portlet:renderURL>'>detail</a>
+        </td>
+        <td>${info.name}</td>
+        <td>${info.jndiName}</td>
+        <td><c:choose>
+            <c:when test='${info.state == 0}'>Starting</c:when>
+            <c:when test='${info.state == 1}'>Running</c:when>
+            <c:when test='${info.state == 2}'>Stopping</c:when>
+            <c:when test='${info.state == 3}'>Stopped</c:when>
+            <c:when test='${info.state == 4}'>Failed</c:when>
+        </c:choose></td>
+        <td>
+        		<c:if test="${!info.working}">
+        			<a href='<portlet:renderURL>
+        					<portlet:param name="name" value="${info.objectName}"/>
+        					<portlet:param name="mode" value="list"/>
+        					<portlet:param name="check" value="true"/></portlet:renderURL>'>
+        					test connection
+        			</a>
+        		</c:if>
+        		<c:if test="${info.working}">
+        			${info.message}
+        		</c:if>
+        </td>
+    </tr></c:forEach>
+</table>
+<br>
+<a href="<portlet:actionURL portletMode="view">
+    <portlet:param name="mode" value="addACF" />
+    </portlet:actionURL>">Add New JMS Connection Factory</a>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/connectionhelp.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/connectionhelp.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/connectionhelp.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/connectionhelp.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,32 @@
+
+
+<p>This portlet displays the JMS connectors that are configured with 
+the Geronimo server and allows the user to add datasources as well.</p>
+<table width="100%"  border="0" cellspacing="0" cellpadding="0">
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;" width="150" align="right" valign="top">detail</td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">This link provides details on the connector.  Clicking on the details link will display information about the Connection Factory in Property/Value pairs. Click on &quot;Back to Datasources&quot; to return to the main JMS Connection Factories page.</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 5px 10px" width="150" align="right" valign="top"><strong>Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Name of the Connection Factory.</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 5px 10px" width="150" align="right" valign="top"><strong>Global JNDI Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Physical name of the connection factory.</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 5px 10px" width="150" align="right" valign="top"><strong>State</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">The state of the connection, either &quot;Running&quot; or 
+&quot;Stopped.&quot;</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;" width="150" align="right" valign="top">test connection</td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">This link can be used to test the connector. A result will be returned of either &quot;Connected&quot; or 
+a failure message.</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;" width="150" align="right" valign="top">Add New Datasource</td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Clicking on this link allows the user to add a new datasource. On the add new datasource form, fill in the fields and click on the Create button to add the new datasource. The fields are defined on the form itself.</td>
+  </tr>
+</table>

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/connectionhelp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/createdestination.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/createdestination.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/createdestination.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/createdestination.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,91 @@
+       <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+       <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+       <portlet:defineObjects/>
+		<script language="JavaScript">
+		var <portlet:namespace/>formName = "<portlet:namespace/>createDestinationForm";
+		var <portlet:namespace/>requiredFields = new Array("destinationMessageDestinationName","destinationPhysicalName");
+		function <portlet:namespace/>validateForm(){
+		    return (textElementsNotEmpty(<portlet:namespace/>formName,<portlet:namespace/>requiredFields));
+		}
+		</script>
+
+       <script>
+
+       function <portlet:namespace/>backToDestinationList(){
+
+              document.<portlet:namespace/>createDestinationForm.action = "<portlet:renderURL portletMode="view"><portlet:param name="processAction" value="viewDestinations"/></portlet:renderURL>";
+              document.<portlet:namespace/>createDestinationForm.submit();
+
+           return true;
+       }
+       </script>
+
+       <br>
+
+        <form name="<portlet:namespace/>createDestinationForm" action="<portlet:actionURL portletMode="view"/>" >
+        <input type=hidden name="processaction" value="createDestination"  >
+       <table>
+
+       <tr>
+         <th colspan="2" align=LEFT>
+            Add Queue/Topic
+         </th>
+
+       </tr>
+         <tr>
+             <td  align=LEFT>
+                  Message Destination Name
+             </td>
+             <td  align=LEFT>
+                   <input type="text" name="destinationMessageDestinationName" value=""/>
+             </td>
+         </tr>
+         <tr>
+             <td  align=LEFT>
+                   Destination Physical Name
+             </td>
+             <td  align=LEFT>
+                   <input type="text" name="destinationPhysicalName" value=""/>
+             </td>
+         </tr>
+         <tr>
+             <td  align=LEFT>
+                   Type
+             </td>
+             <td  align=LEFT>
+               <select name="destinationType">
+                  <option value="javax.jms.Queue" selected="true" >QUEUE</option>
+                  <option value="javax.jms.Topic" >TOPIC</option>
+               </select>
+             </td>
+         </tr>
+         <tr>
+             <td  align=LEFT>
+                   Application Name
+             </td>
+             <td  align=LEFT>
+                   <input type="text" name="destinationApplicationName" value="null"/>
+               </select>
+             </td>
+         </tr>
+         <tr>
+             <td  align=LEFT>
+                    Module Name
+             </td>
+             <td  align=LEFT>
+                   <input type="text" name="destinationModuleName" value="defaultJMS"/>
+               </select>
+             </td>
+         </tr>
+         <tr>
+                <td colspan="2" align="center" class="formElement">
+    			<input type="submit" value="Submit" 
+	                onclick="return <portlet:namespace/>validateForm()">
+ 				<input type="reset" value="Clear"> 
+				<input type="submit" value="Back"  onClick="<portlet:namespace/>backToDestinationList();">
+                </td>
+         </tr>
+        </table>
+
+        </form>
+

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/createdestination.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/edit.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/edit.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/edit.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/edit.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1 @@
+<%@ include file="createdestination.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/edit.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/help.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/help.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/help.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/help.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,41 @@
+
+
+<p>This portlet is used to create and remove queues/topics.</p>
+<p><span style="font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;">Add Queue/Topic</span></p>
+<p>To create a queue/topic click on the &quot;Add Queue/Topic&quot; link. This link brings up a form that allows the user to add a queue or a topic. Fill in the text boxes on the form and click on the &quot;Submit&quot; button. The fields and buttons on the form are defined as follows:</p>
+<table width="100%"  border="0" cellspacing="0" cellpadding="0">
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Message Destination Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">The name of the queue or topic. This is the name used in the admin object gbean name and is linked to by &lt;message-destination-link&gt; in the geronimo-jetty.xml plan.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Destination Physical Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">The name of the connection factory that ActiveMQ knows about.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Type</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">The type of message, either queue or topic.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Application Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">This is the &quot;configID&quot; in the geronimo-jetty.xml file. Or this can be set to the string &quot;null&quot; if the admin object is deployed stand-alone. By default this field contains the string &quot;null.&quot;</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Module Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">If the module is deployed stand-alone this field is the &quot;configID&quot; in the geronimo-jetty.xml file. If it is deployed in an application (ear) this field should be the path of the module inside the ear, such as, myResourceAdapter.rar. By default this field contains &quot;defaultJMS.&quot;</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><img src="/console/images/submit.gif" /></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Creates new queue or topic and returns the user to the JMS Destination Manager main page.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><img src="/console/images/clear.gif" /></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Clears all fields and resets them to the defaults.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><img src="/console/images/back.gif" /></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Returns the user to the &quot;JMS Destination Manager&quot; main page without adding a queue or a topic.</td>
+  </tr>
+</table>
+<p>On the main JMS Destination Manager pane, there is an &quot;Actions&quot; column that provides three actions which can be performed on a queue or topic. To remove a queue or topic, click on the &quot;remove&quot; link to the right of the queue/topic to be removed. To view a message, click on the &quot;view messages&quot; link to the right of the queue/topic. To view the dead letter queue, click on the &quot;view DLQ&quot; link.</p>
+<p> <strong>Note:</strong> Queues/Topics with no messages will be removed after restarting the server.</p>

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/help.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/statistics.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/statistics.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/statistics.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/statistics.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,52 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<br>
+<a href="<portlet:renderURL portletMode="view"><portlet:param name="processAction" value="viewDestinations"/></portlet:renderURL>">Back To Destination List </a>
+<br><br>
+ <table width="100%">
+        <tr>
+           <th colspan="2"> Statisctic for <c:out value="${statistics.destinationName}"/></th>
+        </tr>
+        <tr>
+            <td width="250">Description</td>
+            <td width="200"><c:out value="${statistics.description}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Current Depth</td>
+            <td width="200"><c:out value="${statistics.currentDepth}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Open Output Count</td>
+            <td width="200"><c:out value="${statistics.openOutputCount}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Open Input Count</td>
+            <td width="200"><c:out value="${statistics.openInputCount}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Inhibit Get</td>
+            <td width="200"><c:out value="${statistics.inhibitGet}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Inhibit Put</td>
+            <td width="200"><c:out value="${statistics.inhibitPut}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Sharable</td>
+            <td width="200"><c:out value="${statistics.sharable}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Maximum Depth</td>
+            <td width="200"><c:out value="${statistics.maximumDepth}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Trigger Control</td>
+            <td width="200"><c:out value="${statistics.triggerControl}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Maximum Message Length</td>
+            <td width="200"><c:out value="${statistics.maximumMessageLength}"/></td>
+        </tr>
+</table>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/statistics.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/view.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/view.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/view.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/view.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,80 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<br>
+<table>
+<tr>
+<td align=LEFT colspan="3"> <a href="<portlet:renderURL portletMode="view"><portlet:param name="processAction" value="createDestination"/></portlet:renderURL>">Add Queue/Topic </a> </td>
+</tr>
+<c:if test="${!destinationsMsg}">
+
+   <tr>
+      <td colspan="3">${destinationsMsg}</td>
+   </tr>
+
+</c:if>
+<tr>
+  <th>
+     Message Destination Name
+  </th>
+  <th>
+     Physical Name
+  </th>
+  <th>
+     Type
+  </th>
+  <th>
+     Application Name
+  </th>
+  <th>
+     Module Name
+  </th>
+  <th>
+     Actions
+  </th>
+</tr>
+  <c:forEach var="destination" items="${destinations}">
+  <tr>
+      <td  align=CENTER>
+            <c:out value="${destination.name}"/>
+      </td>
+      <td  align=CENTER>
+            <c:out value="${destination.physicalName}"/>
+      </td>
+      <td  align=CENTER>
+            <c:out value="${destination.type}"/>
+            &nbsp;
+      </td>
+      <td  align=CENTER>
+            <c:out value="${destination.applicationName}"/>
+      </td>
+      <td  align=CENTER>
+            <c:out value="${destination.moduleName}"/>
+      </td>
+      <td  align=CENTER>
+		<table border="0">
+		<tr>
+         <td>
+		<c:if test="${destination.removable}">
+         <a href="<portlet:actionURL portletMode="view"><portlet:param name="processaction" value="removeDestination"/><portlet:param name="destinationConfigURI" value="${destination.configURI}"/><portlet:param name="destinationType" value="${destination.type}"/></portlet:actionURL>">remove </a>
+         </c:if>
+         </td>
+         <!--a href="<portlet:actionURL portletMode="view"><portlet:param name="processaction" value="statistics"/><portlet:param name="destinationName" value="${destination.name}"/><portlet:param name="destinationType" value="${destination.type}"/></portlet:actionURL>">statistics</a-->
+         <td>
+		<c:if test="${destination.viewable}">
+         <a href="<portlet:renderURL portletMode="view"><portlet:param name="processAction" value="viewMessages"/><portlet:param name="destinationName" value="${destination.name}"/><portlet:param name="destinationApplicationName" value="${destination.applicationName}"/><portlet:param name="destinationModuleName" value="${destination.moduleName}"/><portlet:param name="destinationType" value="${destination.type}"/></portlet:renderURL>">view messages</a>
+         </c:if>
+         </td>
+         <td>
+		<c:if test="${destination.viewable}">
+         <a href="<portlet:renderURL portletMode="view"><portlet:param name="processAction" value="viewDLQ"/><portlet:param name="destinationName" value="${destination.name}"/><portlet:param name="destinationApplicationName" value="${destination.applicationName}"/><portlet:param name="destinationModuleName" value="${destination.moduleName}"/><portlet:param name="destinationType" value="${destination.type}"/></portlet:renderURL>">view DLQ</a></td>
+         </c:if>
+		</tr>		
+		</table>
+
+      </td>
+
+  </tr>
+  </c:forEach>
+ </table>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/view.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewDLQ.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewDLQ.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewDLQ.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewDLQ.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,57 @@
+<%@ page import="javax.jms.Message" %>
+<%@ page import="java.util.List" %>
+<%@ page import="java.util.Iterator" %>
+
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+
+<br>
+
+<strong>Dead Letter Queue Name: </strong><%=request.getAttribute("dlqname")%>
+<br>
+<table cellpadding="1" width="100%"> 	
+	<tr>
+		<td class="DarkBackground" align="center"><b>Priority</b></td>
+		<td class="DarkBackground" align="center"><b>MessageID</b></td>
+		<td class="DarkBackground" align="center"><b>Destination</b></td>
+		<td class="DarkBackground" align="center"><b>Timestamp</b></td>
+		<td class="DarkBackground" align="center"><b>Expiration</b></td>			
+		<td class="DarkBackground" align="center"><b>Type</b></td>
+		<td class="DarkBackground" align="center"><b>ReplyTo</b></td>
+		<td class="DarkBackground" align="center"><b>CorrelationID</b></td>
+	</tr>
+	<c:choose>
+		<c:when test="${fn:length(messages) > 0}"> 
+		<% 
+		String[] styles = {"LightBackground","MediumBackground"};
+        List messages = (List)request.getAttribute("dlqcontents");
+		int n = 0;
+		for(Iterator i = messages.iterator();i.hasNext();n++){
+			Message message = (Message)i.next();
+        %>
+
+  			<tr>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSPriority()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSMessageID()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSDestination()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=new java.util.Date(message.getJMSTimestamp())%></td>
+				<td class="<%=styles[n%2]%>" align="center">
+				<%=(message.getJMSExpiration()!=0)?new java.util.Date(message.getJMSExpiration()).toString():"No expiration"%>
+				</td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSType()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSReplyTo()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSCorrelationID()%></td>
+			</tr>
+		<%}%>
+       	</c:when>
+		<c:otherwise>
+		<tr>	
+			<td colspan="8" align="center">No messages in dead letter queue.</td>
+		</tr>
+       	</c:otherwise>
+	</c:choose>
+		<tr>	
+			<td colspan="8" align="center"><a href="<portlet:renderURL/>">Back</a> <a href="">Refresh</a></td>
+		</tr>
+</table>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewDLQ.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewmessages.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewmessages.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewmessages.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewmessages.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,54 @@
+<%@ page import="javax.jms.Message" %>
+<%@ page import="java.util.List" %>
+<%@ page import="java.util.Iterator" %>
+
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+
+<br>
+<table cellpadding="1" width="100%"> 	
+	<tr>
+		<td class="DarkBackground" align="center"><b>Priority</b></td>
+		<td class="DarkBackground" align="center"><b>MessageID</b></td>
+		<td class="DarkBackground" align="center"><b>Destination</b></td>
+		<td class="DarkBackground" align="center"><b>Timestamp</b></td>
+		<td class="DarkBackground" align="center"><b>Expiration</b></td>			
+		<td class="DarkBackground" align="center"><b>Type</b></td>
+		<td class="DarkBackground" align="center"><b>ReplyTo</b></td>
+		<td class="DarkBackground" align="center"><b>CorrelationID</b></td>
+	</tr>
+	<c:choose>
+		<c:when test="${fn:length(messages) > 0}"> 
+		<% 
+		String[] styles = {"LightBackground","MediumBackground"};
+        List messages = (List)request.getAttribute("messages");
+		int n = 0;
+		for(Iterator i = messages.iterator();i.hasNext();n++){
+			Message message = (Message)i.next();
+        %>
+
+  			<tr>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSPriority()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSMessageID()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSDestination()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=new java.util.Date(message.getJMSTimestamp())%></td>
+				<td class="<%=styles[n%2]%>" align="center">
+				<%=(message.getJMSExpiration()!=0)?new java.util.Date(message.getJMSExpiration()).toString():"No expiration"%>
+				</td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSType()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSReplyTo()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSCorrelationID()%></td>
+			</tr>
+		<%}%>
+       	</c:when>
+		<c:otherwise>
+		<tr>	
+			<td colspan="8" align="center">No messages in destination.</td>
+		</tr>
+       	</c:otherwise>
+	</c:choose>
+		<tr>	
+			<td colspan="8" align="center"><a href="<portlet:renderURL/>">Back</a> <a href="">Refresh</a></td>
+		</tr>
+</table>
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewmessages.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/logmanager/help.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/logmanager/help.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/logmanager/help.jsp (added)
+++ geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/logmanager/help.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,37 @@
+        <p>This portlet allows the user to select a configuration file for logging 
+  and/or change the log level and Refresh period. The default &quot;Config file&quot; is a standard log4j file and defines the location where the Geronimo Server
+  will log Geronimo output. The configuration file also defines the log 
+  level, the maximum log file size, and other attributes associated with 
+  logging. <br>
+  <br>
+  Gereonimo Console will display output from the Geronimo log file in the Server Log
+  Viewer portlet in the next window pane.</p>
+<table width="100%"  border="0" cellspacing="0" cellpadding="0">
+  <tr>
+    <td width="150" align="right" class="MediumBackground" style="padding: 10px 10px 10px 5px; color: #1E1E52;">Config File</td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px;">Another configuration file can be used by entering a 
+different path and file name in the Config file 
+text box.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" class="MediumBackground" style="padding: 10px 10px 10px 5px; color: #1E1E52;">Refresh Period</td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px;">By default Geronimo checks every 60 seconds to see if the
+configuration file has changed. The user may modify 
+the refresh period.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" class="MediumBackground" style="padding: 10px 10px 10px 5px; color: #1E1E52;">Log Level</td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px;">The user may select a level for logging from the 
+drop-down menu. </td>
+  </tr>
+  <tr>
+    <td width="150" align="right" class="MediumBackground" style="padding: 10px 10px 5px 10px; font-weight: bold;"><img src="/console/images/update.gif" width="65" height="20"></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px;">Make changes take effect.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" class="MediumBackground" style="padding: 10px 10px 5px 10px; font-weight: bold;"><img src="/console/images/reset.gif" width="56" height="20"></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px;">Resets the &quot;Config File&quot;, &quot;Refresh Period&quot; and 
+&quot;Log Level&quot; to their settings at the last &quot;Update.&quot;
+It does not reset to the Geronimo Server defaults.</td>
+  </tr>
+</table>

Propchange: geronimo/trunk/sandbox/console-standard/src/webapp/WEB-INF/view/logmanager/help.jsp
------------------------------------------------------------------------------
    svn:eol-style = native