geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r779784 - /geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
Date Thu, 28 May 2009 22:10:47 GMT
Author: djencks
Date: Thu May 28 22:10:46 2009
New Revision: 779784

URL: http://svn.apache.org/viewvc?rev=779784&view=rev
Log:
GERONIMO-3883 applied patch from Shawn Jiang to un-confuse the portlet workflow

Modified:
    geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java

Modified: geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java?rev=779784&r1=779783&r2=779784&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
(original)
+++ geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
Thu May 28 22:10:46 2009
@@ -348,9 +348,9 @@
             }
         } else if (mode.equals("process-" + DOWNLOAD_STATUS_MODE)) {
             if (data.getDbtype() == null || data.getDbtype().equals("Other")) {
-                actionResponse.setRenderParameter(MODE_KEY, EDIT_MODE);
-            } else {
                 actionResponse.setRenderParameter(MODE_KEY, BASIC_PARAMS_MODE);
+            } else {
+                actionResponse.setRenderParameter(MODE_KEY, EDIT_MODE);
             }
         } else if (mode.equals("process-" + BASIC_PARAMS_MODE)) {
             DatabaseDriver info;



Mime
View raw message