Converted to Equinox Plugins: zkwebui

Had to move Webresources to /WebContent in order to pack bundle jar easily

https://sourceforge.net/tracker/?func=detail&aid=2700937&group_id=176962&atid=879334
This commit is contained in:
joergviola 2010-03-05 19:51:34 +00:00
parent 537796d39b
commit 0945a8dba2
301 changed files with 815 additions and 91 deletions

View File

@ -2,6 +2,35 @@
<classpath> <classpath>
<classpathentry kind="src" path="WEB-INF/src"/> <classpathentry kind="src" path="WEB-INF/src"/>
<classpathentry kind="src" path="/base"/> <classpathentry kind="src" path="/base"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/asm.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/bsh.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/commons-el.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/commons-fileupload.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/commons-io.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/Filters.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/gmapsz.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/groovy.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/jruby.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/js.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/json_simple.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/jxl.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/jython.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/mvel.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/ognl.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/timelinez-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/timeplotz.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/xercesImpl.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zcommon-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zcommons-el.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zhtml-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zk-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zkex-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zkmax-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zkplus-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zml-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zml.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zul-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zweb-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zk.jar" sourcepath="WEB-INF/lib/zk-sources.jar"/> <classpathentry exported="true" kind="lib" path="WEB-INF/lib/zk.jar" sourcepath="WEB-INF/lib/zk-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zcommon.jar" sourcepath="WEB-INF/lib/zcommon-sources.jar"/> <classpathentry exported="true" kind="lib" path="WEB-INF/lib/zcommon.jar" sourcepath="WEB-INF/lib/zcommon-sources.jar"/>
<classpathentry exported="true" kind="lib" path="WEB-INF/lib/zul.jar" sourcepath="WEB-INF/lib/zul-sources.jar"/> <classpathentry exported="true" kind="lib" path="WEB-INF/lib/zul.jar" sourcepath="WEB-INF/lib/zul-sources.jar"/>
@ -32,5 +61,6 @@
<classpathentry kind="lib" path="/tools/lib/jcommon-1.0.14.jar"/> <classpathentry kind="lib" path="/tools/lib/jcommon-1.0.14.jar"/>
<classpathentry kind="lib" path="/tools/lib/jfreechart-1.0.11.jar"/> <classpathentry kind="lib" path="/tools/lib/jfreechart-1.0.11.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="WEB-INF/classes"/> <classpathentry kind="output" path="WEB-INF/classes"/>
</classpath> </classpath>

View File

@ -15,6 +15,16 @@
<arguments> <arguments>
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec> </buildSpec>
<natures> <natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature> <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
@ -22,5 +32,6 @@
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature> <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature> <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures> </natures>
</projectDescription> </projectDescription>

View File

@ -0,0 +1,527 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: zkwebui
Bundle-SymbolicName: org.adempiere.zkwebui;singleton:=true
Bundle-Version: 0.0.0.2
Bundle-ClassPath: zkwebui.jar,
WEB-INF/lib/zk.jar,
WEB-INF/lib/zcommon.jar,
WEB-INF/lib/zul.jar,
WEB-INF/lib/junit.jar,
WEB-INF/lib/keylistener.jar,
lib/xercesImpl.jar,
WEB-INF/lib/zkmax.jar,
WEB-INF/lib/zkex.jar,
WEB-INF/lib/zkplus.jar,
WEB-INF/lib/zhtml.jar,
WEB-INF/lib/timelinez.jar,
WEB-INF/lib/zweb.jar,
lib/javaee.jar,
WEB-INF/lib/cglib.jar,
WEB-INF/lib/fckez.jar,
lib/jcommon-1.0.14.jar,
lib/jfreechart-1.0.11.jar,
WEB-INF/lib/asm.jar,
WEB-INF/lib/bsh.jar,
WEB-INF/lib/commons-el.jar,
WEB-INF/lib/commons-fileupload.jar,
WEB-INF/lib/commons-io.jar,
WEB-INF/lib/Filters.jar,
WEB-INF/lib/gmapsz.jar,
WEB-INF/lib/groovy.jar,
WEB-INF/lib/jruby.jar,
WEB-INF/lib/js.jar,
WEB-INF/lib/json_simple.jar,
WEB-INF/lib/jxl.jar,
WEB-INF/lib/jython.jar,
WEB-INF/lib/mvel.jar,
WEB-INF/lib/ognl.jar,
WEB-INF/lib/timelinez-sources.jar,
WEB-INF/lib/timeplotz.jar,
WEB-INF/lib/xercesImpl.jar,
WEB-INF/lib/zcommon-sources.jar,
WEB-INF/lib/zcommons-el.jar,
WEB-INF/lib/zhtml-sources.jar,
WEB-INF/lib/zk-sources.jar,
WEB-INF/lib/zkex-sources.jar,
WEB-INF/lib/zkmax-sources.jar,
WEB-INF/lib/zkplus-sources.jar,
WEB-INF/lib/zml-sources.jar,
WEB-INF/lib/zml.jar,
WEB-INF/lib/zul-sources.jar,
WEB-INF/lib/zweb-sources.jar
Export-Package: com.keypoint,
javax.activation,
javax.annotation,
javax.annotation.security,
javax.ejb,
javax.ejb.spi,
javax.el,
javax.enterprise.deploy.model,
javax.enterprise.deploy.model.exceptions,
javax.enterprise.deploy.shared,
javax.enterprise.deploy.shared.factories,
javax.enterprise.deploy.spi,
javax.enterprise.deploy.spi.exceptions,
javax.enterprise.deploy.spi.factories,
javax.enterprise.deploy.spi.status,
javax.faces,
javax.faces.application,
javax.faces.component,
javax.faces.component.html,
javax.faces.context,
javax.faces.convert,
javax.faces.el,
javax.faces.event,
javax.faces.lifecycle,
javax.faces.model,
javax.faces.render,
javax.faces.validator,
javax.faces.webapp,
javax.interceptor,
javax.jms,
javax.jws,
javax.jws.soap,
javax.mail,
javax.mail.event,
javax.mail.internet,
javax.mail.search,
javax.mail.util,
javax.management.j2ee,
javax.management.j2ee.statistics,
javax.persistence,
javax.persistence.spi,
javax.resource,
javax.resource.cci,
javax.resource.spi,
javax.resource.spi.endpoint,
javax.resource.spi.security,
javax.resource.spi.work,
javax.security.jacc,
javax.servlet,
javax.servlet.http,
javax.servlet.jsp,
javax.servlet.jsp.el,
javax.servlet.jsp.jstl.core,
javax.servlet.jsp.jstl.fmt,
javax.servlet.jsp.jstl.sql,
javax.servlet.jsp.jstl.tlv,
javax.servlet.jsp.tagext,
javax.transaction,
javax.transaction.xa,
javax.xml.bind,
javax.xml.bind.annotation,
javax.xml.bind.annotation.adapters,
javax.xml.bind.attachment,
javax.xml.bind.helpers,
javax.xml.bind.util,
javax.xml.registry,
javax.xml.registry.infomodel,
javax.xml.registry.samples,
javax.xml.rpc,
javax.xml.rpc.encoding,
javax.xml.rpc.handler,
javax.xml.rpc.handler.soap,
javax.xml.rpc.holders,
javax.xml.rpc.server,
javax.xml.rpc.soap,
javax.xml.soap,
javax.xml.stream,
javax.xml.stream.events,
javax.xml.stream.util,
javax.xml.ws,
javax.xml.ws.handler,
javax.xml.ws.handler.soap,
javax.xml.ws.http,
javax.xml.ws.soap,
javax.xml.ws.spi,
javax.xml.ws.wsaddressing,
junit.extensions,
junit.framework,
junit.runner,
junit.textui,
metainfo.mesg,
metainfo.org.zkoss.util.media,
metainfo.tld,
metainfo.xel,
metainfo.xml,
metainfo.zk,
net.sf.cglib.asm,
net.sf.cglib.asm.signature,
net.sf.cglib.beans,
net.sf.cglib.core,
net.sf.cglib.proxy,
net.sf.cglib.reflect,
net.sf.cglib.transform,
net.sf.cglib.transform.impl,
net.sf.cglib.util,
org.adempiere.webui,
org.adempiere.webui.acct,
org.adempiere.webui.apps,
org.adempiere.webui.apps.form,
org.adempiere.webui.apps.graph,
org.adempiere.webui.apps.wf,
org.adempiere.webui.component,
org.adempiere.webui.component.test,
org.adempiere.webui.dashboard,
org.adempiere.webui.desktop,
org.adempiere.webui.editor,
org.adempiere.webui.event,
org.adempiere.webui.exception,
org.adempiere.webui.grid,
org.adempiere.webui.install,
org.adempiere.webui.panel,
org.adempiere.webui.part,
org.adempiere.webui.process,
org.adempiere.webui.report,
org.adempiere.webui.session,
org.adempiere.webui.theme,
org.adempiere.webui.util,
org.adempiere.webui.window,
org.apache.html.dom,
org.apache.wml,
org.apache.wml.dom,
org.apache.xerces.dom,
org.apache.xerces.dom.events,
org.apache.xerces.dom3.as,
org.apache.xerces.impl,
org.apache.xerces.impl.dtd,
org.apache.xerces.impl.dtd.models,
org.apache.xerces.impl.dv,
org.apache.xerces.impl.dv.dtd,
org.apache.xerces.impl.dv.util,
org.apache.xerces.impl.dv.xs,
org.apache.xerces.impl.io,
org.apache.xerces.impl.msg,
org.apache.xerces.impl.validation,
org.apache.xerces.impl.xpath,
org.apache.xerces.impl.xpath.regex,
org.apache.xerces.impl.xs,
org.apache.xerces.impl.xs.identity,
org.apache.xerces.impl.xs.models,
org.apache.xerces.impl.xs.opti,
org.apache.xerces.impl.xs.traversers,
org.apache.xerces.impl.xs.util,
org.apache.xerces.jaxp,
org.apache.xerces.jaxp.datatype,
org.apache.xerces.jaxp.validation,
org.apache.xerces.parsers,
org.apache.xerces.util,
org.apache.xerces.xinclude,
org.apache.xerces.xni,
org.apache.xerces.xni.grammars,
org.apache.xerces.xni.parser,
org.apache.xerces.xpointer,
org.apache.xerces.xs,
org.apache.xerces.xs.datatypes,
org.apache.xml.serialize,
org.jfree,
org.jfree.base,
org.jfree.base.config,
org.jfree.base.log,
org.jfree.base.modules,
org.jfree.chart,
org.jfree.chart.annotations,
org.jfree.chart.axis,
org.jfree.chart.block,
org.jfree.chart.demo,
org.jfree.chart.editor,
org.jfree.chart.encoders,
org.jfree.chart.entity,
org.jfree.chart.event,
org.jfree.chart.imagemap,
org.jfree.chart.labels,
org.jfree.chart.needle,
org.jfree.chart.plot,
org.jfree.chart.plot.dial,
org.jfree.chart.renderer,
org.jfree.chart.renderer.category,
org.jfree.chart.renderer.xy,
org.jfree.chart.resources,
org.jfree.chart.servlet,
org.jfree.chart.title,
org.jfree.chart.urls,
org.jfree.chart.util,
org.jfree.data,
org.jfree.data.category,
org.jfree.data.contour,
org.jfree.data.function,
org.jfree.data.gantt,
org.jfree.data.general,
org.jfree.data.io,
org.jfree.data.jdbc,
org.jfree.data.resources,
org.jfree.data.statistics,
org.jfree.data.time,
org.jfree.data.time.ohlc,
org.jfree.data.xml,
org.jfree.data.xy,
org.jfree.date,
org.jfree.io,
org.jfree.layout,
org.jfree.resources,
org.jfree.text,
org.jfree.threads,
org.jfree.ui,
org.jfree.ui.about,
org.jfree.ui.about.resources,
org.jfree.ui.action,
org.jfree.ui.tabbedui,
org.jfree.util,
org.junit,
org.junit.internal,
org.junit.internal.requests,
org.junit.internal.runners,
org.junit.runner,
org.junit.runner.manipulation,
org.junit.runner.notification,
org.junit.runners,
org.w3c.dom.html,
org.zkforge.fckez,
org.zkforge.fckez.connector,
org.zkforge.fckez.uploader,
org.zkforge.json.simple,
org.zkforge.json.simple.parser,
org.zkforge.keylistener,
org.zkforge.timeline,
org.zkforge.timeline.data,
org.zkforge.timeline.decorator,
org.zkforge.timeline.event,
org.zkforge.timeline.impl,
org.zkforge.timeline.util,
org.zkoss,
org.zkoss.idom,
org.zkoss.idom.impl,
org.zkoss.idom.input,
org.zkoss.idom.transform,
org.zkoss.idom.util,
org.zkoss.image,
org.zkoss.image.encoder,
org.zkoss.io,
org.zkoss.lang,
org.zkoss.lang.reflect,
org.zkoss.math,
org.zkoss.mesg,
org.zkoss.net,
org.zkoss.sound,
org.zkoss.text,
org.zkoss.util,
org.zkoss.util.logging,
org.zkoss.util.media,
org.zkoss.util.resource,
org.zkoss.util.resource.impl,
org.zkoss.web,
org.zkoss.web.fn,
org.zkoss.web.init,
org.zkoss.web.mesg,
org.zkoss.web.portlet,
org.zkoss.web.servlet,
org.zkoss.web.servlet.dsp,
org.zkoss.web.servlet.dsp.action,
org.zkoss.web.servlet.dsp.action.html,
org.zkoss.web.servlet.dsp.impl,
org.zkoss.web.servlet.http,
org.zkoss.web.servlet.xel,
org.zkoss.web.util.resource,
org.zkoss.xel,
org.zkoss.xel.el,
org.zkoss.xel.fn,
org.zkoss.xel.taglib,
org.zkoss.xel.util,
org.zkoss.xml,
org.zkoss.zhtml,
org.zkoss.zhtml.impl,
org.zkoss.zk,
org.zkoss.zk.au,
org.zkoss.zk.au.http,
org.zkoss.zk.au.impl,
org.zkoss.zk.au.in,
org.zkoss.zk.au.out,
org.zkoss.zk.device,
org.zkoss.zk.fn,
org.zkoss.zk.mesg,
org.zkoss.zk.scripting,
org.zkoss.zk.scripting.bsh,
org.zkoss.zk.scripting.util,
org.zkoss.zk.ui,
org.zkoss.zk.ui.api,
org.zkoss.zk.ui.event,
org.zkoss.zk.ui.ext,
org.zkoss.zk.ui.ext.client,
org.zkoss.zk.ui.ext.render,
org.zkoss.zk.ui.http,
org.zkoss.zk.ui.impl,
org.zkoss.zk.ui.metainfo,
org.zkoss.zk.ui.metainfo.impl,
org.zkoss.zk.ui.render,
org.zkoss.zk.ui.sys,
org.zkoss.zk.ui.util,
org.zkoss.zk.xel,
org.zkoss.zk.xel.impl,
org.zkoss.zkex,
org.zkoss.zkex.ui.impl,
org.zkoss.zkex.zul,
org.zkoss.zkex.zul.api,
org.zkoss.zkex.zul.impl,
org.zkoss.zkmax,
org.zkoss.zkmax.au.http,
org.zkoss.zkmax.au.in,
org.zkoss.zkmax.event,
org.zkoss.zkmax.init,
org.zkoss.zkmax.scripting.groovy,
org.zkoss.zkmax.scripting.jruby,
org.zkoss.zkmax.scripting.jython,
org.zkoss.zkmax.scripting.rhino,
org.zkoss.zkmax.ui.comet,
org.zkoss.zkmax.ui.eq,
org.zkoss.zkmax.xel.el,
org.zkoss.zkmax.xel.el21,
org.zkoss.zkmax.xel.mvel,
org.zkoss.zkmax.xel.ognl,
org.zkoss.zkmax.xel.util,
org.zkoss.zkmax.zul,
org.zkoss.zkmax.zul.api,
org.zkoss.zkmax.zul.render,
org.zkoss.zkplus,
org.zkoss.zkplus.acegi,
org.zkoss.zkplus.databind,
org.zkoss.zkplus.hibernate,
org.zkoss.zkplus.jndi,
org.zkoss.zkplus.jpa,
org.zkoss.zkplus.seasar,
org.zkoss.zkplus.spring,
org.zkoss.zkplus.util,
org.zkoss.zul,
org.zkoss.zul.api,
org.zkoss.zul.au.in,
org.zkoss.zul.au.out,
org.zkoss.zul.event,
org.zkoss.zul.ext,
org.zkoss.zul.fn,
org.zkoss.zul.impl,
org.zkoss.zul.impl.api,
org.zkoss.zul.mesg,
web,
web.aud,
web.dsp.action.html,
web.fckez,
web.html,
web.img,
web.js.ext.FCKeditor,
web.js.ext.FCKeditor.editor,
web.js.ext.FCKeditor.editor.css,
web.js.ext.FCKeditor.editor.css.behaviors,
web.js.ext.FCKeditor.editor.css.images,
web.js.ext.FCKeditor.editor.dialog,
web.js.ext.FCKeditor.editor.dialog.common,
web.js.ext.FCKeditor.editor.dialog.common.images,
web.js.ext.FCKeditor.editor.dialog.fck_about,
web.js.ext.FCKeditor.editor.dialog.fck_about.sponsors,
web.js.ext.FCKeditor.editor.dialog.fck_docprops,
web.js.ext.FCKeditor.editor.dialog.fck_flash,
web.js.ext.FCKeditor.editor.dialog.fck_image,
web.js.ext.FCKeditor.editor.dialog.fck_link,
web.js.ext.FCKeditor.editor.dialog.fck_select,
web.js.ext.FCKeditor.editor.dialog.fck_spellerpages.spellerpages,
web.js.ext.FCKeditor.editor.dialog.fck_template.images,
web.js.ext.FCKeditor.editor.dtd,
web.js.ext.FCKeditor.editor.filemanager.browser,
web.js.ext.FCKeditor.editor.filemanager.connectors,
web.js.ext.FCKeditor.editor.filemanager.connectors.asp,
web.js.ext.FCKeditor.editor.filemanager.connectors.aspx,
web.js.ext.FCKeditor.editor.filemanager.connectors.cfm,
web.js.ext.FCKeditor.editor.filemanager.connectors.lasso,
web.js.ext.FCKeditor.editor.filemanager.connectors.perl,
web.js.ext.FCKeditor.editor.filemanager.connectors.php,
web.js.ext.FCKeditor.editor.filemanager.connectors.py,
web.js.ext.FCKeditor.editor.images,
web.js.ext.FCKeditor.editor.images.smiley.msn,
web.js.ext.FCKeditor.editor.js,
web.js.ext.FCKeditor.editor.lang,
web.js.ext.FCKeditor.editor.plugins.autogrow,
web.js.ext.FCKeditor.editor.plugins.bbcode,
web.js.ext.FCKeditor.editor.plugins.bbcode._sample,
web.js.ext.FCKeditor.editor.plugins.dragresizetable,
web.js.ext.FCKeditor.editor.plugins.placeholder,
web.js.ext.FCKeditor.editor.plugins.placeholder.lang,
web.js.ext.FCKeditor.editor.plugins.simplecommands,
web.js.ext.FCKeditor.editor.plugins.tablecommands,
web.js.ext.FCKeditor.editor.skins,
web.js.ext.FCKeditor.editor.skins.office2003,
web.js.ext.FCKeditor.editor.skins.office2003.images,
web.js.ext.FCKeditor.editor.skins.silver,
web.js.ext.FCKeditor.editor.skins.silver.images,
web.js.ext.aculo,
web.js.ext.prototype,
web.js.ext.timeline.api,
web.js.ext.timeline.api.ext.geochrono,
web.js.ext.timeline.api.ext.geochrono.scripts,
web.js.ext.timeline.api.ext.geochrono.scripts.l10n.en,
web.js.ext.timeline.api.ext.planning,
web.js.ext.timeline.api.ext.planning.scripts,
web.js.ext.timeline.api.ext.planning.scripts.l10n.en,
web.js.ext.timeline.api.images,
web.js.ext.timeline.api.scripts,
web.js.ext.timeline.api.scripts.ext,
web.js.ext.timeline.api.scripts.l10n.cs,
web.js.ext.timeline.api.scripts.l10n.de,
web.js.ext.timeline.api.scripts.l10n.en,
web.js.ext.timeline.api.scripts.l10n.es,
web.js.ext.timeline.api.scripts.l10n.fr,
web.js.ext.timeline.api.scripts.l10n.it,
web.js.ext.timeline.api.scripts.l10n.ru,
web.js.ext.timeline.api.scripts.l10n.se,
web.js.ext.timeline.api.scripts.l10n.vi,
web.js.ext.timeline.api.scripts.l10n.zh,
web.js.ext.timeline.api.scripts.util,
web.js.ext.timeline.api.styles,
web.js.fckez,
web.js.timelinez,
web.js.zhtml,
web.js.zk,
web.js.zk.html,
web.js.zk.html.lang,
web.js.zkex.ui,
web.js.zkex.zul,
web.js.zkmax.ui,
web.js.zkmax.zul,
web.js.zul,
web.js.zul.lang,
web.timeline,
web.zhtml,
web.zk,
web.zk.img,
web.zkex.zul.css,
web.zkex.zul.html,
web.zkex.zul.img.layout,
web.zkmax.zul.css,
web.zul.css,
web.zul.css.cmps,
web.zul.html,
web.zul.img,
web.zul.img.button,
web.zul.img.cal,
web.zul.img.common,
web.zul.img.grid,
web.zul.img.groupbox,
web.zul.img.menu,
web.zul.img.misc,
web.zul.img.msgbox,
web.zul.img.paging,
web.zul.img.popup,
web.zul.img.slider,
web.zul.img.sort,
web.zul.img.splt,
web.zul.img.tab,
web.zul.img.tree,
web.zul.img.vd,
web.zul.img.wnd
Eclipse-RegisterBuddy: org.adempiere.tools
Require-Bundle: org.eclipse.equinox.http.registry;bundle-version="1.0.0";resolution:=optional,
org.eclipse.osgi.services;bundle-version="3.1.100",
org.eclipse.core.runtime;bundle-version="3.5.0",
org.adempiere.client;bundle-version="0.0.0",
JasperReports;bundle-version="1.0.0",
org.adempiere.base;bundle-version="0.0.0",
org.adempiere.tools;bundle-version="0.0.0"
Bundle-Activator: org.adempiere.webui.Activator

View File

@ -0,0 +1,85 @@
package org.adempiere.webui;
import java.util.Arrays;
import java.util.Dictionary;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.List;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import org.adempiere.webui.session.WebUIServlet;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceReference;
import org.osgi.service.http.HttpContext;
import org.osgi.service.http.HttpService;
import org.osgi.util.tracker.ServiceTracker;
import org.zkoss.zk.au.http.DHtmlUpdateServlet;
public class Activator extends Plugin {
private ServiceTracker httpServiceTracker;
public void start(BundleContext context) throws Exception {
System.out.println("Starting WebUI");
httpServiceTracker = new HttpServiceTracker(context);
httpServiceTracker.open();
}
public void stop(BundleContext context) throws Exception {
System.out.println("Stopping WebUI");
httpServiceTracker.close();
httpServiceTracker = null;
}
private class HttpServiceTracker extends ServiceTracker {
public HttpServiceTracker(BundleContext context) {
super(context, HttpService.class.getName(), null);
}
public Object addingService(ServiceReference reference) {
HttpService httpService = (HttpService) context.getService(reference);
System.out.println("Adding zkLoader: "+httpService);
try {
// MappingServlet mapping = new MappingServlet();
Hashtable<String, String> params = new Hashtable<String, String>();
params.put("update-uri", "/zkau");
HttpContext ctx = httpService.createDefaultHttpContext();
httpService.registerServlet("/*.zul", new WebUIServlet(), params , ctx); //$NON-NLS-1$
httpService.registerServlet("/*.zhtml", new WebUIServlet(), params , ctx); //$NON-NLS-1$
DelegatingServlet updateServlet = new DelegatingServlet(new DHtmlUpdateServlet()) {
private ServletConfig cfg;
@Override
public void init(ServletConfig config)
throws ServletException {
super.init(config);
cfg = config;
}
@Override
public ServletConfig getServletConfig() {
return cfg;
}
};
httpService.registerServlet("/zkau", updateServlet, params , ctx); //$NON-NLS-1$
httpService.registerResources("/", "/", ctx);
System.out.println("zkLoader added: " + httpService.toString());
} catch (Exception e) {
e.printStackTrace();
}
return httpService;
}
public void removedService(ServiceReference reference, Object service) {
HttpService httpService = (HttpService) service;
httpService.unregister("/"); //$NON-NLS-1$
super.removedService(reference, service);
}
}
}

View File

@ -0,0 +1,82 @@
package org.adempiere.webui;
import java.io.IOException;
import java.util.Enumeration;
import javax.servlet.GenericServlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServlet;
public class DelegatingServlet extends HttpServlet {
private final HttpServlet delegate;
public DelegatingServlet(HttpServlet delegate) {
this.delegate = delegate;
}
public void destroy() {
delegate.destroy();
}
public boolean equals(Object obj) {
return delegate.equals(obj);
}
public String getInitParameter(String name) {
return delegate.getInitParameter(name);
}
public Enumeration getInitParameterNames() {
return delegate.getInitParameterNames();
}
public ServletConfig getServletConfig() {
return delegate.getServletConfig();
}
public ServletContext getServletContext() {
return delegate.getServletContext();
}
public String getServletInfo() {
return delegate.getServletInfo();
}
public String getServletName() {
return delegate.getServletName();
}
public int hashCode() {
return delegate.hashCode();
}
public void init() throws ServletException {
delegate.init();
}
public void init(ServletConfig config) throws ServletException {
delegate.init(config);
}
public void log(String message, Throwable t) {
delegate.log(message, t);
}
public void log(String msg) {
delegate.log(msg);
}
public void service(ServletRequest arg0, ServletResponse arg1)
throws ServletException, IOException {
delegate.service(arg0, arg1);
}
public String toString() {
return delegate.toString();
}
}

View File

@ -60,10 +60,15 @@ public class WebUIServlet extends DHtmlLayoutServlet
logger = CLogger.getCLogger(WebUIServlet.class); logger = CLogger.getCLogger(WebUIServlet.class);
} }
private ServletConfig servletConfig;
public void init(ServletConfig servletConfig) throws ServletException public void init(ServletConfig servletConfig) throws ServletException
{ {
super.init(servletConfig); super.init(servletConfig);
// HttpBrigde requires config
this.servletConfig = servletConfig;
/** Initialise context for the current thread*/ /** Initialise context for the current thread*/
ServerContext.newInstance(); ServerContext.newInstance();
Env.setContextProvider(new ZkContextProvider()); Env.setContextProvider(new ZkContextProvider());
@ -118,7 +123,8 @@ public class WebUIServlet extends DHtmlLayoutServlet
public ServletConfig getServletConfig() public ServletConfig getServletConfig()
{ {
return super.getServletConfig(); return servletConfig;
// return super.getServletConfig();
} }
public String getServletInfo() public String getServletInfo()

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 924 B

After

Width:  |  Height:  |  Size: 924 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 588 B

After

Width:  |  Height:  |  Size: 588 B

View File

Before

Width:  |  Height:  |  Size: 933 B

After

Width:  |  Height:  |  Size: 933 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 926 B

After

Width:  |  Height:  |  Size: 926 B

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 766 B

View File

Before

Width:  |  Height:  |  Size: 503 B

After

Width:  |  Height:  |  Size: 503 B

View File

Before

Width:  |  Height:  |  Size: 645 B

After

Width:  |  Height:  |  Size: 645 B

View File

Before

Width:  |  Height:  |  Size: 466 B

After

Width:  |  Height:  |  Size: 466 B

View File

Before

Width:  |  Height:  |  Size: 636 B

After

Width:  |  Height:  |  Size: 636 B

View File

Before

Width:  |  Height:  |  Size: 622 B

After

Width:  |  Height:  |  Size: 622 B

View File

Before

Width:  |  Height:  |  Size: 639 B

After

Width:  |  Height:  |  Size: 639 B

View File

Before

Width:  |  Height:  |  Size: 808 B

After

Width:  |  Height:  |  Size: 808 B

View File

Before

Width:  |  Height:  |  Size: 808 B

After

Width:  |  Height:  |  Size: 808 B

View File

Before

Width:  |  Height:  |  Size: 746 B

After

Width:  |  Height:  |  Size: 746 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 592 B

View File

Before

Width:  |  Height:  |  Size: 916 B

After

Width:  |  Height:  |  Size: 916 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 825 B

After

Width:  |  Height:  |  Size: 825 B

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 616 B

After

Width:  |  Height:  |  Size: 616 B

View File

Before

Width:  |  Height:  |  Size: 815 B

After

Width:  |  Height:  |  Size: 815 B

View File

Before

Width:  |  Height:  |  Size: 961 B

After

Width:  |  Height:  |  Size: 961 B

View File

Before

Width:  |  Height:  |  Size: 551 B

After

Width:  |  Height:  |  Size: 551 B

View File

Before

Width:  |  Height:  |  Size: 719 B

After

Width:  |  Height:  |  Size: 719 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 589 B

After

Width:  |  Height:  |  Size: 589 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 559 B

After

Width:  |  Height:  |  Size: 559 B

View File

Before

Width:  |  Height:  |  Size: 546 B

After

Width:  |  Height:  |  Size: 546 B

View File

Before

Width:  |  Height:  |  Size: 656 B

After

Width:  |  Height:  |  Size: 656 B

View File

Before

Width:  |  Height:  |  Size: 546 B

After

Width:  |  Height:  |  Size: 546 B

View File

Before

Width:  |  Height:  |  Size: 656 B

After

Width:  |  Height:  |  Size: 656 B

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 926 B

After

Width:  |  Height:  |  Size: 926 B

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 766 B

View File

Before

Width:  |  Height:  |  Size: 619 B

After

Width:  |  Height:  |  Size: 619 B

View File

Before

Width:  |  Height:  |  Size: 843 B

After

Width:  |  Height:  |  Size: 843 B

View File

Before

Width:  |  Height:  |  Size: 603 B

After

Width:  |  Height:  |  Size: 603 B

View File

Before

Width:  |  Height:  |  Size: 678 B

After

Width:  |  Height:  |  Size: 678 B

View File

Before

Width:  |  Height:  |  Size: 773 B

After

Width:  |  Height:  |  Size: 773 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 844 B

After

Width:  |  Height:  |  Size: 844 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 737 B

After

Width:  |  Height:  |  Size: 737 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 691 B

After

Width:  |  Height:  |  Size: 691 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 691 B

After

Width:  |  Height:  |  Size: 691 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 947 B

After

Width:  |  Height:  |  Size: 947 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 712 B

After

Width:  |  Height:  |  Size: 712 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 974 B

After

Width:  |  Height:  |  Size: 974 B

View File

Before

Width:  |  Height:  |  Size: 974 B

After

Width:  |  Height:  |  Size: 974 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 974 B

After

Width:  |  Height:  |  Size: 974 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Some files were not shown because too many files have changed in this diff Show More