You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dj...@apache.org on 2006/05/21 01:53:18 UTC

svn commit: r408109 - /geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/dbwizard/edit.jsp

Author: djencks
Date: Sat May 20 16:53:17 2006
New Revision: 408109

URL: http://svn.apache.org/viewvc?rev=408109&view=rev
Log:
GERONIMO-1762 allow awkward creation of derby xa pools from the console

Modified:
    geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/dbwizard/edit.jsp

Modified: geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/dbwizard/edit.jsp
URL: http://svn.apache.org/viewvc/geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/dbwizard/edit.jsp?rev=408109&r1=408108&r2=408109&view=diff
==============================================================================
--- geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/dbwizard/edit.jsp (original)
+++ geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/dbwizard/edit.jsp Sat May 20 16:53:17 2006
@@ -186,6 +186,31 @@
       </tr>
   </c:when>
   <c:otherwise> <%-- This is an XA or other connection factory that we don't have special parameter handling for --%>
+    <!-- ENTRY FIELD: Driver JAR -->
+  <c:choose> <%-- Can't set JAR after deployment because we don't know how to dig through dependencies yet --%>
+    <c:when test="${empty pool.abstractName}">
+      <tr>
+        <th><div align="right">Driver JAR:</div></th>
+        <td>
+          <select name="jar1">
+            <option></option>
+        <c:forEach var="jar" items="${jars}">
+            <option <c:if test="${jar == pool.jar1}">selected</c:if>>${jar}</option>
+        </c:forEach>
+          </select>
+        </td>
+      </tr>
+      <tr>
+        <td></td>
+        <td>The JAR holding the selected JDBC driver.  Should be installed under GERONIMO/repository/ (or
+          <input type="button" value="Download a Driver" onclick="document.<portlet:namespace/>DatabaseForm.mode.value='download';document.<portlet:namespace/>DatabaseForm.submit();return false;" />)
+        </td>
+      </tr>
+    </c:when>
+    <c:otherwise>
+      <input type="hidden" name="jar1" value="${pool.jar1}" />
+    </c:otherwise>
+  </c:choose>
     <c:forEach var="prop" items="${pool.properties}">
       <tr>
         <th><div align="right">${pool.propertyNames[prop.key]}:</div></th>