r9984 - helma/helma/trunk/src/helma/framework/core
[email protected] Thu, 5 Nov 2009 09:03:29 +0100 (CET)
| Newsgroups | gmane.comp.java.helma.cvs |
|---|---|
| Message-ID | <20091105080329.72AF13D0E2@mia> |
Author: hannes
Date: 2009-11-05 09:03:29 +0100 (Thu, 05 Nov 2009)
New Revision: 9984
Modified:
helma/helma/trunk/src/helma/framework/core/Application.java
Log:
Readd zero argument Application.getDataRoot()
Details at http://dev.helma.org/trac/helma/changeset/9984
Modified: helma/helma/trunk/src/helma/framework/core/Application.java
===================================================================
--- helma/helma/trunk/src/helma/framework/core/Application.java 2009-11-04 11:31:10 UTC (rev 9983)
+++ helma/helma/trunk/src/helma/framework/core/Application.java 2009-11-05 08:03:29 UTC (rev 9984)
@@ -840,6 +840,13 @@
/**
* This method returns the root object of this application's object tree.
*/
+ public Object getDataRoot() throws Exception {
+ return getDataRoot(getCurrentRequestEvaluator().getScriptingEngine());
+ }
+
+ /**
+ * This method returns the root object of this application's object tree.
+ */
public Object getDataRoot(ScriptingEngine scriptingEngine) throws Exception {
// check if we have a custom root object class
if (rootObjectClass != null) {