2007-11-22 18:28:46 +07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-05-07 14:55:04 +07:00
|
|
|
<!DOCTYPE zk>
|
2007-11-22 18:28:46 +07:00
|
|
|
|
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 -->
|
|
|
|
|
2021-11-20 00:17:04 +07:00
|
|
|
<listener>
|
2024-01-16 20:25:48 +07:00
|
|
|
<description>[Optional] Monitor the statistic</description>
|
2021-11-20 00:17:04 +07:00
|
|
|
<listener-class>org.adempiere.webui.util.Statistic</listener-class>
|
|
|
|
</listener>
|
|
|
|
|
2019-01-21 21:37:14 +07:00
|
|
|
<!-- false to use compress js which is much smaller. change to true if you need to debug -->
|
2017-08-30 13:34:39 +07:00
|
|
|
<client-config>
|
2019-01-21 21:37:14 +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>
|
2020-11-17 00:18:49 +07:00
|
|
|
<automatic-timeout>true</automatic-timeout>
|
2010-03-29 09:44:16 +07:00
|
|
|
<timeout-uri>/timeout.zul</timeout-uri>
|
2020-11-17 17:05:10 +07:00
|
|
|
<!--
|
|
|
|
Comment out timeout-uri above and un-comment timeout-message below if you prefer timeout
|
|
|
|
message alert over a timeout page
|
|
|
|
<timeout-message>script:<![CDATA[jawwa.atmosphere.sessionTimeout();]]></timeout-message>
|
|
|
|
-->
|
2010-03-29 09:44:16 +07:00
|
|
|
</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
|
|
|
-->
|
2019-09-24 16:20:30 +07:00
|
|
|
<device-config>
|
2019-09-24 16:20:06 +07:00
|
|
|
<device-type>ajax</device-type>
|
2020-01-22 10:48:46 +07:00
|
|
|
<server-push-class>fi.jawsy.jawwa.zk.atmosphere.AtmosphereServerPush</server-push-class>
|
2019-09-24 16:20:30 +07:00
|
|
|
</device-config>
|
2020-01-22 10:48:46 +07:00
|
|
|
<!-- device-config>
|
|
|
|
<device-type>ajax</device-type>
|
|
|
|
<server-push-class>org.idempiere.ui.zk.websocket.WebSocketServerPush</server-push-class>
|
|
|
|
</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>
|
2020-10-14 16:07:18 +07:00
|
|
|
<value>14px</value>
|
2009-05-19 16:22:19 +07:00
|
|
|
</library-property>
|
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.theme.fontSizeS
|
|
|
|
</name>
|
2020-10-14 16:07:18 +07:00
|
|
|
<value>12px</value>
|
2009-05-19 16:22:19 +07:00
|
|
|
</library-property>
|
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.theme.fontSizeXS
|
|
|
|
</name>
|
2020-10-14 16:07:18 +07:00
|
|
|
<value>10px</value>
|
2009-05-19 16:22:19 +07:00
|
|
|
</library-property>
|
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.theme.fontSizeMS
|
|
|
|
</name>
|
2020-10-14 16:07:18 +07:00
|
|
|
<value>12px</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>
|
2018-11-25 09:08:03 +07:00
|
|
|
<name>org.zkoss.zul.borderlayout.animation.disabled</name>
|
2013-01-29 10:42:32 +07:00
|
|
|
<value>true</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>
|
2017-07-15 00:37:34 +07:00
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zk.ui.EventListener.duplicateIgnored</name>
|
|
|
|
<value>true</value>
|
|
|
|
</library-property>
|
2017-10-18 20:05:12 +07:00
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.nativebar</name>
|
|
|
|
<value>true</value>
|
|
|
|
</library-property>
|
2017-11-10 01:00:02 +07:00
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.theme.preferred</name>
|
|
|
|
<value>breeze</value>
|
|
|
|
</library-property>
|
2013-08-28 14:46:07 +07:00
|
|
|
<preference>
|
|
|
|
<name>org.zkoss.zk.ui.WebApp.name</name>
|
|
|
|
<value>iDempiere</value>
|
|
|
|
</preference>
|
2022-03-15 17:43:54 +07:00
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zk.ui.uuidRecycle.disabled</name>
|
|
|
|
<value>true</value>
|
|
|
|
</library-property>
|
2024-02-01 17:12:33 +07:00
|
|
|
<library-property>
|
|
|
|
<name>org.zkoss.zul.Filedownload.contentTypeAsIs</name>
|
|
|
|
<value>true</value>
|
|
|
|
</library-property>
|
2007-11-22 18:28:46 +07:00
|
|
|
</zk>
|