geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jb...@apache.org
Subject svn commit: r425198 - in /geronimo/trunk/applications/console/console-standard/src: java/org/apache/geronimo/console/webmanager/ webapp/WEB-INF/view/webmanager/connector/
Date Mon, 24 Jul 2006 21:57:33 GMT
Author: jbohn
Date: Mon Jul 24 14:57:32 2006
New Revision: 425198

URL: http://svn.apache.org/viewvc?rev=425198&view=rev
Log:
GERONIMO-1182 Challenge on delete of connector from web console - thanks Vamsavardhana Reddy!

Modified:
    geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/webmanager/ConnectorPortlet.java
    geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/editHTTP.jsp
    geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/editHTTPS.jsp
    geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/normal.jsp

Modified: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/webmanager/ConnectorPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/webmanager/ConnectorPortlet.java?rev=425198&r1=425197&r2=425198&view=diff
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/webmanager/ConnectorPortlet.java
(original)
+++ geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/webmanager/ConnectorPortlet.java
Mon Jul 24 14:57:32 2006
@@ -69,6 +69,12 @@
 
     public void processAction(ActionRequest actionRequest,
                               ActionResponse actionResponse) throws PortletException, IOException
{
+        String submit = actionRequest.getParameter("submit");
+        if ("Cancel".equalsIgnoreCase(submit)) {
+            // User clicked on "Cancel" button in add/edit connector page
+            actionResponse.setRenderParameter("mode", "list");
+            return;
+        }
         String mode = actionRequest.getParameter("mode");
         String managerURI = actionRequest.getParameter("managerURI");
         String containerURI = actionRequest.getParameter("containerURI");

Modified: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/editHTTP.jsp
URL: http://svn.apache.org/viewvc/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/editHTTP.jsp?rev=425198&r1=425197&r2=425198&view=diff
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/editHTTP.jsp
(original)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/editHTTP.jsp
Mon Jul 24 14:57:32 2006
@@ -82,7 +82,11 @@
 <!-- Submit Button -->
   <tr>
     <td><div align="right"></div></td>
-    <td><input name="submit" type="submit" value="Save"></td>
+    <td>
+      <input name="submit" type="submit" value="Save">
+      <input name="reset" type="reset" value="Reset">
+      <input name="submit" type="submit" value="Cancel">
+    </td>    
   </tr>
 </table>
 </form>

Modified: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/editHTTPS.jsp
URL: http://svn.apache.org/viewvc/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/editHTTPS.jsp?rev=425198&r1=425197&r2=425198&view=diff
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/editHTTPS.jsp
(original)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/editHTTPS.jsp
Mon Jul 24 14:57:32 2006
@@ -277,7 +277,11 @@
 <!-- Submit Button -->
   <tr>
     <td><div align="right"></div></td>
-    <td><input name="submit" type="submit" value="Save"></td>
+    <td>
+      <input name="submit" type="submit" value="Save">
+      <input name="reset" type="reset" value="Reset">
+      <input name="submit" type="submit" value="Cancel">
+    </td>    
   </tr>
 </table>
 </form>

Modified: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/normal.jsp
URL: http://svn.apache.org/viewvc/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/normal.jsp?rev=425198&r1=425197&r2=425198&view=diff
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/normal.jsp
(original)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/webmanager/connector/normal.jsp
Mon Jul 24 14:57:32 2006
@@ -57,7 +57,7 @@
                  <portlet:param name="connectorURI" value="${info.connectorURI}" />
                  <portlet:param name="managerURI" value="${container.managerURI}" />
                  <portlet:param name="containerURI" value="${container.containerURI}"
/>
-               </portlet:actionURL>">delete</a>
+               </portlet:actionURL>" onClick="return confirm('Are you sure you want
to delete ${info.displayName}?');">delete</a>
             </td>
             <td>${info.description}</td>
           </tr>



Mime
View raw message