From 8823fb819355d9b4c6a7852e9a8420c4d0a3914d Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Sat, 13 Sep 2008 08:12:41 +0000 Subject: [PATCH] zkwebui: Use ZK 3.0 theme, because ZK 3.5 theme is so buggy --- .../WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java b/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java index c985029676..ffadf3baab 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java @@ -37,6 +37,7 @@ import org.compiere.util.CLogMgt; import org.compiere.util.CLogger; import org.compiere.util.Env; import org.compiere.util.Ini; +import org.zkoss.lang.Library; import org.zkoss.zk.ui.http.DHtmlLayoutServlet; /** @@ -65,6 +66,9 @@ public class WebUIServlet extends DHtmlLayoutServlet ServerContext.newInstance(); Env.setContextProvider(new ZkContextProvider()); + // Use ZK 3.0 theme, because ZK 3.5 theme is so buggy - teo_sarca + Library.setProperty("org.zkoss.zul.theme.v30", "true"); + /** * Start ADempiere */