From cdf0cc8c5515a75e3c0e0ca59e7bdd02fb9981e3 Mon Sep 17 00:00:00 2001
From: fguigues <fguigues@localhost>
Date: Mon, 14 Sep 2009 13:20:20 +0000
Subject: [PATCH] Fixes
---
opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericMenuBar.java | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericMenuBar.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericMenuBar.java
index df64d8a..5ae3e89 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericMenuBar.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericMenuBar.java
@@ -44,6 +44,7 @@
import org.opends.quicksetup.util.Utils;
import org.opends.quicksetup.util.WebBrowserException;
import org.opends.quicksetup.util.WebBrowserLauncher;
+import org.opends.server.util.DynamicConstants;
/**
* An abstract class that the different menu bars in the Control Panel extend.
@@ -59,14 +60,14 @@
*/
protected final String ADMINISTRATION_GUIDE_URL =
Utils.getCustomizedObject("ADMINISTRATION_GUIDE_URL",
- "https://www.opends.org/wiki/page/AdministrationGuide", String.class);
+ DynamicConstants.ADMINISTRATION_GUIDE_URL, String.class);
/**
* The URL to the wiki main page.
*/
- protected final String WIKI_MAIN_PAGE_URL =
- Utils.getCustomizedObject("WIKI_MAIN_PAGE_URL",
- "https://www.opends.org/wiki/page/Main", String.class);
+ protected final String DOC_REFERENCE_WIKI =
+ Utils.getCustomizedObject("DOC_REFERENCE_WIKI",
+ DynamicConstants.DOC_REFERENCE_WIKI, String.class);
/**
* Constructor of the menu bar.
@@ -111,7 +112,7 @@
{
public void actionPerformed(ActionEvent ev)
{
- displayURL(WIKI_MAIN_PAGE_URL);
+ displayURL(DOC_REFERENCE_WIKI);
}
});
menu.add(menuItem);
--
Gitblit v1.10.0