Initial Commit
This commit is contained in:
parent
84cbc457ae
commit
0aa9be6edb
|
@ -0,0 +1,26 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<!-- lang.xml
|
||||||
|
Purpose:
|
||||||
|
|
||||||
|
Description:
|
||||||
|
|
||||||
|
History:
|
||||||
|
Saturday Mar 10 23:43:11 2007, Created by Ashley G Ramdass
|
||||||
|
|
||||||
|
Copyright (C) 2007 Ashley G Ramdass (ADempiere WebUI).
|
||||||
|
-->
|
||||||
|
|
||||||
|
<language>
|
||||||
|
|
||||||
|
<addon-name>ADempiere WebUI</addon-name>
|
||||||
|
|
||||||
|
<language-name>xul/html</language-name>
|
||||||
|
|
||||||
|
<version>
|
||||||
|
<version-class>org.adempiere.webui.AdempiereWebUI</version-class>
|
||||||
|
<version-uid>0.1.1</version-uid>
|
||||||
|
</version>
|
||||||
|
|
||||||
|
<javascript src="/js/calc.js" charset="UTF-8"/>
|
||||||
|
</language>
|
|
@ -0,0 +1,152 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
||||||
|
<display-name>ADempiere WebUI</display-name>
|
||||||
|
<!-- /// -->
|
||||||
|
<!-- DSP -->
|
||||||
|
<servlet>
|
||||||
|
<description>
|
||||||
|
<![CDATA[The servlet loads the DSP pages.]]>
|
||||||
|
</description>
|
||||||
|
<servlet-name>dspLoader</servlet-name>
|
||||||
|
<servlet-class>
|
||||||
|
org.zkoss.web.servlet.dsp.InterpreterServlet
|
||||||
|
</servlet-class>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>dspLoader</servlet-name>
|
||||||
|
<url-pattern>*.dsp</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<!-- /// -->
|
||||||
|
|
||||||
|
<!-- //// -->
|
||||||
|
<!-- ZK -->
|
||||||
|
<listener>
|
||||||
|
<description>
|
||||||
|
Used to cleanup when a session is destroyed
|
||||||
|
</description>
|
||||||
|
<display-name>ZK Session Cleaner</display-name>
|
||||||
|
<listener-class>
|
||||||
|
org.zkoss.zk.ui.http.HttpSessionListener
|
||||||
|
</listener-class>
|
||||||
|
</listener>
|
||||||
|
|
||||||
|
<servlet>
|
||||||
|
<description>ZK loader for ZUML pages</description>
|
||||||
|
<servlet-name>zkLoader</servlet-name>
|
||||||
|
<servlet-class>
|
||||||
|
org.adempiere.webui.session.WebUIServlet
|
||||||
|
</servlet-class>
|
||||||
|
<!-- Must. Specifies URI of the update engine (DHtmlUpdateServlet).
|
||||||
|
It must be the same as <url-pattern> for the update engine.
|
||||||
|
-->
|
||||||
|
<init-param>
|
||||||
|
<param-name>update-uri</param-name>
|
||||||
|
<param-value>/zkau</param-value>
|
||||||
|
</init-param>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>zkLoader</servlet-name>
|
||||||
|
<url-pattern>*.zul</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>zkLoader</servlet-name>
|
||||||
|
<url-pattern>*.zhtml</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet>
|
||||||
|
<description>The asynchronous update engine for ZK</description>
|
||||||
|
<servlet-name>auEngine</servlet-name>
|
||||||
|
<servlet-class>
|
||||||
|
org.zkoss.zk.au.http.DHtmlUpdateServlet
|
||||||
|
</servlet-class>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>auEngine</servlet-name>
|
||||||
|
<url-pattern>/zkau/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<!-- //// -->
|
||||||
|
|
||||||
|
<!-- /////////// -->
|
||||||
|
<!-- Miscellaneous -->
|
||||||
|
<session-config>
|
||||||
|
<session-timeout>120</session-timeout>
|
||||||
|
</session-config>
|
||||||
|
|
||||||
|
<!-- MIME mapping -->
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>doc</extension>
|
||||||
|
<mime-type>application/vnd.ms-word</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>dsp</extension>
|
||||||
|
<mime-type>text/html</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>gif</extension>
|
||||||
|
<mime-type>image/gif</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>htm</extension>
|
||||||
|
<mime-type>text/html</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>html</extension>
|
||||||
|
<mime-type>text/html</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>jnlp</extension>
|
||||||
|
<mime-type>application/x-java-jnlp-file</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>jpeg</extension>
|
||||||
|
<mime-type>image/jpeg</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>jpg</extension>
|
||||||
|
<mime-type>image/jpeg</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>js</extension>
|
||||||
|
<mime-type>application/x-javascript</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>pdf</extension>
|
||||||
|
<mime-type>application/pdf</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>png</extension>
|
||||||
|
<mime-type>image/png</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>txt</extension>
|
||||||
|
<mime-type>text/plain</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>xls</extension>
|
||||||
|
<mime-type>application/vnd.ms-excel</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>xml</extension>
|
||||||
|
<mime-type>text/xml</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>xul</extension>
|
||||||
|
<mime-type>application/vnd.mozilla.xul-xml</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>zhtml</extension>
|
||||||
|
<mime-type>text/html</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>zip</extension>
|
||||||
|
<mime-type>application/x-zip</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>zul</extension>
|
||||||
|
<mime-type>text/html</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
<welcome-file-list>
|
||||||
|
<welcome-file>index.zul</welcome-file>
|
||||||
|
|
||||||
|
</welcome-file-list>
|
||||||
|
</web-app>
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<!-- zk.xml
|
||||||
|
Copyright (C) 2006 Potix Corporation. All Rights Reserved.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<zk>
|
||||||
|
<log>
|
||||||
|
<description>[Optional] Monitor i3-log.conf and register a handler for the specified log-base</description>
|
||||||
|
<log-base></log-base>
|
||||||
|
</log>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<language-config>
|
||||||
|
<addon-uri>/WEB-INF/lang-addon.xml</addon-uri>
|
||||||
|
</language-config>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Turn on the following if used with WebLogic 9.1
|
||||||
|
<system-config>
|
||||||
|
<cache-provider-class>org.zkoss.zk.ui.sys.GlobalDesktopCacheProvider</cache-provider-class>
|
||||||
|
</system-config>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Adempiere thread session context handler -->
|
||||||
|
<listener>
|
||||||
|
<description>ADempiere WebUI Context management</description>
|
||||||
|
<listener-class>org.adempiere.webui.session.SessionContextListener</listener-class>
|
||||||
|
</listener>
|
||||||
|
</zk>
|
Loading…
Reference in New Issue