core-jgi/org.adempiere.ui.zk/WEB-INF/zk.xml

105 lines
2.7 KiB
XML
Raw Normal View History

2007-11-22 18:28:46 +07:00
<?xml version="1.0" encoding="UTF-8"?>
<!--
zk.xml Copyright (C) 2006 Potix Corporation. All Rights Reserved.
-->
2007-11-22 18:28:46 +07:00
<zk>
<!-- Adempiere thread session context handler -->
<listener>
<description>ADempiere WebUI Context management</description>
<listener-class>org.adempiere.webui.session.SessionContextListener
</listener-class>
</listener>
2007-11-22 18:28:46 +07:00
<log>
<description>[Optional] Monitor i3-log.conf and register a
handler for the specified log-base</description>
2007-11-22 18:28:46 +07:00
<log-base></log-base>
</log>
<!-- change to false to use compress js which is much smaller -->
<client-config>
<debug-js>false</debug-js>
<processing-prompt-delay>500</processing-prompt-delay>
</client-config>
2007-11-22 18:28:46 +07:00
<!--
<language-config> <addon-uri>/WEB-INF/lang-addon.xml</addon-uri>
</language-config>
2007-11-22 18:28:46 +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>
<!--
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>
</system-config>
2007-11-22 18:28:46 +07:00
-->
<system-config>
<id-generator-class>org.adempiere.webui.AdempiereIdGenerator</id-generator-class>
</system-config>
<!--
polling - org.zkoss.zkex.ui.impl.PollingServerPush
comet - org.zkoss.zkmax.ui.comet.CometServerPush ( enterprise edition only )
-->
<device-config>
<device-type>ajax</device-type>
<server-push-class>org.zkoss.zk.ui.impl.PollingServerPush</server-push-class>
</device-config>
<system-config>
<disable-event-thread>false</disable-event-thread>
</system-config>
<!-- Configure the progress message to show in the center -->
<library-property>
<name>org.zkoss.zul.progressbox.position</name>
<value>center</value>
</library-property>
<library-property>
<name>org.zkoss.zul.Button.mold</name>
<value>trendy</value>
</library-property>
<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>
</library-property>
<preference>
<name>PollingServerPush.delay.min</name>
<value>200</value>
</preference>
<preference>
<name>PollingServerPush.delay.max</name>
<value>10000</value>
</preference>
<preference>
<name>PollingServerPush.delay.factor</name>
<value>1</value>
</preference>
2007-11-22 18:28:46 +07:00
</zk>