From b57b0240828cb74c28b41c319c1d2a9d1e7dd0f4 Mon Sep 17 00:00:00 2001 From: hns Date: Mon, 25 Nov 2002 10:33:07 +0000 Subject: [PATCH] Re-added getRootHref() method, which was removed because it's not used by Helma code. Turns out the manage application needs it. --- src/helma/framework/core/Application.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/helma/framework/core/Application.java b/src/helma/framework/core/Application.java index 23a99bac..a26c5153 100644 --- a/src/helma/framework/core/Application.java +++ b/src/helma/framework/core/Application.java @@ -831,6 +831,14 @@ public final class Application implements IPathElement, Runnable { return pwfile.authenticate (uname, password); } + /** + * Return the href to the root of this application. + */ + public String getRootHref () { + return getNodeHref (getDataRoot(), null); + } + + /** * Return a path to be used in a URL pointing to the given element and action */