From c20a1cb28139948290e70cb5652c9f7bf7294e61 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 22 Oct 2007 15:17:07 +0000
Subject: [PATCH] Fix issue 2362: dsconfig numbered lists look like menus
---
opends/src/server/org/opends/server/tools/dsconfig/PropertyValueEditor.java | 4 ++--
opends/src/messages/messages/dsconfig.properties | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/opends/src/messages/messages/dsconfig.properties b/opends/src/messages/messages/dsconfig.properties
index 10a46ac..2bf2d9d 100644
--- a/opends/src/messages/messages/dsconfig.properties
+++ b/opends/src/messages/messages/dsconfig.properties
@@ -326,7 +326,6 @@
INFO_EDITOR_PROMPT_SELECT_VALUES_ADD_1299=Select the values you wish to add:
INFO_EDITOR_PROMPT_SELECT_VALUES_REMOVE_1302=Select the values you wish to remove:
INFO_EDITOR_PROMPT_MODIFY_MENU_1303=Do you want to modify the "%s" property?
-INFO_EDITOR_OPTION_VALUES_1298=%d)
INFO_EDITOR_OPTION_ADD_ALL_VALUES_1300=Add all values
INFO_EDITOR_OPTION_ADD_ONE_OR_MORE_VALUES_1304=Add one or more values
INFO_EDITOR_OPTION_REMOVE_ONE_OR_MORE_VALUES_1305=Remove one or more values
diff --git a/opends/src/server/org/opends/server/tools/dsconfig/PropertyValueEditor.java b/opends/src/server/org/opends/server/tools/dsconfig/PropertyValueEditor.java
index eb7fc3d..7072a56 100644
--- a/opends/src/server/org/opends/server/tools/dsconfig/PropertyValueEditor.java
+++ b/opends/src/server/org/opends/server/tools/dsconfig/PropertyValueEditor.java
@@ -1998,12 +1998,12 @@
List<T> vl = new ArrayList<T>(values);
for (int i = 0, j = rows; i < rows; i++, j++) {
builder.startRow();
- builder.appendCell(INFO_EDITOR_OPTION_VALUES.get(i + 1));
+ builder.appendCell("*)");
builder.appendCell(valuePrinter.print(pd, vl.get(i)));
if (useMultipleColumns && (j < sz)) {
builder.appendCell();
- builder.appendCell(INFO_EDITOR_OPTION_VALUES.get(j + 1));
+ builder.appendCell("*)");
builder.appendCell(valuePrinter.print(pd, vl.get(j)));
}
}
--
Gitblit v1.10.0