perfsonar-dev - perfsonar: r3350 - branches/WebAdmin/perfSONARWebAdmin/admin/wizard/services
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r3350 - branches/WebAdmin/perfSONARWebAdmin/admin/wizard/services
- Date: Wed, 13 Feb 2008 07:45:33 -0500
Author: michalis
Date: 2008-02-13 07:45:33 -0500 (Wed, 13 Feb 2008)
New Revision: 3350
Modified:
branches/WebAdmin/perfSONARWebAdmin/admin/wizard/services/RRDMAHandler.java
Log:
Small change in handler
Modified:
branches/WebAdmin/perfSONARWebAdmin/admin/wizard/services/RRDMAHandler.java
===================================================================
---
branches/WebAdmin/perfSONARWebAdmin/admin/wizard/services/RRDMAHandler.java
2008-02-13 12:41:31 UTC (rev 3349)
+++
branches/WebAdmin/perfSONARWebAdmin/admin/wizard/services/RRDMAHandler.java
2008-02-13 12:45:33 UTC (rev 3350)
@@ -347,12 +347,6 @@
// Getting the exist database associated properties
WizardProperties existProperties =
groupedProperties.get("eXist");
Iterator it = existProperties.orderedKeys();
- // The first key is about using or not the database.So this
parameter is
- // retrieved from the request
- String statusKey = (String) it.next();
- // String status = request.getParameter(statusKey);
- WizardProperty useExistProperty = existProperties
- .getWizardProperty(statusKey);
/*
* This piece of code was commented after Romans request
because now the
@@ -360,10 +354,16 @@
* he/she likes
*/
+ // The first key is about using or not the database.So this
parameter is
+ // retrieved from the request
+ // String statusKey = (String) it.next();
+ // String status = request.getParameter(statusKey);
+ // WizardProperty useExistProperty = existProperties
+ // .getWizardProperty(statusKey);
/*
* if (status.equals("off")) { // if the user does not wish
to use exist
- * then the property is set // to off // and nothing else
happens
- * // Seeting property value
useExistProperty.setPropertyValue("off"); //
+ * then the property is set // to off // and nothing else
happens //
+ * Seeting property value
useExistProperty.setPropertyValue("off"); //
* Setting property to exist group properties
* existProperties.setWizardProperty(statusKey,
useExistProperty); //
* Set property to wizard properties
@@ -373,23 +373,22 @@
* setting the property ServiceProperties serviceProperties;
*
* serviceProperties = new ServicePropertiesImpl(ServicePath +
- * ServicePropertiesPath);
- * // Property set
+ * ServicePropertiesPath); // Property set
* serviceProperties.setProperty(useExistProperty.getKey(),
* useExistProperty.getValue()); // new Properties stored
* serviceProperties.storeProperties(); // Set done to true
done = true; }
- * catch (IOException e) {
- * // If anything happens set done to false done = false;
throw new
- * Exception(getFault(e));
- * }
+ * catch (IOException e) { // If anything happens set done to
false done =
+ * false; throw new Exception(getFault(e)); }
*
* return done; } else {
+ *
+ * If the user wishes to use exist then set the property value
+ * useExistProperty.setPropertyValue("on"); Set the wizard
property to
+ * the exist group properties
+ * existProperties.setWizardProperty(statusKey,
useExistProperty); Get
+ * all other parameters regarding exist in the users reqauest
*/
- // If the user wishes to use exist then set the property value
- useExistProperty.setPropertyValue("on");
- // Set the wizard property to the exist group properties
- existProperties.setWizardProperty(statusKey,
useExistProperty);
- // Get all other parameters regarding exist in the users
reqauest
+
while (it.hasNext()) {
String key = (String) it.next();
// Get the parameter
- perfsonar: r3350 - branches/WebAdmin/perfSONARWebAdmin/admin/wizard/services, svnlog, 02/13/2008
Archive powered by MHonArc 2.6.16.