geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r427697 - /geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/car/ExportConfigHandler.java
Date Tue, 01 Aug 2006 19:55:56 GMT
Author: ammulder
Date: Tue Aug  1 12:55:56 2006
New Revision: 427697

URL: http://svn.apache.org/viewvc?rev=427697&view=rev
Log:
Don't lose data for the fields that aren't shown on the export screen
  GERONIMO-2260

Modified:
    geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/car/ExportConfigHandler.java

Modified: geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/car/ExportConfigHandler.java
URL: http://svn.apache.org/viewvc/geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/car/ExportConfigHandler.java?rev=427697&r1=427696&r2=427697&view=diff
==============================================================================
--- geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/car/ExportConfigHandler.java
(original)
+++ geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/car/ExportConfigHandler.java
Tue Aug  1 12:55:56 2006
@@ -149,6 +149,12 @@
         metadata.setPrerequisites((PluginMetadata.Prerequisite[]) prereqs.toArray(new PluginMetadata.Prerequisite[prereqs.size()]));
         URL[] backupURLs = splitURLs(repo);
         metadata.setRepositories(backupURLs);
+
+        // TODO: Fields not yet handled by the UI
+        metadata.setForceStart(data.getForceStart());
+        metadata.setFilesToCopy(data.getFilesToCopy());
+        metadata.setConfigXmls(data.getConfigXmls());
+        // Save updated metadata
         PortletManager.getCurrentServer(request).getPluginInstaller().updatePluginMetadata(metadata);
 
         response.setRenderParameter("configId", configId);



Mime
View raw message