2007-11-22 18:28:46 +07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
2009-05-19 16:22:19 +07:00
|
|
|
<!--
|
|
|
|
zk.xml Copyright (C) 2006 Potix Corporation. All Rights Reserved.
|
|
|
|
-->
|
2007-11-22 18:28:46 +07:00
|
|
|
|
|
|
|
<zk>
|
2012-06-06 21:13:34 +07:00
|
|
|
<!-- idempiere thread session context handler -->
|
2010-03-29 09:44:16 +07:00
|
|
|
<listener>
|
2012-06-06 21:13:34 +07:00
|
|
|
<description>iDempiere WebUI Context management</description>
|
2010-03-29 09:44:16 +07:00
|
|
|
<listener-class>org.adempiere.webui.session.SessionContextListener
|
|
|
|
</listener-class>
|
|
|
|
</listener>
|
2014-05-22 08:41:24 +07:00
|
|
|
|
|
|
|
<listener>
|
|
|
|
<description>iDempiere Web app init for register handle change in table system configuration</description>
|
|
|
|
<listener-class>org.adempiere.webui.DefaultWebAppInit</listener-class>
|
|
|
|
</listener>
|
2011-02-07 11:01:09 +07:00
|
|
|
|
2012-10-10 16:43:03 +07:00
|
|
|
<!-- uncomment following to debug server event flow -->
|
2012-10-09 17:36:09 +07:00
|
|
|
<!-- listener>
|
|
|
|
<listener-class>org.adempiere.webui.util.LogEventInterceptor</listener-class>
|
|
|
|
</listener -->
|
|
|
|
|
2012-10-10 16:43:03 +07:00
|
|
|
<!-- false to use compress js which is much smaller. change to true if you need to debug -->
|
2009-05-19 16:22:19 +07:00
|
|
|
<client-config>
|
2012-10-10 16:43:03 +07:00
|
|
|
<debug-js>false</debug-js>
|
2011-02-07 11:04:25 +07:00
|
|
|
<processing-prompt-delay>500</processing-prompt-delay>
|
2008-07-09 20:07:13 +07:00
|
|
|
</client-config>
|
2007-11-22 18:28:46 +07:00
|
|
|
|
2014-03-26 19:36:13 +07:00
|
|
|
<desktop-config>
|
|
|
|
<desktop-timeout>-1</desktop-timeout>
|
|
|
|
</desktop-config>
|
2007-11-22 18:28:46 +07:00
|
|
|
<!--
|
2009-05-19 16:22:19 +07:00
|
|
|
<language-config> <addon-uri>/WEB-INF/lang-addon.xml</addon-uri>
|
|
|
|
</language-config>
|
2007-11-22 18:28:46 +07:00
|
|
|
-->
|
|
|
|
|
2010-03-29 09:44:16 +07:00
|
|
|
<session-config>
|
|
|
|
<device-type>ajax</device-type>
|
|
|
|
<automatic-timeout/> <!-- the same as <automatic-timeout>true</automatic-timeout> -->
|
|
|
|
<timeout-uri>/timeout.zul</timeout-uri>
|
|
|
|
</session-config>
|
2011-02-07 11:01:09 +07:00
|
|
|
|
2009-05-19 16:22:19 +07:00
|
|
|
<!--
|
|
|
|
Turn on the following if used with WebLogic 9.1 <system-config>
|
2007-11-22 18:28:46 +07:00
|
|
|
<cache-provider-class>org.zkoss.zk.ui.sys.GlobalDesktopCacheProvider</cache-provider-class>
|
2009-05-19 16:22:19 +07:00
|
|
|
</system-config>
|
2007-11-22 18:28:46 +07:00
|
|
|
-->
|
|
|
|
|
2013-06-12 12:08:21 +07:00
|
|
|
<!-- uncomment the following for selenium testing / see zk-selenium.xml for an easier way -->
|
2012-10-10 16:43:03 +07:00
|
|
|
<!-- system-config>
|
2010-04-28 16:41:59 +07:00
|
|
|
<id-generator-class>org.adempiere.webui.AdempiereIdGenerator</id-generator-class>
|
2012-10-10 16:43:03 +07:00
|
|
|
</system-config -->
|
2010-04-28 16:41:59 +07:00
|
|
|
|
2010-03-29 09:44:16 +07:00
|
|
|
<!--
|
|
|
|
polling - org.zkoss.zkex.ui.impl.PollingServerPush
|
2011-02-07 11:01:09 +07:00
|
|
|
comet - org.zkoss.zkmax.ui.comet.CometServerPush ( enterprise edition only )
|
2010-03-29 09:44:16 +07:00
|
|
|
-->
|
|
|
|
<device-config>
|
|
|
|
<device-type>ajax</device-type>
|
2012-04-24 17:54:53 +07:00
|
|
|
<server-push-class>fi.jawsy.jawwa.zk.atmosphere.AtmosphereServerPush</server-push-class>
|
2010-03-29 09:44:16 +07:00
|
|
|
</device-config>
|
2009-05-19 16:22:19 +07:00
|
|
|
|
2012-10-10 16:43:03 +07:00
|
|
|
<!-- true for better performance and lower resource usage -->
|
2012-02-28 00:08:14 +07:00
|
|
|
<system-config>
|
2012-08-15 06:26:55 +07:00
|
|
|
<disable-event-thread>true</disable-event-thread>
|
2012-02-28 00:08:14 +07:00
|
|
|
</system-config>
|
|
|
|
|
2012-03-02 14:12:05 +07:00
|
|
|
<!-- Configure the progress message to show in the center -->
|
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.progressbox.position</name>
|
|
|
|
<value>center</value>
|
|
|
|
</library-property>
|
2009-05-19 16:22:19 +07:00
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.theme.fontSizeM
|
|
|
|
</name>
|
|
|
|
<value>11px</value>
|
|
|
|
</library-property>
|
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.theme.fontSizeS
|
|
|
|
</name>
|
|
|
|
<value>10px</value>
|
|
|
|
</library-property>
|
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.theme.fontSizeXS
|
|
|
|
</name>
|
|
|
|
<value>9px</value>
|
|
|
|
</library-property>
|
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.theme.fontSizeMS
|
|
|
|
</name>
|
|
|
|
<value>11px</value>
|
2012-06-06 21:13:34 +07:00
|
|
|
</library-property>
|
2013-01-29 10:42:32 +07:00
|
|
|
<!-- turn off borderlayout animation -->
|
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.borderlayout.animation.disabed</name>
|
|
|
|
<value>true</value>
|
|
|
|
</library-property>
|
2013-10-22 10:18:59 +07:00
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.web.util.resource.dir</name>
|
|
|
|
<value>/WEB-INF/cwr</value>
|
|
|
|
</library-property>
|
2014-07-03 20:33:45 +07:00
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.grid.DataLoader.class</name>
|
|
|
|
<value>org.zkoss.zul.impl.CustomGridDataLoader</value>
|
|
|
|
</library-property>
|
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.grid.rod</name>
|
|
|
|
<value>true</value>
|
|
|
|
</library-property>
|
2013-10-22 10:18:59 +07:00
|
|
|
|
2013-08-28 14:46:07 +07:00
|
|
|
<preference>
|
|
|
|
<name>org.zkoss.zk.ui.WebApp.name</name>
|
|
|
|
<value>iDempiere</value>
|
|
|
|
</preference>
|
2007-11-22 18:28:46 +07:00
|
|
|
</zk>
|