diff options
author | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-01-02 13:56:52 +0000 |
---|---|---|
committer | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-01-02 13:56:52 +0000 |
commit | a9a3e978445bf94e2b5efa861bb50dedfb281624 (patch) | |
tree | f305565a2f571d70e4d4240e1bce8581247a95b7 /src/com/itmill/toolkit/terminal/web/JarThemeSource.java | |
parent | 6d22924bb2645030d2a8993415b86c7f7db5e8cf (diff) | |
download | vaadin-framework-a9a3e978445bf94e2b5efa861bb50dedfb281624.tar.gz vaadin-framework-a9a3e978445bf94e2b5efa861bb50dedfb281624.zip |
Added support for opening debug window from get parameters and web.xml. Also not it is possible to disable debug-mode alltogether from web.xml.
svn changeset:203/svn branch:toolkit
Diffstat (limited to 'src/com/itmill/toolkit/terminal/web/JarThemeSource.java')
-rw-r--r-- | src/com/itmill/toolkit/terminal/web/JarThemeSource.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/itmill/toolkit/terminal/web/JarThemeSource.java b/src/com/itmill/toolkit/terminal/web/JarThemeSource.java index f1cf08db1a..8ffb088921 100644 --- a/src/com/itmill/toolkit/terminal/web/JarThemeSource.java +++ b/src/com/itmill/toolkit/terminal/web/JarThemeSource.java @@ -112,7 +112,7 @@ public class JarThemeSource implements ThemeSource { } // Debug info - if (webAdapterServlet.isDebugMode()) { + if (webAdapterServlet.isDebugMode(null)) { Log.debug("Added JarThemeSource: " + this.file + ":" + this.path); } @@ -133,7 +133,7 @@ public class JarThemeSource implements ThemeSource { } if (this.subdirs.isEmpty()) { - if (webAdapterServlet.isDebugMode()) { + if (webAdapterServlet.isDebugMode(null)) { Log.info("JarThemeSource: Ignoring empty JAR path: " + this.file + " path: " + this.path); } @@ -152,7 +152,7 @@ public class JarThemeSource implements ThemeSource { // return XSL from this theme if (this.theme != null) { - if (webAdapterServlet.isDebugMode()) { + if (webAdapterServlet.isDebugMode(null)) { Log.info("JarThemeSource: Loading XSL from: " + theme); } |