You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by va...@apache.org on 2007/06/12 16:35:16 UTC

svn commit: r546500 - in /geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector: editHTTP.jsp editHTTPS.jsp

Author: vamsic007
Date: Tue Jun 12 07:35:15 2007
New Revision: 546500

URL: http://svn.apache.org/viewvc?view=rev&rev=546500
Log:
GERONIMO-2481 WebServers portlet: Create/Edit Tomcat Connectors should support editing of all supported connector attributes
  o Introduced a checkbox to show/hide attributes newly added to the edit page in console.

Modified:
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/editHTTP.jsp
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/editHTTPS.jsp

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/editHTTP.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/editHTTP.jsp?view=diff&rev=546500&r1=546499&r2=546500
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/editHTTP.jsp (original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/editHTTP.jsp Tue Jun 12 07:35:15 2007
@@ -43,7 +43,7 @@
 <c:if test="${mode eq 'save'}">
   <input type="hidden" name="connectorURI" value="${connectorURI}">
 </c:if>
-<table width="100%%"  border="0">
+<table width="100%"  border="0">
 
 <!-- Current Task -->
 <c:choose>
@@ -105,6 +105,17 @@
   
 <%-- TOMCAT CONNECTOR SPECIFIC ATTRIBUTES: START --%>
 <c:if test="${server eq 'tomcat'}">
+  <tr>
+    <th align="right" width="175">Show&nbsp;all&nbsp;fields:</th>
+    <td><input type="checkbox" name="showAllFields" onClick="document.getElementById('<portlet:namespace/>propsDiv').style.display=this.checked ? 'block' : 'none';" CHECKED/></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td>Check this box to view and configure all attributes.  Uncheck to hide. Note: Hiding will not remove the field values.</td>
+  </tr>
+</table>
+<div id="<portlet:namespace/>propsDiv" style="display: block">
+<table width="100%"  border="0">
 <%-- Common Connector Attributes --%>
 <!-- AllowTrace Field -->
   <tr>
@@ -450,6 +461,13 @@
     <td>The priority of the request processing threads within the JVM. The default value is java.lang.Thread#NORM_PRIORITY. See the JavaDoc for the java.lang.Thread class for more details on what this priority means.</td>
   </tr>
   
+</table>
+</div>
+<table width="100%"  border="0">
+  <tr>
+    <td width="175"><div align="right">&nbsp;</div></td>
+    <td></td>
+  </tr>
 </c:if>
 <%-- TOMCAT CONNECTOR SPECIFIC ATTRIBUTES: END --%>
 

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/editHTTPS.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/editHTTPS.jsp?view=diff&rev=546500&r1=546499&r2=546500
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/editHTTPS.jsp (original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/webmanager/connector/editHTTPS.jsp Tue Jun 12 07:35:15 2007
@@ -50,7 +50,7 @@
 <c:if test="${mode eq 'save'}">
   <input type="hidden" name="connectorURI" value="${connectorURI}">
 </c:if>
-<table width="100%%"  border="0">
+<table width="100%"  border="0">
 
 <%-- THIS PART SHOULD BE THE SAME AS THE HTTP CONNECTOR --%>
 
@@ -114,6 +114,17 @@
 
 <%-- TOMCAT CONNECTOR SPECIFIC ATTRIBUTES: START --%>
 <c:if test="${server eq 'tomcat'}">
+  <tr>
+    <th align="right" width="175">Show&nbsp;all&nbsp;fields:</th>
+    <td><input type="checkbox" name="showAllFields" onClick="document.getElementById('<portlet:namespace/>propsDiv').style.display=this.checked ? 'block' : 'none';" CHECKED/></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td>Check this box to view and configure all attributes.  Uncheck to hide. Note: Hiding will not remove the field values.</td>
+  </tr>
+</table>
+<div id="<portlet:namespace/>propsDiv" style="display: block">
+<table width="100%"  border="0">
 <%-- Common Connector Attributes --%>
 <!-- AllowTrace Field -->
   <tr>
@@ -459,6 +470,9 @@
     <td>The priority of the request processing threads within the JVM. The default value is java.lang.Thread#NORM_PRIORITY. See the JavaDoc for the java.lang.Thread class for more details on what this priority means.</td>
   </tr>
   
+</table>
+</div>
+<table width="100%"  border="0">
 </c:if>
 <%-- TOMCAT CONNECTOR SPECIFIC ATTRIBUTES: END --%>
 
@@ -511,7 +525,7 @@
 <c:if test="${server eq 'tomcat'}">
 <!-- Keystore File Field -->
   <tr>
-    <td><div align="right">Keystore File: </div></td>
+    <td width="175"><div align="right">Keystore File: </div></td>
     <td>
       <input name="keystoreFile" type="text" size="30" value="${keystoreFile}">
 	</td>