* Switch to Eclipse Gemini Web 1.1.0.M02
* Converted serverApps and webStore to OSGi war bundle * Now both webui and webstore OSGi war bundle can be launch from eclipse, next to be converted is the admin and adempiere server monitor web application.
|
@ -13,4 +13,6 @@ Export-Package: org.compiere.interfaces,
|
|||
org.compiere.utils
|
||||
Require-Bundle: org.adempiere.base;bundle-version="0.0.0",
|
||||
org.adempiere.JasperReportsTools;bundle-version="1.0.0",
|
||||
org.adempiere.client;bundle-version="0.0.0"
|
||||
org.adempiere.client;bundle-version="0.0.0",
|
||||
com.springsource.javax.ejb;bundle-version="3.0.0"
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
source.JasperReports.jar = src/, build/
|
||||
source.JasperReports.jar = src/
|
||||
bin.includes = META-INF/,\
|
||||
lib/postgresql.jar,\
|
||||
lib/ocrs12.jar,\
|
||||
lib/ojdbc14.jar,\
|
||||
lib/barbecue-1.5-beta1.jar,\
|
||||
JasperReports.jar
|
||||
|
|
|
@ -197,3 +197,4 @@ Export-Package: .,
|
|||
org.syntax.jedit,
|
||||
org.syntax.jedit.tokenmarker,
|
||||
org.w3c.tools.codec
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||
|
|
|
@ -61,5 +61,7 @@ Export-Package: org.adempiere.apps.graph,
|
|||
org.compiere.util,
|
||||
org.compiere.wf
|
||||
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.5.0",
|
||||
org.adempiere.tools;bundle-version="0.0.0"
|
||||
org.adempiere.tools;bundle-version="0.0.0",
|
||||
com.springsource.javax.servlet;bundle-version="2.5.0",
|
||||
com.springsource.javax.jms;bundle-version="1.1.0"
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<project name="base" default="dist" basedir=".">
|
||||
|
||||
<description>
|
||||
This buildfile is used to build the base subproject within
|
||||
This buildfile is used to build the base subproject within
|
||||
the Adempiere project.
|
||||
</description>
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
|||
<pathelement path="../tools/lib/junit.jar"/>
|
||||
<pathelement path="../tools/lib/j2ee.jar"/>
|
||||
<pathelement path="../tools/lib/jnlp.jar"/>
|
||||
<pathelement path="../tools/lib/servlet-api.jar" />
|
||||
<pathelement path="../tools/lib/servlet-api.jar" />
|
||||
<pathelement path="../tools/lib/cron4j-2.2.1.jar" />
|
||||
</path>
|
||||
|
||||
|
@ -51,14 +51,12 @@
|
|||
<mkdir dir="${dist.dir}"/>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
<target name="compile" depends="makedir">
|
||||
<!-- compile the java code from ${src} into ${build.dir} -->
|
||||
<javac target="1.6" fork="true" destdir="${build.dir}" deprecation="on" debug="on" memoryinitialsize="512m" memorymaximumsize="512m">
|
||||
<src path="${src}"/>
|
||||
<src path="${looksSrc}"/>
|
||||
<src path="../glassfishfacet/src"/>
|
||||
<src path="../jbossfacet/src"/>
|
||||
<classpath refid="project.class.path"/>
|
||||
</javac>
|
||||
<!-- copy all image & sound files from src to the build directory -->
|
||||
|
@ -89,13 +87,6 @@
|
|||
<exclude name="**/package.html"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- copy login.conf -->
|
||||
<copy todir="${build.dir}">
|
||||
<fileset dir="../glassfishfacet/src">
|
||||
<include name="**/glassfish/login.conf"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
|
||||
|
@ -114,8 +105,8 @@
|
|||
destination="../lib"
|
||||
buildSourceJar="false"
|
||||
clean="no"/>
|
||||
</target>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="plugin-dist">
|
||||
<buildPlugin workspaceDirectory=".."
|
||||
projectName="base"
|
||||
|
@ -123,8 +114,8 @@
|
|||
destination="${env.ADEMPIERE_ROOT}/Adempiere/osgi"
|
||||
buildSourceJar="false"
|
||||
clean="no"/>
|
||||
</target>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="dist-standalone" depends="plugin">
|
||||
<copy file="${dist.dir}/${bundle.name}_${bundle.version}.jar"
|
||||
todir="${equinox.target}/dist/standalone/plugins"/>
|
||||
|
@ -143,7 +134,7 @@
|
|||
<pathelement path="./base.jar" />
|
||||
</path>
|
||||
|
||||
<target name="GenerateModel" depends="dist">
|
||||
<target name="GenerateModel" depends="dist">
|
||||
<java fork="true" classname="org.compiere.util.GenerateModel">
|
||||
<classpath refid="class.path.test" />
|
||||
<arg value="/work2/adempiere/base/src/org/compiere/model/"/>
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
|
||||
package org.compiere.interfaces;
|
||||
|
||||
import javax.ejb.Local;
|
||||
|
||||
/**
|
||||
* Local interface for adempiere/Server.
|
||||
*/
|
||||
@Local
|
||||
public interface ServerLocal extends Server{
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
package org.compiere.interfaces;
|
||||
|
||||
import javax.ejb.Remote;
|
||||
|
||||
/**
|
||||
* Remote interface for adempiere/Server
|
||||
* @author Low Heng Sin
|
||||
*
|
||||
*/
|
||||
@Remote
|
||||
public interface ServerRemote extends Server {
|
||||
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
package org.compiere.interfaces;
|
||||
|
||||
import javax.ejb.Local;
|
||||
|
||||
/**
|
||||
* Local interface for adempiere/Status.
|
||||
*/
|
||||
@Local
|
||||
public interface StatusLocal extends Status {
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package org.compiere.interfaces;
|
||||
|
||||
import javax.ejb.Remote;
|
||||
|
||||
/**
|
||||
* Remote interface for adempiere/Status
|
||||
* @author Low Heng Sin
|
||||
*
|
||||
*/
|
||||
@Remote
|
||||
public interface StatusRemote extends Status {
|
||||
}
|
|
@ -1,8 +1,4 @@
|
|||
source.client.jar = src/,build/
|
||||
source.client.jar = src/
|
||||
bin.includes = META-INF/,\
|
||||
lib/swingx-0.9.0.jar,\
|
||||
lib/groovy-all-1.5.1.jar,\
|
||||
lib/jcommon-1.0.14.jar,\
|
||||
lib/jfreechart-1.0.11.jar,\
|
||||
client.jar,\
|
||||
plugin.xml
|
||||
|
|
|
@ -10,16 +10,16 @@
|
|||
<booleanAttribute key="default" value="true"/>
|
||||
<booleanAttribute key="default_auto_start" value="true"/>
|
||||
<intAttribute key="default_start_level" value="4"/>
|
||||
<stringAttribute key="deselected_workspace_plugins" value="org.adempiere.base.TestPlugin,org.adempiere.install,org.adempiere.pluginUtils,org.adempiere.plugin.list,webui.war"/>
|
||||
<stringAttribute key="deselected_workspace_plugins" value="org.adempiere.base.TestPlugin,org.adempiere.install,org.adempiere.plugin.list,wstore.war,org.adempiere.pluginUtils,webui.war,org.adempiere.serverApps"/>
|
||||
<booleanAttribute key="includeOptional" value="true"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog -console -application org.adempiere.Client"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dosgi.noShutdown=true -DPropertyFile=/media/W/Workspace/hengsin/trunk-local.properties"/>
|
||||
<stringAttribute key="pde.version" value="3.3"/>
|
||||
<booleanAttribute key="show_selected_only" value="false"/>
|
||||
<stringAttribute key="target_bundles" value="org.eclipse.update.configurator@3:true,org.eclipse.equinox.registry@default:default,org.eclipse.osgi@-1:true,org.eclipse.equinox.common@2:true,org.eclipse.core.contenttype@default:default,org.eclipse.equinox.launcher@default:default,org.eclipse.equinox.preferences@default:default,org.eclipse.core.jobs@default:default,org.eclipse.core.runtime@default:true,org.eclipse.osgi.services@default:default,org.eclipse.equinox.app@default:default"/>
|
||||
<stringAttribute key="target_bundles" value="org.eclipse.equinox.app@default:default,org.eclipse.core.runtime@default:true,org.eclipse.core.contenttype@default:default,org.eclipse.equinox.common@2:true,org.eclipse.osgi@-1:true,org.eclipse.osgi.services@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.core.jobs@default:default,org.eclipse.equinox.launcher@default:default,org.eclipse.update.configurator@3:true,org.eclipse.equinox.preferences@default:default"/>
|
||||
<booleanAttribute key="tracing" value="false"/>
|
||||
<booleanAttribute key="useCustomFeatures" value="false"/>
|
||||
<booleanAttribute key="useDefaultConfigArea" value="true"/>
|
||||
<stringAttribute key="workspace_bundles" value="org.adempiere.base@default:default,org.adempiere.pipo@default:default,org.adempiere.client@default:default,org.adempiere.tools@default:default,org.adempiere.JasperReportsTools@default:default,JasperReports@default:default"/>
|
||||
<stringAttribute key="workspace_bundles" value="org.adempiere.base@default:default,org.adempiere.JasperReportsTools@default:default,org.adempiere.client@default:default,org.adempiere.pipo@default:default,org.adempiere.tools@default:default,JasperReports@default:default"/>
|
||||
</launchConfiguration>
|
||||
|
|
|
@ -10,16 +10,17 @@
|
|||
<booleanAttribute key="default" value="true"/>
|
||||
<booleanAttribute key="default_auto_start" value="true"/>
|
||||
<intAttribute key="default_start_level" value="4"/>
|
||||
<stringAttribute key="deselected_workspace_plugins" value="org.adempiere.base.TestPlugin,org.adempiere.pipo,org.adempiere.install,org.adempiere.pluginUtils,org.adempiere.plugin.list"/>
|
||||
<stringAttribute key="deselected_workspace_plugins" value="org.adempiere.base.TestPlugin,org.adempiere.install,org.adempiere.plugin.list,org.adempiere.pipo,org.adempiere.pluginUtils"/>
|
||||
<booleanAttribute key="includeOptional" value="true"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog -console"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Declipse.ignoreApp=true -Dosgi.noShutdown=true -DPropertyFile=${workspace_loc}/adempiere-local.properties -DADEMPIERE_HOME=${workspace_loc}"/>
|
||||
<stringAttribute key="pde.version" value="3.3"/>
|
||||
<booleanAttribute key="show_selected_only" value="false"/>
|
||||
<stringAttribute key="target_bundles" value="com.springsource.net.sf.cglib@default:default,org.apache.xml.serializer@default:default,org.springframework.beans@default:default,com.springsource.javax.annotation@default:default,com.springsource.javax.el@default:default,org.springframework.osgi.web@default:default,org.apache.xml.resolver@default:default,org.springframework.context@default:default,org.springframework.osgi.catalina.start.osgi@default:default,com.springsource.javax.xml.ws@default:default,com.springsource.org.apache.jasper.org.eclipse.jdt@default:default,com.springsource.javax.xml.stream@default:default,org.eclipse.osgi@-1:true,org.springframework.osgi.extender@default:default,org.eclipse.core.jobs@default:default,com.springsource.javax.mail@default:default,org.eclipse.core.runtime@default:true,com.springsource.javax.activation@default:default,com.springsource.javax.xml.bind@default:default,com.springsource.org.apache.catalina@default:default,com.springsource.org.apache.jasper@default:false,com.springsource.org.apache.juli.extras@default:default,com.springsource.org.apache.coyote@default:false,javax.xml@default:default,org.eclipse.update.configurator@3:true,org.eclipse.osgi.services@default:default,org.eclipse.equinox.common@2:true,com.springsource.javax.xml.rpc@default:default,com.springsource.javax.servlet.jsp@default:default,org.springframework.osgi.web.extender@default:default,org.eclipse.core.contenttype@default:default,com.springsource.javax.persistence@default:default,com.springsource.javax.ejb@default:default,org.eclipse.equinox.registry@default:default,com.springsource.javax.servlet@default:default,org.eclipse.equinox.launcher@default:default,com.springsource.javax.xml.soap@default:default,org.eclipse.equinox.preferences@default:default,org.springframework.core@default:default,com.springsource.org.apache.commons.logging@default:default,org.springframework.osgi.core@default:default,org.eclipse.equinox.app@default:default,org.springframework.aop@default:default,org.apache.xerces@default:default,com.springsource.org.apache.el@default:default,org.springframework.osgi.io@default:default,com.springsource.org.aopalliance@default:default"/>
|
||||
<stringAttribute key="target_bundles" value="com.springsource.javax.annotation@default:default,com.springsource.org.apache.jasper.springsource@default:false,org.eclipse.virgo.util.io@default:default,org.eclipse.gemini.web.core@default:default,org.apache.xml.serializer@default:default,com.springsource.org.apache.catalina.springsource@default:default,org.eclipse.core.runtime@default:true,org.apache.xerces@default:default,com.springsource.org.apache.coyote.springsource@default:false,com.springsource.javax.mail@default:default,org.eclipse.equinox.common@2:true,org.eclipse.osgi@-1:true,com.springsource.javax.servlet@default:default,com.springsource.javax.jms@default:default,org.eclipse.equinox.launcher@default:default,org.eclipse.virgo.util.parser.manifest@default:default,org.eclipse.equinox.app@default:default,org.springframework.core@default:default,com.springsource.javax.persistence@default:default,com.springsource.org.apache.commons.logging@default:default,com.springsource.javax.xml.stream@default:default,org.eclipse.update.configurator@3:true,org.springframework.osgi.core@default:default,com.springsource.javax.xml.soap@default:default,com.springsource.slf4j.api@default:false,com.springsource.org.apache.juli.extras.springsource@default:default,org.eclipse.core.contenttype@default:default,com.springsource.net.sf.cglib@default:default,org.eclipse.virgo.util.math@default:default,com.springsource.javax.xml.bind@default:default,org.eclipse.equinox.preferences@default:default,com.springsource.javax.activation@default:default,com.springsource.javax.xml.ws@1:default,com.springsource.javax.el@default:default,com.springsource.org.aopalliance@default:default,javax.xml@default:default,org.eclipse.virgo.util.osgi@default:default,com.springsource.slf4j.nop@default:false,org.eclipse.osgi.services@default:default,org.eclipse.gemini.web.tomcat@default:default,org.springframework.osgi.io@default:default,com.springsource.org.apache.el.springsource@default:default,org.eclipse.core.jobs@default:default,com.springsource.javax.xml.rpc@default:default,org.eclipse.virgo.util.common@default:default,org.eclipse.equinox.registry@default:default,org.springframework.beans@default:default,com.springsource.javax.ejb@default:default,org.eclipse.gemini.web.extender@default:default,org.springframework.aop@default:default,org.springframework.context@default:default,org.apache.xml.resolver@default:default,com.springsource.javax.servlet.jsp@default:default,com.springsource.org.apache.jasper.org.eclipse.jdt.springsource@default:default"/>
|
||||
<stringAttribute key="timestamp" value="1278667578549"/>
|
||||
<booleanAttribute key="tracing" value="false"/>
|
||||
<booleanAttribute key="useCustomFeatures" value="false"/>
|
||||
<booleanAttribute key="useDefaultConfigArea" value="true"/>
|
||||
<stringAttribute key="workspace_bundles" value="org.adempiere.base@default:default,webui.war@default:default,org.adempiere.client@default:default,org.adempiere.tools@default:default,org.adempiere.JasperReportsTools@default:default,JasperReports@default:default"/>
|
||||
<stringAttribute key="workspace_bundles" value="org.adempiere.JasperReportsTools@default:default,org.adempiere.wstore@default:default,org.adempiere.base@default:default,JasperReports@default:default,org.adempiere.webui@default:default,org.adempiere.client@default:default,org.adempiere.tools@default:default,org.adempiere.serverApps@default:default"/>
|
||||
</launchConfiguration>
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
[Dolphin]
|
||||
AdditionalInfo=3
|
||||
Timestamp=2010,7,9,12,19,24
|
||||
ViewMode=1
|
||||
|
||||
[Settings]
|
||||
ShowDotFiles=true
|
|
@ -17,3 +17,4 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="3.5.0",
|
|||
org.adempiere.client;bundle-version="0.0.0",
|
||||
org.adempiere.tools;bundle-version="0.0.0"
|
||||
Bundle-Activator: org.compiere.install.Activator
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
source.install.jar = src/,build/
|
||||
source.install.jar = src/
|
||||
bin.includes = META-INF/,\
|
||||
lib/ant.jar,\
|
||||
lib/ant-commons-net.jar,\
|
||||
lib/ant-launcher.jar,\
|
||||
lib/commons-net-1.4.0.jar,\
|
||||
lib/ocrs12.jar,\
|
||||
lib/ojdbc14.jar,\
|
||||
install.jar,\
|
||||
plugin.xml
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src/main/servlet"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="src" path="/base"/>
|
||||
<classpathentry kind="src" path="/tools"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/client"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-beanutils-bean-collections.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-beanutils-core.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-beanutils.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-codec-1.3.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-collections-3.1.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-digester-1.7.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-fileupload.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-lang-2.1.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-validator-1.2.0.jar"/>
|
||||
<classpathentry kind="output" path="build/war"/>
|
||||
</classpath>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src/main/servlet"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="src" path="/base"/>
|
||||
<classpathentry kind="src" path="/tools"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/client"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-beanutils-bean-collections.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-beanutils-core.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-beanutils.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-codec-1.3.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-collections-3.1.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-digester-1.7.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-fileupload.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-lang-2.1.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="src/web/WEB-INF/lib/commons-validator-1.2.0.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
||||
<classpathentry kind="output" path="build/classes"/>
|
||||
</classpath>
|
||||
|
|
|
@ -1,26 +1,32 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>serverApps</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
<project>base</project>
|
||||
<project>dbPort</project>
|
||||
<project>looks</project>
|
||||
<project>tools</project>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.ibm.etools.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>serverApps</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
<project>base</project>
|
||||
<project>dbPort</project>
|
||||
<project>looks</project>
|
||||
<project>tools</project>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.pde.ManifestBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.pde.SchemaBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.pde.PluginNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
|
|
|
@ -0,0 +1,64 @@
|
|||
Manifest-Version: 1.0
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: serverApps
|
||||
Bundle-SymbolicName: org.adempiere.serverApps;singleton:=true
|
||||
Bundle-Version: 0.0.0.1
|
||||
Bundle-ClassPath: serverApps.jar,
|
||||
src/web/WEB-INF/lib/commons-beanutils-bean-collections.jar,
|
||||
src/web/WEB-INF/lib/commons-beanutils-core.jar,
|
||||
src/web/WEB-INF/lib/commons-beanutils.jar,
|
||||
src/web/WEB-INF/lib/commons-codec-1.3.jar,
|
||||
src/web/WEB-INF/lib/commons-collections-3.1.jar,
|
||||
src/web/WEB-INF/lib/commons-digester-1.7.jar,
|
||||
src/web/WEB-INF/lib/commons-fileupload.jar,
|
||||
src/web/WEB-INF/lib/commons-lang-2.1.jar,
|
||||
src/web/WEB-INF/lib/commons-validator-1.2.0.jar
|
||||
Eclipse-RegisterBuddy: org.adempiere.tools
|
||||
Require-Bundle: org.eclipse.osgi.services;bundle-version="3.1.100",
|
||||
org.eclipse.core.runtime;bundle-version="3.5.0",
|
||||
org.apache.xerces;bundle-version="2.9.0",
|
||||
org.apache.xml.serializer;bundle-version="2.7.1",
|
||||
com.springsource.javax.servlet;bundle-version="2.5.0",
|
||||
org.adempiere.client;bundle-version="0.0.0",
|
||||
org.adempiere.base;bundle-version="0.0.0",
|
||||
org.adempiere.tools;bundle-version="0.0.0",
|
||||
com.springsource.javax.servlet.jsp;bundle-version="2.1.0"
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||
Export-Package: org.apache.commons.beanutils,
|
||||
org.apache.commons.beanutils.converters,
|
||||
org.apache.commons.beanutils.locale,
|
||||
org.apache.commons.beanutils.locale.converters,
|
||||
org.apache.commons.codec,
|
||||
org.apache.commons.codec.binary,
|
||||
org.apache.commons.codec.digest,
|
||||
org.apache.commons.codec.language,
|
||||
org.apache.commons.codec.net,
|
||||
org.apache.commons.collections,
|
||||
org.apache.commons.collections.bag,
|
||||
org.apache.commons.collections.bidimap,
|
||||
org.apache.commons.collections.buffer,
|
||||
org.apache.commons.collections.collection,
|
||||
org.apache.commons.collections.comparators,
|
||||
org.apache.commons.collections.functors,
|
||||
org.apache.commons.collections.iterators,
|
||||
org.apache.commons.collections.keyvalue,
|
||||
org.apache.commons.collections.list,
|
||||
org.apache.commons.collections.map,
|
||||
org.apache.commons.collections.set,
|
||||
org.apache.commons.digester,
|
||||
org.apache.commons.digester.parser,
|
||||
org.apache.commons.digester.plugins,
|
||||
org.apache.commons.digester.plugins.strategies,
|
||||
org.apache.commons.digester.substitution,
|
||||
org.apache.commons.digester.xmlrules,
|
||||
org.apache.commons.fileupload,
|
||||
org.apache.commons.lang,
|
||||
org.apache.commons.lang.builder,
|
||||
org.apache.commons.lang.enums,
|
||||
org.apache.commons.lang.exception,
|
||||
org.apache.commons.lang.math,
|
||||
org.apache.commons.lang.mutable,
|
||||
org.apache.commons.lang.time,
|
||||
org.apache.commons.validator,
|
||||
org.apache.commons.validator.util,
|
||||
org.compiere.wstore
|
|
@ -0,0 +1,16 @@
|
|||
output.serverApps.jar = build/classes
|
||||
source.serverApps.jar = src/main/servlet/
|
||||
bin.includes = META-INF/,\
|
||||
serverApps.jar,\
|
||||
src/web/WEB-INF/lib/commons-beanutils-bean-collections.jar,\
|
||||
src/web/WEB-INF/lib/commons-beanutils-core.jar,\
|
||||
src/web/WEB-INF/lib/commons-beanutils.jar,\
|
||||
src/web/WEB-INF/lib/commons-codec-1.3.jar,\
|
||||
src/web/WEB-INF/lib/commons-collections-3.1.jar,\
|
||||
src/web/WEB-INF/lib/commons-digester-1.7.jar,\
|
||||
src/web/WEB-INF/lib/commons-fileupload.jar,\
|
||||
src/web/WEB-INF/lib/commons-lang-2.1.jar,\
|
||||
src/web/WEB-INF/lib/commons-validator-1.2.0.jar
|
||||
src.includes = src/
|
||||
jars.compile.order = serverApps.jar
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<!-- ============================================= -->
|
||||
<!-- $Header: /cvs/adempiere/serverApps/build.xml,v 1.14 2006/08/07 18:23:48 possibilityforge Exp $-->
|
||||
|
||||
<project name="adempiereApps" default="main" basedir=".">
|
||||
<project name="adempiereApps" default="serverAppsDeployServer" basedir=".">
|
||||
|
||||
<!--<property environment="env"/>-->
|
||||
<import file="../utils_dev/properties.xml"/>
|
||||
|
@ -12,17 +12,14 @@
|
|||
<property name="src.dir" value="${basedir}/src"/>
|
||||
<property name="src.main.dir" value="${src.dir}/main"/>
|
||||
<property name="src.client.dir" value="${src.main.dir}/client"/>
|
||||
<property name="src.ejb.dir" value="${src.main.dir}/ejb"/>
|
||||
<property name="src.servlet.dir" value="${src.main.dir}/servlet"/>
|
||||
<property name="src.resources.dir" value="${src.dir}/resources"/>
|
||||
<property name="src.web.dir" value="${src.dir}/web"/>
|
||||
<property name="src.etc.dir" value="${src.dir}/etc"/>
|
||||
<property name="src.server.dir" value="${src.main.dir}/server"/>
|
||||
|
||||
<property name="build.dir" value="${basedir}/build"/>
|
||||
<property name="build.classes.dir" value="${build.dir}/classes"/>
|
||||
<property name="build.tmp.dir" value="${build.dir}/tmp"/>
|
||||
<property name="build.deploy.dir" value="${build.dir}/deploy"/>
|
||||
<property name="build.war.dir" value="${build.dir}/war"/>
|
||||
<property name="build.jar.dir" value="${build.dir}/jar"/>
|
||||
|
||||
<target name="serverAppsInit">
|
||||
|
@ -43,24 +40,19 @@
|
|||
<!-- =========================================== -->
|
||||
<target name="serverAppsCompile" depends="serverAppsInit">
|
||||
|
||||
<mkdir dir="${build.dir}"/>
|
||||
<!-- Compile Web -->
|
||||
<mkdir dir="${build.war.dir}"/>
|
||||
<path id="web.path">
|
||||
<path refid="base.path"/>
|
||||
<pathelement location="${servlet-lib.path}"/>
|
||||
</path>
|
||||
|
||||
<javac
|
||||
target="1.5"
|
||||
destdir="${build.war.dir}"
|
||||
target="1.5"
|
||||
destdir="${build.classes.dir}"
|
||||
debug="on"
|
||||
deprecation="off"
|
||||
optimize="on"
|
||||
classpathref="web.path">
|
||||
classpathref="base.path">
|
||||
<src path="${src.servlet.dir}"/>
|
||||
</javac>
|
||||
|
||||
<copy todir="${build.war.dir}">
|
||||
|
||||
<copy todir="${build.classes.dir}">
|
||||
<fileset dir="${src.servlet.dir}">
|
||||
<include name="**/images/*"/>
|
||||
<include name="**/*.gif"/>
|
||||
|
@ -85,7 +77,7 @@
|
|||
<jar
|
||||
jarfile="${build.jar.dir}/adempiereApps.jar">
|
||||
<fileset
|
||||
dir="${build.war.dir}"
|
||||
dir="${build.classes.dir}"
|
||||
includes="**/*.*">
|
||||
</fileset>
|
||||
<manifest>
|
||||
|
@ -102,59 +94,25 @@
|
|||
|
||||
</target>
|
||||
|
||||
<!-- =========================================== -->
|
||||
<!-- Creates the war archives -->
|
||||
<!-- =========================================== -->
|
||||
<target name="serverAppsWar" depends="serverAppsJar">
|
||||
<mkdir dir="${build.deploy.dir}"/>
|
||||
|
||||
<!-- War Web Descriptor -->
|
||||
<war
|
||||
warfile="${build.deploy.dir}/adempiereApps.war"
|
||||
webxml="${src.web.dir}/WEB-INF/web.xml">
|
||||
<fileset dir="${src.web.dir}" excludes="**/web.xml,**/classes/**"/>
|
||||
<manifest>
|
||||
<attribute name="Specification-Title" value="AdempiereAppsWar"/>
|
||||
<attribute name="Specification-Version" value="${env.ADEMPIERE_VERSION}"/>
|
||||
<attribute name="Specification-Vendor" value="Adempiere"/>
|
||||
<attribute name="Implementation-Title" value="AdempiereAppsWar ${env.ADEMPIERE_VERSION}"/>
|
||||
<attribute name="Implementation-Version" value="${env.ADEMPIERE_VERSION} ${DSTAMP}-${TSTAMP}"/>
|
||||
<attribute name="Implementation-Vendor" value="${env.ADEMPIERE_VENDOR}"/>
|
||||
<attribute name="Implementation-URL" value="http://www.adempiere.com"/>
|
||||
<attribute name="Class-Path" value="Adempiere.jar AdempiereSLib.jar"/>
|
||||
</manifest>
|
||||
</war>
|
||||
</target>
|
||||
|
||||
<!-- =========================================== -->
|
||||
<!-- Creates the server binary -->
|
||||
<!-- =========================================== -->
|
||||
<target name="serverAppsDeployServer" depends="serverAppsWar">
|
||||
<target name="serverAppsDeployServer" depends="serverAppsJar">
|
||||
<copy todir="../lib">
|
||||
<fileset dir="${build.deploy.dir}"
|
||||
includes="*.jar,*.war,*.ear"/>
|
||||
<fileset dir="${build.jar.dir}"
|
||||
includes="*.jar,*.war,*.ear"/>
|
||||
<fileset dir="${build.deploy.dir}"
|
||||
includes="*.jar"/>
|
||||
<fileset dir="${build.jar.dir}"
|
||||
includes="*.jar"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- =========================================== -->
|
||||
<!-- Creates the binary structure -->
|
||||
<!-- =========================================== -->
|
||||
<target name="main" depends="serverAppsDeployServer">
|
||||
<copy file="src/ear/application.xml" tofile="../lib/adempiereApps.xml" />
|
||||
</target>
|
||||
|
||||
|
||||
<!-- =========================================== -->
|
||||
<!-- Cleans up the current build -->
|
||||
<!-- =========================================== -->
|
||||
<target name="clean">
|
||||
<delete dir="${build.dir}"/>
|
||||
<delete file="../lib/adempiereApps.war" failonerror="false"/>
|
||||
<delete file="../lib/adempiereApps.jar" failonerror="false"/>
|
||||
<delete file="../lib/adempiereApps.xml" failonerror="false"/>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<application xmlns="http://java.sun.com/xml/ns/javaee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"
|
||||
version="5">
|
||||
<display-name>ADempiere HTML Application</display-name>
|
||||
<module>
|
||||
<java>AdempiereSLib.jar</java>
|
||||
</module>
|
||||
<module>
|
||||
<java>Adempiere.jar</java>
|
||||
</module>
|
||||
<module>
|
||||
<java>adempiereApps.jar</java>
|
||||
</module>
|
||||
<module>
|
||||
<web>
|
||||
<web-uri>adempiereApps.war</web-uri>
|
||||
<context-root>/adempiere</context-root>
|
||||
</web>
|
||||
</module>
|
||||
</application>
|
|
@ -1,195 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app 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"
|
||||
version="2.4">
|
||||
<display-name>Adempiere Application</display-name>
|
||||
<description>Adempiere Web Application $Id: web.xml,v 1.1 2006/04/21 18:03:35 jjanke Exp $</description>
|
||||
<context-param>
|
||||
<param-name>ADEMPIERE_HOME</param-name>
|
||||
<param-value>$USER_INSTALL_DIR$</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>ADEMPIERE_LICENSE</param-name>
|
||||
<param-value>OpenSource</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>ADEMPIERE_PRODUCT</param-name>
|
||||
<param-value>1</param-value>
|
||||
</context-param>
|
||||
<servlet>
|
||||
<servlet-name>Test</servlet-name>
|
||||
<servlet-class>org.compiere.www.Test</servlet-class>
|
||||
<init-param>
|
||||
<param-name>debug</param-name>
|
||||
<param-value>1</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>Test2</servlet-name>
|
||||
<servlet-class>org.compiere.www.Test2</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WAccount</servlet-name>
|
||||
<servlet-class>org.compiere.www.WAccount</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WChat</servlet-name>
|
||||
<servlet-class>org.compiere.www.WChat</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WValuePreference</servlet-name>
|
||||
<servlet-class>org.compiere.www.WValuePreference</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WZoom</servlet-name>
|
||||
<servlet-class>org.compiere.www.WZoom</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WCounter</servlet-name>
|
||||
<servlet-class>org.compiere.wstore.WCounter</servlet-class>
|
||||
<load-on-startup>15</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WFieldUpdate</servlet-name>
|
||||
<servlet-class>org.compiere.www.WFieldUpdate</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WLocation</servlet-name>
|
||||
<servlet-class>org.compiere.www.WLocation</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WLogin</servlet-name>
|
||||
<servlet-class>org.compiere.www.WLogin</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WLookup</servlet-name>
|
||||
<servlet-class>org.compiere.www.WLookup</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WMenu</servlet-name>
|
||||
<servlet-class>org.compiere.www.WMenu</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WProcess</servlet-name>
|
||||
<servlet-class>org.compiere.www.WProcess</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WReport</servlet-name>
|
||||
<servlet-class>org.compiere.www.WReport</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WRequest</servlet-name>
|
||||
<servlet-class>org.compiere.wstore.WRequest</servlet-class>
|
||||
<load-on-startup>10</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WStart</servlet-name>
|
||||
<servlet-class>org.compiere.www.WStart</servlet-class>
|
||||
<load-on-startup>10</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WStatus</servlet-name>
|
||||
<servlet-class>org.compiere.www.WStatus</servlet-class>
|
||||
<init-param>
|
||||
<param-name>StatusInfo</param-name>
|
||||
<param-value>Y</param-value>
|
||||
</init-param>
|
||||
<load-on-startup>5</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WTask</servlet-name>
|
||||
<servlet-class>org.compiere.www.WTask</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WWindow</servlet-name>
|
||||
<servlet-class>org.compiere.www.WWindow</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>WWorkflow</servlet-name>
|
||||
<servlet-class>org.compiere.www.WWorkflow</servlet-class>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>Test</servlet-name>
|
||||
<url-pattern>/Test</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>Test2</servlet-name>
|
||||
<url-pattern>/Test2</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WAccount</servlet-name>
|
||||
<url-pattern>/WAccount</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WChat</servlet-name>
|
||||
<url-pattern>/WChat</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WValuePreference</servlet-name>
|
||||
<url-pattern>/WValuePreference</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WZoom</servlet-name>
|
||||
<url-pattern>/WZoom</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WCounter</servlet-name>
|
||||
<url-pattern>/WCounter</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WFieldUpdate</servlet-name>
|
||||
<url-pattern>/WFieldUpdate</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WLocation</servlet-name>
|
||||
<url-pattern>/WLocation</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WLogin</servlet-name>
|
||||
<url-pattern>/WLogin</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WLookup</servlet-name>
|
||||
<url-pattern>/WLookup</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WMenu</servlet-name>
|
||||
<url-pattern>/WMenu</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WProcess</servlet-name>
|
||||
<url-pattern>/WProcess</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WReport</servlet-name>
|
||||
<url-pattern>/WReport</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WRequest</servlet-name>
|
||||
<url-pattern>/WRequest</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WStart</servlet-name>
|
||||
<url-pattern>/WStart</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WStatus</servlet-name>
|
||||
<url-pattern>/WStatus</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WTask</servlet-name>
|
||||
<url-pattern>/WTask</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WWindow</servlet-name>
|
||||
<url-pattern>/WWindow</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WWorkflow</servlet-name>
|
||||
<url-pattern>/WWorkflow</url-pattern>
|
||||
</servlet-mapping>
|
||||
<session-config>
|
||||
<session-timeout>15</session-timeout>
|
||||
</session-config>
|
||||
</web-app>
|
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 766 B |
|
@ -1,242 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Jorg Janke (ComPiere, Inc.) -->
|
||||
<web-app 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"
|
||||
version="2.4">
|
||||
<display-name>Adempiere Web Application</display-name>
|
||||
<description>$Id: web.xml,v 1.1 2009/04/15 11:30:04 vinhpt Exp $</description>
|
||||
<context-param>
|
||||
<param-name>AD_Client_ID</param-name>
|
||||
<param-value>0</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>ServerApps</param-name>
|
||||
<param-value>1</param-value>
|
||||
</context-param>
|
||||
<filter>
|
||||
<display-name>Adempiere Web Filter</display-name>
|
||||
<filter-name>WFilter</filter-name>
|
||||
<filter-class>org.compiere.www.WFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>Timing</param-name>
|
||||
<param-value>Y</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>WFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<servlet>
|
||||
<display-name>Adempiere Account</display-name>
|
||||
<servlet-name>WAccount</servlet-name>
|
||||
<servlet-class>org.compiere.www.WAccount</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Counter</display-name>
|
||||
<servlet-name>WCounter</servlet-name>
|
||||
<servlet-class>org.compiere.wstore.Counter</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Field Update</display-name>
|
||||
<servlet-name>WFieldUpdate</servlet-name>
|
||||
<servlet-class>org.compiere.www.WFieldUpdate</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Location</display-name>
|
||||
<servlet-name>WLocation</servlet-name>
|
||||
<servlet-class>org.compiere.www.WLocation</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Login</display-name>
|
||||
<servlet-name>WLogin</servlet-name>
|
||||
<servlet-class>org.compiere.www.WLogin</servlet-class>
|
||||
<load-on-startup>2</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Lookup</display-name>
|
||||
<servlet-name>WLookup</servlet-name>
|
||||
<servlet-class>org.compiere.www.WLookup</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Menu</display-name>
|
||||
<servlet-name>WMenu</servlet-name>
|
||||
<servlet-class>org.compiere.www.WMenu</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Process</display-name>
|
||||
<servlet-name>WProcess</servlet-name>
|
||||
<servlet-class>org.compiere.www.WProcess</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Report</display-name>
|
||||
<servlet-name>WReport</servlet-name>
|
||||
<servlet-class>org.compiere.www.WReport</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Chat</display-name>
|
||||
<servlet-name>WChat</servlet-name>
|
||||
<servlet-class>org.compiere.www.WChat</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Value Preference</display-name>
|
||||
<servlet-name>WValuePreference</servlet-name>
|
||||
<servlet-class>org.compiere.www.WValuePreference</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Zoom</display-name>
|
||||
<servlet-name>WZoom</servlet-name>
|
||||
<servlet-class>org.compiere.www.WZoom</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Help</display-name>
|
||||
<servlet-name>WHelp</servlet-name>
|
||||
<servlet-class>org.compiere.www.WHelp</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Attachment</display-name>
|
||||
<servlet-name>WAttachment</servlet-name>
|
||||
<servlet-class>org.compiere.www.WAttachment</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Web Requests</display-name>
|
||||
<servlet-name>WRequest</servlet-name>
|
||||
<servlet-class>org.compiere.wstore.RequestServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Start</display-name>
|
||||
<servlet-name>WStart</servlet-name>
|
||||
<servlet-class>org.compiere.www.WStart</servlet-class>
|
||||
<load-on-startup>2</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Status - first to load</display-name>
|
||||
<servlet-name>WStatus</servlet-name>
|
||||
<servlet-class>org.compiere.www.WStatus</servlet-class>
|
||||
<init-param>
|
||||
<param-name>StatusInfo</param-name>
|
||||
<param-value>Y</param-value>
|
||||
</init-param>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Task</display-name>
|
||||
<servlet-name>WTask</servlet-name>
|
||||
<servlet-class>org.compiere.www.WTask</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Application Window</display-name>
|
||||
<servlet-name>WWindow</servlet-name>
|
||||
<servlet-class>org.compiere.www.WWindow</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere Workflow</display-name>
|
||||
<servlet-name>WWorkflow</servlet-name>
|
||||
<servlet-class>org.compiere.www.WWorkflow</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere History</display-name>
|
||||
<servlet-name>WHistory</servlet-name>
|
||||
<servlet-class>org.compiere.www.WHistory</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<display-name>Adempiere FindAdv</display-name>
|
||||
<servlet-name>WFindAdv</servlet-name>
|
||||
<servlet-class>org.compiere.www.WFindAdv</servlet-class>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WAccount</servlet-name>
|
||||
<url-pattern>/WAccount</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WCounter</servlet-name>
|
||||
<url-pattern>/WCounter</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WFieldUpdate</servlet-name>
|
||||
<url-pattern>/WFieldUpdate</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WLocation</servlet-name>
|
||||
<url-pattern>/WLocation</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WLogin</servlet-name>
|
||||
<url-pattern>/WLogin</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WLookup</servlet-name>
|
||||
<url-pattern>/WLookup</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WMenu</servlet-name>
|
||||
<url-pattern>/WMenu</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WProcess</servlet-name>
|
||||
<url-pattern>/WProcess</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WReport</servlet-name>
|
||||
<url-pattern>/WReport</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WChat</servlet-name>
|
||||
<url-pattern>/WChat</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WValuePreference</servlet-name>
|
||||
<url-pattern>/WValuePreference</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WZoom</servlet-name>
|
||||
<url-pattern>/WZoom</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WHelp</servlet-name>
|
||||
<url-pattern>/WHelp</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WAttachment</servlet-name>
|
||||
<url-pattern>/WAttachment</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WRequest</servlet-name>
|
||||
<url-pattern>/WRequest</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WStart</servlet-name>
|
||||
<url-pattern>/WStart</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WStatus</servlet-name>
|
||||
<url-pattern>/WStatus</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WTask</servlet-name>
|
||||
<url-pattern>/WTask</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WWindow</servlet-name>
|
||||
<url-pattern>/WWindow</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WWorkflow</servlet-name>
|
||||
<url-pattern>/WWorkflow</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WHistory</servlet-name>
|
||||
<url-pattern>/WHistory</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WFindAdv</servlet-name>
|
||||
<url-pattern>/WFindAdv</url-pattern>
|
||||
</servlet-mapping>
|
||||
<session-config>
|
||||
<session-timeout>15</session-timeout>
|
||||
</session-config>
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.html</welcome-file>
|
||||
</welcome-file-list>
|
||||
</web-app>
|
|
@ -1,157 +0,0 @@
|
|||
<!--
|
||||
Title: Tigra Calendar
|
||||
URL: http://www.softcomplex.com/products/tigra_calendar/
|
||||
Version: 3.2
|
||||
Date: 05/18/2006
|
||||
Feedback: feedback@softcomplex.com (specify product title in the subject)
|
||||
Note: Permission given to use this script in ANY kind of applications if
|
||||
header lines are left unchanged.
|
||||
Note: Script consists of two files: calendar?.js and calendar.html
|
||||
About us: Our company provides offshore IT consulting services.
|
||||
Contact us at sales@softcomplex.com if you have any programming task you
|
||||
want to be handled by professionals. Our typical hourly rate is $20.
|
||||
-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Select Date, Please.</title>
|
||||
<style>
|
||||
td {font-family: Tahoma, Verdana, sans-serif; font-size: 12px;}
|
||||
</style>
|
||||
<script language="JavaScript">
|
||||
|
||||
// months as they appear in the calendar's title
|
||||
var ARR_MONTHS = ["January", "February", "March", "April", "May", "June",
|
||||
"July", "August", "September", "October", "November", "December"];
|
||||
// week day titles as they appear on the calendar
|
||||
var ARR_WEEKDAYS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
|
||||
// day week starts from (normally 0-Su or 1-Mo)
|
||||
var NUM_WEEKSTART = 1;
|
||||
// path to the directory where calendar images are stored. trailing slash req.
|
||||
var STR_ICONPATH = 'img/';
|
||||
|
||||
var re_url = new RegExp('datetime=(\\-?\\d+)');
|
||||
var dt_current = (re_url.exec(String(window.location))
|
||||
? new Date(new Number(RegExp.$1)) : new Date());
|
||||
var re_id = new RegExp('id=(\\d+)');
|
||||
var num_id = (re_id.exec(String(window.location))
|
||||
? new Number(RegExp.$1) : 0);
|
||||
var obj_caller = (window.opener ? window.opener.calendars[num_id] : null);
|
||||
|
||||
if (obj_caller && obj_caller.year_scroll) {
|
||||
// get same date in the previous year
|
||||
var dt_prev_year = new Date(dt_current);
|
||||
dt_prev_year.setFullYear(dt_prev_year.getFullYear() - 1);
|
||||
if (dt_prev_year.getDate() != dt_current.getDate())
|
||||
dt_prev_year.setDate(0);
|
||||
|
||||
// get same date in the next year
|
||||
var dt_next_year = new Date(dt_current);
|
||||
dt_next_year.setFullYear(dt_next_year.getFullYear() + 1);
|
||||
if (dt_next_year.getDate() != dt_current.getDate())
|
||||
dt_next_year.setDate(0);
|
||||
}
|
||||
|
||||
// get same date in the previous month
|
||||
var dt_prev_month = new Date(dt_current);
|
||||
dt_prev_month.setMonth(dt_prev_month.getMonth() - 1);
|
||||
if (dt_prev_month.getDate() != dt_current.getDate())
|
||||
dt_prev_month.setDate(0);
|
||||
|
||||
// get same date in the next month
|
||||
var dt_next_month = new Date(dt_current);
|
||||
dt_next_month.setMonth(dt_next_month.getMonth() + 1);
|
||||
if (dt_next_month.getDate() != dt_current.getDate())
|
||||
dt_next_month.setDate(0);
|
||||
|
||||
// get first day to display in the grid for current month
|
||||
var dt_firstday = new Date(dt_current);
|
||||
dt_firstday.setDate(1);
|
||||
dt_firstday.setDate(1 - (7 + dt_firstday.getDay() - NUM_WEEKSTART) % 7);
|
||||
|
||||
// function passing selected date to calling window
|
||||
function set_datetime(n_datetime, b_close) {
|
||||
if (!obj_caller) return;
|
||||
|
||||
var dt_datetime = obj_caller.prs_time(
|
||||
(document.cal ? document.cal.time.value : ''),
|
||||
new Date(n_datetime)
|
||||
);
|
||||
|
||||
if (!dt_datetime) return;
|
||||
if (b_close) {
|
||||
|
||||
obj_caller.target.value = (document.cal
|
||||
? obj_caller.gen_tsmp(dt_datetime)
|
||||
: obj_caller.gen_date(dt_datetime)
|
||||
);window.close();
|
||||
}
|
||||
else obj_caller.popup(dt_datetime.valueOf());
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF" marginheight="5" marginwidth="5" topmargin="5" leftmargin="5" rightmargin="5">
|
||||
<table class="clsOTable" cellspacing="0" border="0" width="100%">
|
||||
<tr><td bgcolor="#4682B4">
|
||||
<table cellspacing="1" cellpadding="3" border="0" width="100%">
|
||||
<tr><td colspan="7"><table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||
<tr>
|
||||
<script language="JavaScript">
|
||||
document.write(
|
||||
'<td>'+(obj_caller&&obj_caller.year_scroll?'<a href="javascript:set_datetime('+dt_prev_year.valueOf()+')"><img src="'+STR_ICONPATH+'prev_year.gif" width="16" height="16" border="0" alt="previous year"></a> ':'')+'<a href="javascript:set_datetime('+dt_prev_month.valueOf()+')"><img src="'+STR_ICONPATH+'prev.gif" width="16" height="16" border="0" alt="previous month"></a></td>'+
|
||||
'<td align="center" width="100%"><font color="#ffffff">'+ARR_MONTHS[dt_current.getMonth()]+' '+dt_current.getFullYear() + '</font></td>'+
|
||||
'<td><a href="javascript:set_datetime('+dt_next_month.valueOf()+')"><img src="'+STR_ICONPATH+'next.gif" width="16" height="16" border="0" alt="next month"></a>'+(obj_caller && obj_caller.year_scroll?' <a href="javascript:set_datetime('+dt_next_year.valueOf()+')"><img src="'+STR_ICONPATH+'next_year.gif" width="16" height="16" border="0" alt="next year"></a>':'')+'</td>'
|
||||
);
|
||||
</script>
|
||||
</tr>
|
||||
</table></td></tr>
|
||||
<tr>
|
||||
<script language="JavaScript">
|
||||
|
||||
// print weekdays titles
|
||||
for (var n=0; n<7; n++)
|
||||
document.write('<td bgcolor="#87cefa" align="center"><font color="#ffffff">'+ARR_WEEKDAYS[(NUM_WEEKSTART+n)%7]+'</font></td>');
|
||||
document.write('</tr>');
|
||||
|
||||
// print calendar table
|
||||
var dt_current_day = new Date(dt_firstday);
|
||||
while (dt_current_day.getMonth() == dt_current.getMonth() ||
|
||||
dt_current_day.getMonth() == dt_firstday.getMonth()) {
|
||||
// print row heder
|
||||
document.write('<tr>');
|
||||
for (var n_current_wday=0; n_current_wday<7; n_current_wday++) {
|
||||
if (dt_current_day.getDate() == dt_current.getDate() &&
|
||||
dt_current_day.getMonth() == dt_current.getMonth())
|
||||
// print current date
|
||||
document.write('<td bgcolor="#ffb6c1" align="center" width="14%">');
|
||||
else if (dt_current_day.getDay() == 0 || dt_current_day.getDay() == 6)
|
||||
// weekend days
|
||||
document.write('<td bgcolor="#dbeaf5" align="center" width="14%">');
|
||||
else
|
||||
// print working days of current month
|
||||
document.write('<td bgcolor="#ffffff" align="center" width="14%">');
|
||||
|
||||
document.write('<a href="javascript:set_datetime('+dt_current_day.valueOf() +', true);">');
|
||||
|
||||
if (dt_current_day.getMonth() == this.dt_current.getMonth())
|
||||
// print days of current month
|
||||
document.write('<font color="#000000">');
|
||||
else
|
||||
// print days of other months
|
||||
document.write('<font color="#606060">');
|
||||
|
||||
document.write(dt_current_day.getDate()+'</font></a></td>');
|
||||
dt_current_day.setDate(dt_current_day.getDate()+1);
|
||||
}
|
||||
// print row footer
|
||||
document.write('</tr>');
|
||||
}
|
||||
if (obj_caller && obj_caller.time_comp)
|
||||
document.write('<form onsubmit="javascript:set_datetime('+dt_current.valueOf()+', true)" name="cal"><tr><td colspan="7" bgcolor="#87CEFA"><font color="White" face="tahoma, verdana" size="2">Time: <input type="text" name="time" value="'+obj_caller.gen_time(this.dt_current)+'" size="8" maxlength="8"></font></td></tr></form>');
|
||||
</script>
|
||||
</table></tr></td>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Command</title>
|
||||
<script src="/window.js" language="JavaScript" type="text/JavaScript"></script>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<base target="WWindow">
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
|
@ -1,232 +0,0 @@
|
|||
/* The main calendar widget. DIV containing a table. */
|
||||
|
||||
div.calendar { position: relative; }
|
||||
|
||||
.calendar, .calendar table {
|
||||
border: 1px solid #556;
|
||||
font-size: 11px;
|
||||
color: #000;
|
||||
cursor: default;
|
||||
background: #eef;
|
||||
font-family: tahoma,verdana,sans-serif;
|
||||
}
|
||||
|
||||
/* Header part -- contains navigation buttons and day names. */
|
||||
|
||||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
|
||||
text-align: center; /* They are the navigation buttons */
|
||||
padding: 2px; /* Make the buttons seem like they're pressing */
|
||||
}
|
||||
|
||||
.calendar .nav {
|
||||
background: #778 url(/adempiere/images/menuarrow.gif) no-repeat 100% 100%;
|
||||
}
|
||||
|
||||
.calendar thead .title { /* This holds the current "month, year" */
|
||||
font-weight: bold; /* Pressing it will take you to the current date */
|
||||
text-align: center;
|
||||
background: #fff;
|
||||
color: #000;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.calendar thead .headrow { /* Row <TR> containing navigation buttons */
|
||||
background: #778;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.calendar thead .daynames { /* Row <TR> containing the day names */
|
||||
background: #bdf;
|
||||
}
|
||||
|
||||
.calendar thead .name { /* Cells <TD> containing the day names */
|
||||
border-bottom: 1px solid #556;
|
||||
padding: 2px;
|
||||
text-align: center;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.calendar thead .weekend { /* How a weekend day name shows in header */
|
||||
color: #a66;
|
||||
}
|
||||
|
||||
.calendar thead .hilite { /* How do the buttons in header appear when hover */
|
||||
background-color: #aaf;
|
||||
color: #000;
|
||||
border: 1px solid #04f;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.calendar thead .active { /* Active (pressed) buttons in header */
|
||||
background-color: #77c;
|
||||
padding: 2px 0px 0px 2px;
|
||||
}
|
||||
|
||||
/* The body part -- contains all the days in month. */
|
||||
|
||||
.calendar tbody .day { /* Cells <TD> containing month days dates */
|
||||
width: 2em;
|
||||
color: #456;
|
||||
text-align: right;
|
||||
padding: 2px 4px 2px 2px;
|
||||
}
|
||||
.calendar tbody .day.othermonth {
|
||||
font-size: 80%;
|
||||
color: #bbb;
|
||||
}
|
||||
.calendar tbody .day.othermonth.oweekend {
|
||||
color: #fbb;
|
||||
}
|
||||
|
||||
.calendar table .wn {
|
||||
padding: 2px 3px 2px 2px;
|
||||
border-right: 1px solid #000;
|
||||
background: #bdf;
|
||||
}
|
||||
|
||||
.calendar tbody .rowhilite td {
|
||||
background: #def;
|
||||
}
|
||||
|
||||
.calendar tbody .rowhilite td.wn {
|
||||
background: #eef;
|
||||
}
|
||||
|
||||
.calendar tbody td.hilite { /* Hovered cells <TD> */
|
||||
background: #def;
|
||||
padding: 1px 3px 1px 1px;
|
||||
border: 1px solid #bbb;
|
||||
}
|
||||
|
||||
.calendar tbody td.active { /* Active (pressed) cells <TD> */
|
||||
background: #cde;
|
||||
padding: 2px 2px 0px 2px;
|
||||
}
|
||||
|
||||
.calendar tbody td.selected { /* Cell showing today date */
|
||||
font-weight: bold;
|
||||
border: 1px solid #000;
|
||||
padding: 1px 3px 1px 1px;
|
||||
background: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.calendar tbody td.weekend { /* Cells showing weekend days */
|
||||
color: #a66;
|
||||
}
|
||||
|
||||
.calendar tbody td.today { /* Cell showing selected date */
|
||||
font-weight: bold;
|
||||
color: #00f;
|
||||
}
|
||||
|
||||
.calendar tbody .disabled { color: #999; }
|
||||
|
||||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* The footer part -- status bar and "Close" button */
|
||||
|
||||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
|
||||
text-align: center;
|
||||
background: #556;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
|
||||
background: #fff;
|
||||
color: #445;
|
||||
border-top: 1px solid #556;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.calendar tfoot .hilite { /* Hover style for buttons in footer */
|
||||
background: #aaf;
|
||||
border: 1px solid #04f;
|
||||
color: #000;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
|
||||
background: #77c;
|
||||
padding: 2px 0px 0px 2px;
|
||||
}
|
||||
|
||||
/* Combo boxes (menus that display months/years for direct selection) */
|
||||
|
||||
.calendar .combo {
|
||||
position: absolute;
|
||||
display: none;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 4em;
|
||||
cursor: default;
|
||||
border: 1px solid #655;
|
||||
background: #def;
|
||||
color: #000;
|
||||
font-size: 90%;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.calendar .combo .label,
|
||||
.calendar .combo .label-IEfix {
|
||||
text-align: center;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.calendar .combo .label-IEfix {
|
||||
width: 4em;
|
||||
}
|
||||
|
||||
.calendar .combo .hilite {
|
||||
background: #acf;
|
||||
}
|
||||
|
||||
.calendar .combo .active {
|
||||
border-top: 1px solid #46a;
|
||||
border-bottom: 1px solid #46a;
|
||||
background: #eef;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.calendar td.time {
|
||||
border-top: 1px solid #000;
|
||||
padding: 1px 0px;
|
||||
text-align: center;
|
||||
background-color: #f4f0e8;
|
||||
}
|
||||
|
||||
.calendar td.time .hour,
|
||||
.calendar td.time .minute,
|
||||
.calendar td.time .ampm {
|
||||
padding: 0px 3px 0px 4px;
|
||||
border: 1px solid #889;
|
||||
font-weight: bold;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.calendar td.time .ampm {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.calendar td.time .colon {
|
||||
padding: 0px 2px 0px 3px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.calendar td.time span.hilite {
|
||||
border-color: #000;
|
||||
background-color: #667;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.calendar td.time span.active {
|
||||
border-color: #f00;
|
||||
background-color: #000;
|
||||
color: #0f0;
|
||||
}
|
|
@ -1,86 +0,0 @@
|
|||
/* Compiere (c) Jorg Janke */
|
||||
/* $Id: menu.css,v 1.1 2009/04/15 11:26:44 vinhpt Exp $ */
|
||||
|
||||
body {
|
||||
/* Manu #F4FCFF; */
|
||||
background-color: #FFFFFF;
|
||||
color: #000000;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
input {
|
||||
background-color: #FFFFFF;
|
||||
font-size: 8pt;
|
||||
font-family: verdana, arial;
|
||||
border: solid gray 1px;
|
||||
}
|
||||
|
||||
li{
|
||||
margin-left:10px;
|
||||
padding-left:5px;
|
||||
}
|
||||
|
||||
ul{
|
||||
padding: 0;
|
||||
margin: 0 0 0 5px;
|
||||
text-indent: -10px;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.menuTable {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px 0px 0px 0px;
|
||||
}
|
||||
|
||||
.menuHeader {
|
||||
background-color : #C9D9F5;
|
||||
padding:10px 10px 10px 10px;
|
||||
border-bottom: 0px solid #000000;
|
||||
}
|
||||
|
||||
.menuCenter {
|
||||
width: 100%;
|
||||
background-color : #FFFFFF;
|
||||
border: none;
|
||||
padding:0px 0px 0px 15px;
|
||||
border-top: 1px solid #003FAF;
|
||||
border-bottom: 1px solid #003FAF;
|
||||
margin: 0px 0px 0px 0px;
|
||||
}
|
||||
|
||||
.menuFooter {
|
||||
background-color : #C9D9F5;
|
||||
padding:5px 5px 5px 5px;
|
||||
}
|
||||
|
||||
|
||||
.menuWindow {
|
||||
list-style-image: url(/adempiere/images/mWindow.gif); /* Menu Item */
|
||||
list-style-type: circle;
|
||||
}
|
||||
|
||||
.menuWorkflow {
|
||||
list-style-image: url(/adempiere/images/mWorkFlow.gif); /* Menu Item */
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
.menuReport {
|
||||
list-style-image: url(/adempiere/images/mReport.gif); /* Menu Item */
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
.menuProcess {
|
||||
list-style-image: url(/adempiere/images/mProcess.gif); /* Menu Item */
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
.menuSummary {
|
||||
font-weight: bold; /* Menu Closed */
|
||||
list-style-image: url(/adempiere/images/mClosed.gif);
|
||||
list-style-type: square;
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
/* Put this inside a @media qualifier so Netscape 4 ignores it */
|
||||
@media screen, print {
|
||||
/* Turn off list bullets */
|
||||
ul.mktree li { list-style: none; }
|
||||
/* Control how "spaced out" the tree is */
|
||||
ul.mktree, ul.mktree ul , ul.mktree li { margin-left:10px; padding:0px; }
|
||||
/* Provide space for our own "bullet" inside the LI */
|
||||
ul.mktree li .bullet { padding-left: 15px; }
|
||||
/* Show "bullets" in the links, depending on the class of the LI that the link's in */
|
||||
ul.mktree li.liOpen .bullet { cursor: pointer; background: url(minus.gif) center left no-repeat; }
|
||||
ul.mktree li.liClosed .bullet { cursor: pointer; background: url(plus.gif) center left no-repeat; }
|
||||
ul.mktree li.liBullet .bullet { cursor: default; background: url(bullet.gif) center left no-repeat; }
|
||||
/* Sublists are visible or not based on class of parent LI */
|
||||
ul.mktree li.liOpen ul { display: block; }
|
||||
ul.mktree li.liClosed ul { display: none; }
|
||||
|
||||
/* Format menu items differently depending on what level of the tree they are in */
|
||||
/* Uncomment this if you want your fonts to decrease in size the deeper they are in the tree */
|
||||
/*
|
||||
ul.mktree li ul li { font-size: 90% }
|
||||
*/
|
||||
|
||||
}
|
|
@ -1,49 +0,0 @@
|
|||
/* Compiere HTML UI (c) Jorg Janke */
|
||||
/* $Id: popup.css,v 1.1 2009/04/15 11:26:44 vinhpt Exp $ */
|
||||
h1 {
|
||||
color: #003FAF;
|
||||
font-size: 16px !important;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
th {
|
||||
font-size: 10px;
|
||||
background-color: #D7E2F8;
|
||||
font-weight: bold;
|
||||
color: black;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 10px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
|
||||
.Cerror{
|
||||
background: #FF4A4A;
|
||||
}
|
||||
|
||||
.Cmandatory{
|
||||
background: #9DFFFF;
|
||||
}
|
||||
|
||||
.popupTable {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
margin: 0px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.popupHeader {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.popupCenter {
|
||||
border-bottom: 1px solid #000000;
|
||||
border-top: 1px solid #000000;
|
||||
}
|
||||
|
||||
.popupFooter {
|
||||
border-bottom: none;
|
||||
}
|
|
@ -1,165 +0,0 @@
|
|||
/* Compiere HTML UI (c) Jorg Janke */
|
||||
/* $Id: standard.css,v 1.1 2009/04/15 11:26:44 vinhpt Exp $ */
|
||||
|
||||
a {
|
||||
color: #000066;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
body {
|
||||
margin-top:0px;
|
||||
margin-right:0px;
|
||||
margin-left:0px;
|
||||
margin-bottom:0px;
|
||||
padding-top: 0px;
|
||||
padding-right: 0px;
|
||||
padding-left: 0px;
|
||||
padding-bottom: 0px;
|
||||
font-family: Arial, verdana;
|
||||
font-size: 8pt;
|
||||
font-weight: normal;
|
||||
COLOR: #000000;
|
||||
background-color : white;
|
||||
;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #003FAF;
|
||||
font-size: 14px !important;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #000066;
|
||||
font-size: 14px;
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: #0000CC;
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h4 {
|
||||
color: #6600CC;
|
||||
font-size: 14px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
h5 {
|
||||
color: #660099;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
hr {
|
||||
color: #000099;
|
||||
padding-bottom: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
|
||||
th {
|
||||
font-size: 10px;
|
||||
background-color: #C9D9F5;
|
||||
font-weight: bold;
|
||||
color: black;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 10px;
|
||||
color: black;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
p {
|
||||
text-align:justify;
|
||||
}
|
||||
|
||||
.menuDetail{
|
||||
color: #660099;
|
||||
font-family: Arial,Helvetica,sans-serif;
|
||||
font-size: 12px;
|
||||
padding-bottom: 0;
|
||||
padding-left: 20px;
|
||||
padding-top: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.menuDetail:hover{
|
||||
background-color: #99FFFF;
|
||||
color: #660099;
|
||||
font-size: 12px;
|
||||
padding-bottom: 0;
|
||||
padding-left: 20px;
|
||||
padding-top: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.menuMain{
|
||||
color: #000066;
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.menuMain:hover{
|
||||
background-color: #99FFFF;
|
||||
color: #000066;
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.menuSub{
|
||||
color: #000066;
|
||||
font-size: 12px;
|
||||
padding-left: 10px;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.menuSub:hover{
|
||||
background-color: #99FFFF;
|
||||
color: #000066;
|
||||
font-size: 12px;
|
||||
padding-left: 10px;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#menuDetail{
|
||||
color: #660099;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
margin-bottom: 1px;
|
||||
margin-top: 1px;
|
||||
padding-right: 20px;
|
||||
text-align: right;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#menuMain{
|
||||
border-top: groove;
|
||||
color: #000066;
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
margin-bottom: 1px;
|
||||
margin-top: 5px;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
}
|
|
@ -1,134 +0,0 @@
|
|||
|
||||
/* Striping */
|
||||
tr.alternate {
|
||||
background-color:#E3ECFC;;
|
||||
}
|
||||
|
||||
/* Sorting */
|
||||
th.table-sortable {
|
||||
cursor:pointer;
|
||||
background-image:url("/adempiere/images/01_unsorted.gif");
|
||||
background-position:center left;
|
||||
background-repeat:no-repeat;
|
||||
padding-left:12px;
|
||||
}
|
||||
th.table-sorted-asc {
|
||||
background-image:url("/adempiere/images/01_ascending.gif");
|
||||
background-position:center left;
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
th.table-sorted-desc {
|
||||
background-image:url("/adempiere/images/01_descending.gif");
|
||||
background-position:center left;
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
th.table-filtered {
|
||||
background-image:url("/adempiere/filter.gif");
|
||||
background-position:center left;
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
select.table-autofilter {
|
||||
font-size:smaller;
|
||||
}
|
||||
|
||||
/* Examples which stray from the default */
|
||||
table.altstripe tr.alternate2 {
|
||||
background-color:#ccffff;
|
||||
}
|
||||
|
||||
/* Sort Icon Styles */
|
||||
table.sort01 th.table-sortable { background-image:url("01_unsorted.gif"); }
|
||||
table.sort01 th.table-sorted-asc { background-image:url("01_ascending.gif"); }
|
||||
table.sort01 th.table-sorted-desc { background-image:url("01_descending.gif"); }
|
||||
|
||||
table.sort02 th.table-sortable { background-image:none; padding-left:16px; }
|
||||
table.sort02 th.table-sorted-asc { background-image:url("02_ascending.gif"); }
|
||||
table.sort02 th.table-sorted-desc { background-image:url("02_descending.gif"); }
|
||||
|
||||
table.sort03 th.table-sortable { background-image:none; }
|
||||
table.sort03 th.table-sorted-asc { background-image:url("03_ascending.gif"); }
|
||||
table.sort03 th.table-sorted-desc { background-image:url("03_descending.gif"); }
|
||||
|
||||
table.sort04 th.table-sortable { background-image:none; }
|
||||
table.sort04 th.table-sorted-asc { background-image:url("04_ascending.gif"); }
|
||||
table.sort04 th.table-sorted-desc { background-image:url("04_descending.gif"); }
|
||||
|
||||
table.sort05 th.table-sortable { background-image:url("05_unsorted.gif"); padding-left:16px;}
|
||||
table.sort05 th.table-sorted-asc { background-image:url("05_ascending.gif"); }
|
||||
table.sort05 th.table-sorted-desc { background-image:url("05_descending.gif"); }
|
||||
|
||||
table.sort06 th.table-sortable { background-image:none; padding-left:16px;}
|
||||
table.sort06 th.table-sorted-asc { background-image:url("06_ascending.gif"); }
|
||||
table.sort06 th.table-sorted-desc { background-image:url("06_descending.gif"); }
|
||||
|
||||
table.sort07 th.table-sortable { background-image:none; }
|
||||
table.sort07 th.table-sorted-asc { background-image:url("07_ascending.gif"); }
|
||||
table.sort07 th.table-sorted-desc { background-image:url("07_descending.gif"); }
|
||||
|
||||
table.sort08 th.table-sortable { background-image:none; }
|
||||
table.sort08 th.table-sorted-asc { background-image:url("08_ascending.gif"); }
|
||||
table.sort08 th.table-sorted-desc { background-image:url("08_descending.gif"); }
|
||||
|
||||
table.sort09 th.table-sortable { background-image:none; padding-left:30px;}
|
||||
table.sort09 th.table-sorted-asc { background-image:url("09_ascending.gif"); }
|
||||
table.sort09 th.table-sorted-desc { background-image:url("09_descending.gif"); }
|
||||
|
||||
table.sort10 th.table-sortable { background-image:url("10_unsorted.gif"); }
|
||||
table.sort10 th.table-sorted-asc { background-image:url("10_ascending.gif"); }
|
||||
table.sort10 th.table-sorted-desc { background-image:url("10_descending.gif"); }
|
||||
|
||||
table.sort11 th.table-sortable { background-image:url("11_unsorted.gif");padding-left:24px; }
|
||||
table.sort11 th.table-sorted-asc { background-image:url("11_ascending.gif"); }
|
||||
table.sort11 th.table-sorted-desc { background-image:url("11_descending.gif"); }
|
||||
|
||||
table.sort12 th.table-sortable { background-image:none; }
|
||||
table.sort12 th.table-sorted-asc { background-image:url("12_ascending.gif"); }
|
||||
table.sort12 th.table-sorted-desc { background-image:url("12_descending.gif"); }
|
||||
|
||||
table.sort13 th.table-sortable { background-image:none; }
|
||||
table.sort13 th.table-sorted-asc { background-image:url("13_ascending.gif"); }
|
||||
table.sort13 th.table-sorted-desc { background-image:url("13_descending.gif"); }
|
||||
|
||||
table.sort14 th.table-sortable { background-image:none; }
|
||||
table.sort14 th.table-sorted-asc { background-image:url("14_ascending.gif"); }
|
||||
table.sort14 th.table-sorted-desc { background-image:url("14_descending.gif"); }
|
||||
|
||||
table.sort15 th.table-sortable { background-image:none; }
|
||||
table.sort15 th.table-sorted-asc { background-image:url("15_ascending.gif"); }
|
||||
table.sort15 th.table-sorted-desc { background-image:url("15_descending.gif"); }
|
||||
|
||||
table.sort16 th.table-sortable { background-image:none; }
|
||||
table.sort16 th.table-sorted-asc { background-image:url("16_ascending.gif"); }
|
||||
table.sort16 th.table-sorted-desc { background-image:url("16_descending.gif"); }
|
||||
|
||||
table.sort17 th.table-sortable { background-image:none; }
|
||||
table.sort17 th.table-sorted-asc { background-image:url("17_ascending.gif"); }
|
||||
table.sort17 th.table-sorted-desc { background-image:url("17_descending.gif"); }
|
||||
|
||||
table.sort18 th.table-sortable { background-image:url("18_unsorted.gif"); }
|
||||
table.sort18 th.table-sorted-asc { background-image:url("18_ascending.gif"); }
|
||||
table.sort18 th.table-sorted-desc { background-image:url("18_descending.gif"); }
|
||||
|
||||
table.sort19 th.table-sortable { background-image:url("19_unsorted.gif");padding-left:24px; }
|
||||
table.sort19 th.table-sorted-asc { background-image:url("19_ascending.gif"); }
|
||||
table.sort19 th.table-sorted-desc { background-image:url("19_descending.gif"); }
|
||||
|
||||
/* Icons box */
|
||||
.iconset {
|
||||
margin:5px;
|
||||
border:1px solid #cccccc;
|
||||
border-color:#cccccc #666666 #666666 #cccccc;
|
||||
text-align:center;
|
||||
cursor:pointer;
|
||||
width:100px;
|
||||
}
|
||||
.iconset img {
|
||||
margin:3px;
|
||||
}
|
||||
|
||||
/* Documentation */
|
||||
tr.doc_section {
|
||||
font-weight:bold;
|
||||
text-align:center;
|
||||
background-color:#dddddd;
|
||||
}
|
|
@ -1,236 +0,0 @@
|
|||
/* Distributed as part of The Coolest DHTML Calendar
|
||||
Author: Mihai Bazon, www.bazon.net/mishoo
|
||||
Copyright Dynarch.com 2005, www.dynarch.com
|
||||
*/
|
||||
|
||||
/* The main calendar widget. DIV containing a table. */
|
||||
|
||||
div.calendar { position: relative; }
|
||||
|
||||
.calendar, .calendar table {
|
||||
border: 1px solid #bdb2bf;
|
||||
font-size: 11px;
|
||||
color: #000;
|
||||
cursor: default;
|
||||
background: url("/adempiere/images/normal-bg.gif");
|
||||
font-family: "trebuchet ms",verdana,tahoma,sans-serif;
|
||||
}
|
||||
|
||||
.calendar {
|
||||
border-color: #797979;
|
||||
}
|
||||
|
||||
/* Header part -- contains navigation buttons and day names. */
|
||||
|
||||
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
|
||||
text-align: center; /* They are the navigation buttons */
|
||||
padding: 2px; /* Make the buttons seem like they're pressing */
|
||||
background: url("/adempiere/images/title-bg.gif") repeat-x 0 100%; color: #000;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.calendar .nav {
|
||||
font-family: verdana,tahoma,sans-serif;
|
||||
}
|
||||
|
||||
.calendar .nav div {
|
||||
background: transparent url("/adempiere/images/menuarrow.gif") no-repeat 100% 100%;
|
||||
}
|
||||
|
||||
.calendar thead tr { background: url("/adempiere/images/title-bg.gif") repeat-x 0 100%; color: #000; }
|
||||
|
||||
.calendar thead .title { /* This holds the current "month, year" */
|
||||
font-weight: bold; /* Pressing it will take you to the current date */
|
||||
text-align: center;
|
||||
padding: 2px;
|
||||
background: url("/adempiere/images/title-bg.gif") repeat-x 0 100%; color: #000;
|
||||
}
|
||||
|
||||
.calendar thead .headrow { /* Row <TR> containing navigation buttons */
|
||||
}
|
||||
|
||||
.calendar thead .name { /* Cells <TD> containing the day names */
|
||||
border-bottom: 1px solid #797979;
|
||||
padding: 2px;
|
||||
text-align: center;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.calendar thead .weekend { /* How a weekend day name shows in header */
|
||||
color: #c44;
|
||||
}
|
||||
|
||||
.calendar thead .hilite { /* How do the buttons in header appear when hover */
|
||||
background: url("/adempiere/images/hover-bg.gif");
|
||||
border-bottom: 1px solid #797979;
|
||||
padding: 2px 2px 1px 2px;
|
||||
}
|
||||
|
||||
.calendar thead .active { /* Active (pressed) buttons in header */
|
||||
background: url("/adempiere/images/active-bg.gif"); color: #fff;
|
||||
padding: 3px 1px 0px 3px;
|
||||
border-bottom: 1px solid #797979;
|
||||
}
|
||||
|
||||
.calendar thead .daynames { /* Row <TR> containing the day names */
|
||||
background: url("/adempiere/images/dark-bg.gif");
|
||||
}
|
||||
|
||||
/* The body part -- contains all the days in month. */
|
||||
|
||||
.calendar tbody .day { /* Cells <TD> containing month days dates */
|
||||
font-family: verdana,tahoma,sans-serif;
|
||||
width: 2em;
|
||||
color: #000;
|
||||
text-align: right;
|
||||
padding: 2px 4px 2px 2px;
|
||||
}
|
||||
.calendar tbody .day.othermonth {
|
||||
font-size: 80%;
|
||||
color: #999;
|
||||
}
|
||||
.calendar tbody .day.othermonth.oweekend {
|
||||
color: #f99;
|
||||
}
|
||||
|
||||
.calendar table .wn {
|
||||
padding: 2px 3px 2px 2px;
|
||||
border-right: 1px solid #797979;
|
||||
background: url("/adempiere/images/dark-bg.gif");
|
||||
}
|
||||
|
||||
.calendar tbody .rowhilite td,
|
||||
.calendar tbody .rowhilite td.wn {
|
||||
background: url("/adempiere/images/rowhover-bg.gif");
|
||||
}
|
||||
|
||||
.calendar tbody td.today { font-weight: bold; /* background: url("/adempiere/images/today-bg.gif") no-repeat 70% 50%; */ }
|
||||
|
||||
.calendar tbody td.hilite { /* Hovered cells <TD> */
|
||||
background: url("/adempiere/images/hover-bg.gif");
|
||||
padding: 1px 3px 1px 1px;
|
||||
border: 1px solid #bbb;
|
||||
}
|
||||
|
||||
.calendar tbody td.active { /* Active (pressed) cells <TD> */
|
||||
padding: 2px 2px 0px 2px;
|
||||
}
|
||||
|
||||
.calendar tbody td.weekend { /* Cells showing weekend days */
|
||||
color: #c44;
|
||||
}
|
||||
|
||||
.calendar tbody td.selected { /* Cell showing selected date */
|
||||
font-weight: bold;
|
||||
border: 1px solid #797979;
|
||||
padding: 1px 3px 1px 1px;
|
||||
background: url("/adempiere/images/active-bg.gif"); color: #fff;
|
||||
}
|
||||
|
||||
.calendar tbody .disabled { color: #999; }
|
||||
|
||||
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* The footer part -- status bar and "Close" button */
|
||||
|
||||
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
|
||||
text-align: center;
|
||||
background: #565;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
|
||||
padding: 2px;
|
||||
background: url("/adempiere/images/status-bg.gif") repeat-x 0 0; color: #000;
|
||||
}
|
||||
|
||||
.calendar tfoot .hilite { /* Hover style for buttons in footer */
|
||||
background: #afa;
|
||||
border: 1px solid #084;
|
||||
color: #000;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
|
||||
background: #7c7;
|
||||
padding: 2px 0px 0px 2px;
|
||||
}
|
||||
|
||||
/* Combo boxes (menus that display months/years for direct selection) */
|
||||
|
||||
.calendar .combo {
|
||||
position: absolute;
|
||||
display: none;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 4em;
|
||||
cursor: default;
|
||||
border-width: 0 1px 1px 1px;
|
||||
border-style: solid;
|
||||
border-color: #797979;
|
||||
background: url("/adempiere/images/normal-bg.gif"); color: #000;
|
||||
z-index: 100;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
.calendar .combo .label,
|
||||
.calendar .combo .label-IEfix {
|
||||
text-align: center;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.calendar .combo .label-IEfix {
|
||||
width: 4em;
|
||||
}
|
||||
|
||||
.calendar .combo .hilite {
|
||||
background: url("/adempiere/images/hover-bg.gif"); color: #000;
|
||||
}
|
||||
|
||||
.calendar .combo .active {
|
||||
background: url("/adempiere/images/active-bg.gif"); color: #fff;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.calendar td.time {
|
||||
border-top: 1px solid #797979;
|
||||
padding: 1px 0px;
|
||||
text-align: center;
|
||||
background: url("/adempiere/images/dark-bg.gif");
|
||||
}
|
||||
|
||||
.calendar td.time .hour,
|
||||
.calendar td.time .minute,
|
||||
.calendar td.time .ampm {
|
||||
padding: 0px 5px 0px 6px;
|
||||
font-weight: bold;
|
||||
background: url("/adempiere/images/normal-bg.gif"); color: #000;
|
||||
}
|
||||
|
||||
.calendar td.time .hour,
|
||||
.calendar td.time .minute {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.calendar td.time .ampm {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.calendar td.time .colon {
|
||||
padding: 0px 2px 0px 3px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.calendar td.time span.hilite {
|
||||
background: url("/adempiere/images/hover-bg.gif"); color: #000;
|
||||
}
|
||||
|
||||
.calendar td.time span.active {
|
||||
background: url("/adempiere/images/active-bg.gif"); color: #fff;
|
||||
}
|
|
@ -1,239 +0,0 @@
|
|||
/* Compiere HTML UI (c) Jorg Janke */
|
||||
/* $Id: window.css,v 1.1 2009/04/15 11:26:44 vinhpt Exp $ */
|
||||
|
||||
|
||||
body {
|
||||
/* Manu #F4FCFF; */
|
||||
background-color: #FFFFFF;
|
||||
color: #000000;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
input {
|
||||
background-color: #FFFFFF;
|
||||
font-size: 8pt;
|
||||
font-family: verdana, arial;
|
||||
border: solid gray 1px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
background: #FFFFFF;
|
||||
font-size: 8pt;
|
||||
font-family: verdana, arial;
|
||||
border: solid gray 1px;
|
||||
}
|
||||
|
||||
select {
|
||||
background: #FFFFFF;
|
||||
font-size: 8pt;
|
||||
font-family: verdana, arial;
|
||||
border-bottom-style: groove;
|
||||
border-bottom-color: Gray;
|
||||
border-bottom-width: thin;
|
||||
border-left-color: Gray;
|
||||
border-left-style: groove;
|
||||
border-left-width: thin;
|
||||
border-right-color: Gray;
|
||||
border-right-style: groove;
|
||||
border-right-width: thin;
|
||||
border-top-color: Gray;
|
||||
border-top-style: groove;
|
||||
border-top-width: thin;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.loginbtn {
|
||||
width: 75px;
|
||||
cursor:pointer;
|
||||
margin-top:5px;
|
||||
border:outset 2px #ccc;
|
||||
background:url(/adempiere/images/Ok16.gif) no-repeat left;
|
||||
background-color:#ffffff;
|
||||
}
|
||||
|
||||
.cancelbtn {
|
||||
width: 75px;
|
||||
cursor:pointer;
|
||||
margin-top:5px;
|
||||
border:outset 2px #ccc;
|
||||
background:url(/adempiere/images/Cancel16.gif) no-repeat left;
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.submitbtn {
|
||||
cursor:pointer;
|
||||
margin-top:5px;
|
||||
border:outset 2px #ccc;
|
||||
background:url(/adempiere/images/Ok16.gif) no-repeat left;
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.closebtn {
|
||||
cursor:pointer;
|
||||
margin-top:5px;
|
||||
border:outset 2px #ccc;
|
||||
background:url(/adempiere/images/Cancel16.gif) no-repeat left;
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.processbtn {
|
||||
cursor:pointer;
|
||||
margin-top:5px;
|
||||
border:outset 2px #ccc;
|
||||
background:url(/adempiere/images/Process16.gif) no-repeat left;
|
||||
background-color:#ffffff;
|
||||
|
||||
}
|
||||
.resetbtn {
|
||||
cursor:pointer;
|
||||
margin-top:5px;
|
||||
border:outset 2px #ccc;
|
||||
background:url(/adempiere/images/Ignore16.gif) no-repeat left;
|
||||
background-color:#ffffff;
|
||||
|
||||
}
|
||||
.deletebtn {
|
||||
cursor:pointer;
|
||||
margin-top:5px;
|
||||
border:outset 2px #ccc;
|
||||
background:url(/adempiere/images/Delete16.gif) no-repeat left;
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.firstpgbtn {
|
||||
cursor:pointer;
|
||||
margin-top:5px;
|
||||
border:outset 2px #ccc;
|
||||
background:url(/adempiere/images/First16.gif) no-repeat left;
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.prevpgbtn {
|
||||
cursor:pointer;
|
||||
margin-top:5px;
|
||||
border:outset 2px #ccc;
|
||||
background:url(/adempiere/images/Previous16.gif) no-repeat left;
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.nextpgbtn {
|
||||
cursor:pointer;
|
||||
margin-top:5px;
|
||||
border:outset 2px #ccc;
|
||||
background:url(/adempiere/images/Next16.gif) no-repeat left;
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.lastpgbtn {
|
||||
cursor:pointer;
|
||||
margin-top:5px;
|
||||
border:outset 2px #ccc;
|
||||
background:url(/adempiere/images/Last16.gif) no-repeat left;
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.Cerror {
|
||||
background: #FF4A4A;
|
||||
}
|
||||
|
||||
.Cmandatory {
|
||||
background: #fdf5dd;
|
||||
}
|
||||
|
||||
#tab {
|
||||
float:left;
|
||||
/*background:url(/adempiere/images/tab-left-selected.gif) no-repeat left top;*/
|
||||
margin:0;
|
||||
font-size: 11px;
|
||||
padding:0px 0px 0px 9px;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
#tab span {
|
||||
float:left;
|
||||
display:block;
|
||||
/*background:url(/adempiere/images/tab-right-selected.gif) no-repeat right top;*/
|
||||
padding:5px 9px 5px 0px;
|
||||
font-size: 11px;
|
||||
font-weight:bold;
|
||||
color:black;
|
||||
}
|
||||
|
||||
#tab a:hover span {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#tabSelected {
|
||||
float:left;
|
||||
/*background:url(/adempiere/images/tab-left.gif) no-repeat left top;*/
|
||||
margin:0;
|
||||
font-size: 11px;
|
||||
padding:0px 0px 0px 9px;
|
||||
color: red;
|
||||
}
|
||||
|
||||
#tabSelected span {
|
||||
float:left;
|
||||
display:block;
|
||||
/*background:url(/adempiere/images/tab-right.gif) no-repeat right top;*/
|
||||
padding:5px 9px 5px 0px;
|
||||
font-size: 11px;
|
||||
font-weight:bold;
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
td.toolbar {
|
||||
border : 0px solid #000000;
|
||||
padding:5px 5px 5px 5px;
|
||||
background-color : #85A6E3;
|
||||
border-top: 1px solid #003FAF;
|
||||
border-bottom: 1px solid #003FAF;
|
||||
text-align: left;
|
||||
text-indent : 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.windowHeader {
|
||||
background-color : #C9D9F5;
|
||||
padding:5px 5px 0px 5px;
|
||||
border-bottom: 0px solid #000000;
|
||||
|
||||
}
|
||||
|
||||
.windowCenter {
|
||||
background-color : #FFFFFF;
|
||||
border: 0px solid #000000;
|
||||
padding:5px 5px 0px 0px;
|
||||
}
|
||||
|
||||
.centerTable {
|
||||
width: 100%;
|
||||
background-color : #E3ECFC;
|
||||
border: none;
|
||||
padding:5px 5px 5px 5px;
|
||||
border-top: 1px solid #003FAF;
|
||||
border-bottom: 1px solid #003FAF;
|
||||
margin: 0px 0px 0px 0px;
|
||||
}
|
||||
.windowFooter {
|
||||
border-bottom: 1px solid #000000;
|
||||
}
|
||||
|
||||
.anylinkcss{
|
||||
width: 165px;
|
||||
position: absolute;
|
||||
background-color: white;
|
||||
border:1px solid #003FAF;
|
||||
font: normal 10px Verdana;
|
||||
line-height: 14px;
|
||||
z-index: 100;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.anylinkcss a{
|
||||
text-decoration: none;
|
||||
padding-left: 6px;
|
||||
color: black;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.anylinkcss a:hover{ /*hover background color*/
|
||||
background-color: #C9D9F5;
|
||||
}
|
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 389 B |
Before Width: | Height: | Size: 25 KiB |
|
@ -1,469 +0,0 @@
|
|||
// ===================================================================
|
||||
// Author: Matt Kruse <matt@mattkruse.com>
|
||||
// WWW: http://www.mattkruse.com/
|
||||
//
|
||||
// NOTICE: You may use this code for any purpose, commercial or
|
||||
// private, without any further permission from the author. You may
|
||||
// remove this notice from your final code if you wish, however it is
|
||||
// appreciated by the author if at least my web site address is kept.
|
||||
//
|
||||
// You may *NOT* re-distribute this code in any way except through its
|
||||
// use. That means, you can include it in your product, or your web
|
||||
// site, or any other form where the code is actually being used. You
|
||||
// may not put the plain javascript up on your site for download or
|
||||
// include it in your javascript libraries for download.
|
||||
// If you wish to share this code with others, please just point them
|
||||
// to the URL instead.
|
||||
// Please DO NOT link directly to my .js files from your site. Copy
|
||||
// the files to your server and use them there. Thank you.
|
||||
// ===================================================================
|
||||
|
||||
|
||||
/* SOURCE FILE: AnchorPosition.js */
|
||||
|
||||
/*
|
||||
AnchorPosition.js
|
||||
Author: Matt Kruse
|
||||
Last modified: 10/11/02
|
||||
|
||||
DESCRIPTION: These functions find the position of an <A> tag in a document,
|
||||
so other elements can be positioned relative to it.
|
||||
|
||||
COMPATABILITY: Netscape 4.x,6.x,Mozilla, IE 5.x,6.x on Windows. Some small
|
||||
positioning errors - usually with Window positioning - occur on the
|
||||
Macintosh platform.
|
||||
|
||||
FUNCTIONS:
|
||||
getAnchorPosition(anchorname)
|
||||
Returns an Object() having .x and .y properties of the pixel coordinates
|
||||
of the upper-left corner of the anchor. Position is relative to the PAGE.
|
||||
|
||||
getAnchorWindowPosition(anchorname)
|
||||
Returns an Object() having .x and .y properties of the pixel coordinates
|
||||
of the upper-left corner of the anchor, relative to the WHOLE SCREEN.
|
||||
|
||||
NOTES:
|
||||
|
||||
1) For popping up separate browser windows, use getAnchorWindowPosition.
|
||||
Otherwise, use getAnchorPosition
|
||||
|
||||
2) Your anchor tag MUST contain both NAME and ID attributes which are the
|
||||
same. For example:
|
||||
<A NAME="test" ID="test"> </A>
|
||||
|
||||
3) There must be at least a space between <A> </A> for IE5.5 to see the
|
||||
anchor tag correctly. Do not do <A></A> with no space.
|
||||
*/
|
||||
|
||||
// getAnchorPosition(anchorname)
|
||||
// This function returns an object having .x and .y properties which are the coordinates
|
||||
// of the named anchor, relative to the page.
|
||||
function getAnchorPosition(anchorname) {
|
||||
// This function will return an Object with x and y properties
|
||||
var useWindow=false;
|
||||
var coordinates=new Object();
|
||||
var x=0,y=0;
|
||||
// Browser capability sniffing
|
||||
var use_gebi=false, use_css=false, use_layers=false;
|
||||
if (document.getElementById) { use_gebi=true; }
|
||||
else if (document.all) { use_css=true; }
|
||||
else if (document.layers) { use_layers=true; }
|
||||
// Logic to find position
|
||||
if (use_gebi && document.all) {
|
||||
x=AnchorPosition_getPageOffsetLeft(document.all[anchorname]);
|
||||
y=AnchorPosition_getPageOffsetTop(document.all[anchorname]);
|
||||
}
|
||||
else if (use_gebi) {
|
||||
var o=document.getElementById(anchorname);
|
||||
x=AnchorPosition_getPageOffsetLeft(o);
|
||||
y=AnchorPosition_getPageOffsetTop(o);
|
||||
}
|
||||
else if (use_css) {
|
||||
x=AnchorPosition_getPageOffsetLeft(document.all[anchorname]);
|
||||
y=AnchorPosition_getPageOffsetTop(document.all[anchorname]);
|
||||
}
|
||||
else if (use_layers) {
|
||||
var found=0;
|
||||
for (var i=0; i<document.anchors.length; i++) {
|
||||
if (document.anchors[i].name==anchorname) { found=1; break; }
|
||||
}
|
||||
if (found==0) {
|
||||
coordinates.x=0; coordinates.y=0; return coordinates;
|
||||
}
|
||||
x=document.anchors[i].x;
|
||||
y=document.anchors[i].y;
|
||||
}
|
||||
else {
|
||||
coordinates.x=0; coordinates.y=0; return coordinates;
|
||||
}
|
||||
coordinates.x=x;
|
||||
coordinates.y=y;
|
||||
return coordinates;
|
||||
}
|
||||
|
||||
// getAnchorWindowPosition(anchorname)
|
||||
// This function returns an object having .x and .y properties which are the coordinates
|
||||
// of the named anchor, relative to the window
|
||||
function getAnchorWindowPosition(anchorname) {
|
||||
var coordinates=getAnchorPosition(anchorname);
|
||||
var x=0;
|
||||
var y=0;
|
||||
if (document.getElementById) {
|
||||
if (isNaN(window.screenX)) {
|
||||
x=coordinates.x-document.body.scrollLeft+window.screenLeft;
|
||||
y=coordinates.y-document.body.scrollTop+window.screenTop;
|
||||
}
|
||||
else {
|
||||
x=coordinates.x+window.screenX+(window.outerWidth-window.innerWidth)-window.pageXOffset;
|
||||
y=coordinates.y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset;
|
||||
}
|
||||
}
|
||||
else if (document.all) {
|
||||
x=coordinates.x-document.body.scrollLeft+window.screenLeft;
|
||||
y=coordinates.y-document.body.scrollTop+window.screenTop;
|
||||
}
|
||||
else if (document.layers) {
|
||||
x=coordinates.x+window.screenX+(window.outerWidth-window.innerWidth)-window.pageXOffset;
|
||||
y=coordinates.y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset;
|
||||
}
|
||||
coordinates.x=x;
|
||||
coordinates.y=y;
|
||||
return coordinates;
|
||||
}
|
||||
|
||||
// Functions for IE to get position of an object
|
||||
function AnchorPosition_getPageOffsetLeft (el) {
|
||||
var ol=el.offsetLeft;
|
||||
while ((el=el.offsetParent) != null) { ol += el.offsetLeft; }
|
||||
return ol;
|
||||
}
|
||||
function AnchorPosition_getWindowOffsetLeft (el) {
|
||||
return AnchorPosition_getPageOffsetLeft(el)-document.body.scrollLeft;
|
||||
}
|
||||
function AnchorPosition_getPageOffsetTop (el) {
|
||||
var ot=el.offsetTop;
|
||||
while((el=el.offsetParent) != null) { ot += el.offsetTop; }
|
||||
return ot;
|
||||
}
|
||||
function AnchorPosition_getWindowOffsetTop (el) {
|
||||
return AnchorPosition_getPageOffsetTop(el)-document.body.scrollTop;
|
||||
}
|
||||
|
||||
/* SOURCE FILE: PopupWindow.js */
|
||||
|
||||
/*
|
||||
PopupWindow.js
|
||||
Author: Matt Kruse
|
||||
Last modified: 02/16/04
|
||||
|
||||
DESCRIPTION: This object allows you to easily and quickly popup a window
|
||||
in a certain place. The window can either be a DIV or a separate browser
|
||||
window.
|
||||
|
||||
COMPATABILITY: Works with Netscape 4.x, 6.x, IE 5.x on Windows. Some small
|
||||
positioning errors - usually with Window positioning - occur on the
|
||||
Macintosh platform. Due to bugs in Netscape 4.x, populating the popup
|
||||
window with <STYLE> tags may cause errors.
|
||||
|
||||
USAGE:
|
||||
// Create an object for a WINDOW popup
|
||||
var win = new PopupWindow();
|
||||
|
||||
// Create an object for a DIV window using the DIV named 'mydiv'
|
||||
var win = new PopupWindow('mydiv');
|
||||
|
||||
// Set the window to automatically hide itself when the user clicks
|
||||
// anywhere else on the page except the popup
|
||||
win.autoHide();
|
||||
|
||||
// Show the window relative to the anchor name passed in
|
||||
win.showPopup(anchorname);
|
||||
|
||||
// Hide the popup
|
||||
win.hidePopup();
|
||||
|
||||
// Set the size of the popup window (only applies to WINDOW popups
|
||||
win.setSize(width,height);
|
||||
|
||||
// Populate the contents of the popup window that will be shown. If you
|
||||
// change the contents while it is displayed, you will need to refresh()
|
||||
win.populate(string);
|
||||
|
||||
// set the URL of the window, rather than populating its contents
|
||||
// manually
|
||||
win.setUrl("http://www.site.com/");
|
||||
|
||||
// Refresh the contents of the popup
|
||||
win.refresh();
|
||||
|
||||
// Specify how many pixels to the right of the anchor the popup will appear
|
||||
win.offsetX = 50;
|
||||
|
||||
// Specify how many pixels below the anchor the popup will appear
|
||||
win.offsetY = 100;
|
||||
|
||||
NOTES:
|
||||
1) Requires the functions in AnchorPosition.js
|
||||
|
||||
2) Your anchor tag MUST contain both NAME and ID attributes which are the
|
||||
same. For example:
|
||||
<A NAME="test" ID="test"> </A>
|
||||
|
||||
3) There must be at least a space between <A> </A> for IE5.5 to see the
|
||||
anchor tag correctly. Do not do <A></A> with no space.
|
||||
|
||||
4) When a PopupWindow object is created, a handler for 'onmouseup' is
|
||||
attached to any event handler you may have already defined. Do NOT define
|
||||
an event handler for 'onmouseup' after you define a PopupWindow object or
|
||||
the autoHide() will not work correctly.
|
||||
*/
|
||||
|
||||
// Set the position of the popup window based on the anchor
|
||||
function PopupWindow_getXYPosition(anchorname) {
|
||||
var coordinates;
|
||||
if (this.type == "WINDOW") {
|
||||
coordinates = getAnchorWindowPosition(anchorname);
|
||||
}
|
||||
else {
|
||||
coordinates = getAnchorPosition(anchorname);
|
||||
}
|
||||
this.x = coordinates.x;
|
||||
this.y = coordinates.y;
|
||||
}
|
||||
// Set width/height of DIV/popup window
|
||||
function PopupWindow_setSize(width,height) {
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
}
|
||||
// Fill the window with contents
|
||||
function PopupWindow_populate(contents) {
|
||||
this.contents = contents;
|
||||
this.populated = false;
|
||||
}
|
||||
// Set the URL to go to
|
||||
function PopupWindow_setUrl(url) {
|
||||
this.url = url;
|
||||
}
|
||||
// Set the window popup properties
|
||||
function PopupWindow_setWindowProperties(props) {
|
||||
this.windowProperties = props;
|
||||
}
|
||||
// Refresh the displayed contents of the popup
|
||||
function PopupWindow_refresh() {
|
||||
if (this.divName != null) {
|
||||
// refresh the DIV object
|
||||
if (this.use_gebi) {
|
||||
document.getElementById(this.divName).innerHTML = this.contents;
|
||||
}
|
||||
else if (this.use_css) {
|
||||
document.all[this.divName].innerHTML = this.contents;
|
||||
}
|
||||
else if (this.use_layers) {
|
||||
var d = document.layers[this.divName];
|
||||
d.document.open();
|
||||
d.document.writeln(this.contents);
|
||||
d.document.close();
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (this.popupWindow != null && !this.popupWindow.closed) {
|
||||
if (this.url!="") {
|
||||
this.popupWindow.location.href=this.url;
|
||||
}
|
||||
else {
|
||||
this.popupWindow.document.open();
|
||||
this.popupWindow.document.writeln(this.contents);
|
||||
this.popupWindow.document.close();
|
||||
}
|
||||
this.popupWindow.focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
// Position and show the popup, relative to an anchor object
|
||||
function PopupWindow_showPopup(anchorname) {
|
||||
this.getXYPosition(anchorname);
|
||||
this.x += this.offsetX;
|
||||
this.y += this.offsetY;
|
||||
if (!this.populated && (this.contents != "")) {
|
||||
this.populated = true;
|
||||
this.refresh();
|
||||
}
|
||||
if (this.divName != null) {
|
||||
// Show the DIV object
|
||||
if (this.use_gebi) {
|
||||
document.getElementById(this.divName).style.left = this.x + "px";
|
||||
document.getElementById(this.divName).style.top = this.y + "px";
|
||||
document.getElementById(this.divName).style.visibility = "visible";
|
||||
}
|
||||
else if (this.use_css) {
|
||||
document.all[this.divName].style.left = this.x;
|
||||
document.all[this.divName].style.top = this.y;
|
||||
document.all[this.divName].style.visibility = "visible";
|
||||
}
|
||||
else if (this.use_layers) {
|
||||
document.layers[this.divName].left = this.x;
|
||||
document.layers[this.divName].top = this.y;
|
||||
document.layers[this.divName].visibility = "visible";
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (this.popupWindow == null || this.popupWindow.closed) {
|
||||
// If the popup window will go off-screen, move it so it doesn't
|
||||
if (this.x<0) { this.x=0; }
|
||||
if (this.y<0) { this.y=0; }
|
||||
if (screen && screen.availHeight) {
|
||||
if ((this.y + this.height) > screen.availHeight) {
|
||||
this.y = screen.availHeight - this.height;
|
||||
}
|
||||
}
|
||||
if (screen && screen.availWidth) {
|
||||
if ((this.x + this.width) > screen.availWidth) {
|
||||
this.x = screen.availWidth - this.width;
|
||||
}
|
||||
}
|
||||
var avoidAboutBlank = window.opera || ( document.layers && !navigator.mimeTypes['*'] ) || navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled );
|
||||
this.popupWindow = window.open(avoidAboutBlank?"":"about:blank","window_"+anchorname,this.windowProperties+",width="+this.width+",height="+this.height+",screenX="+this.x+",left="+this.x+",screenY="+this.y+",top="+this.y+"");
|
||||
}
|
||||
this.refresh();
|
||||
}
|
||||
}
|
||||
// Hide the popup
|
||||
function PopupWindow_hidePopup() {
|
||||
if (this.divName != null) {
|
||||
if (this.use_gebi) {
|
||||
document.getElementById(this.divName).style.visibility = "hidden";
|
||||
}
|
||||
else if (this.use_css) {
|
||||
document.all[this.divName].style.visibility = "hidden";
|
||||
}
|
||||
else if (this.use_layers) {
|
||||
document.layers[this.divName].visibility = "hidden";
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (this.popupWindow && !this.popupWindow.closed) {
|
||||
this.popupWindow.close();
|
||||
this.popupWindow = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
// Pass an event and return whether or not it was the popup DIV that was clicked
|
||||
function PopupWindow_isClicked(e) {
|
||||
if (this.divName != null) {
|
||||
if (this.use_layers) {
|
||||
var clickX = e.pageX;
|
||||
var clickY = e.pageY;
|
||||
var t = document.layers[this.divName];
|
||||
if ((clickX > t.left) && (clickX < t.left+t.clip.width) && (clickY > t.top) && (clickY < t.top+t.clip.height)) {
|
||||
return true;
|
||||
}
|
||||
else { return false; }
|
||||
}
|
||||
else if (document.all) { // Need to hard-code this to trap IE for error-handling
|
||||
var t = window.event.srcElement;
|
||||
while (t.parentElement != null) {
|
||||
if (t.id==this.divName) {
|
||||
return true;
|
||||
}
|
||||
t = t.parentElement;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
else if (this.use_gebi && e) {
|
||||
var t = e.originalTarget;
|
||||
while (t.parentNode != null) {
|
||||
if (t.id==this.divName) {
|
||||
return true;
|
||||
}
|
||||
t = t.parentNode;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// Check an onMouseDown event to see if we should hide
|
||||
function PopupWindow_hideIfNotClicked(e) {
|
||||
if (this.autoHideEnabled && !this.isClicked(e)) {
|
||||
this.hidePopup();
|
||||
}
|
||||
}
|
||||
// Call this to make the DIV disable automatically when mouse is clicked outside it
|
||||
function PopupWindow_autoHide() {
|
||||
this.autoHideEnabled = true;
|
||||
}
|
||||
// This global function checks all PopupWindow objects onmouseup to see if they should be hidden
|
||||
function PopupWindow_hidePopupWindows(e) {
|
||||
for (var i=0; i<popupWindowObjects.length; i++) {
|
||||
if (popupWindowObjects[i] != null) {
|
||||
var p = popupWindowObjects[i];
|
||||
p.hideIfNotClicked(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
// Run this immediately to attach the event listener
|
||||
function PopupWindow_attachListener() {
|
||||
if (document.layers) {
|
||||
document.captureEvents(Event.MOUSEUP);
|
||||
}
|
||||
window.popupWindowOldEventListener = document.onmouseup;
|
||||
if (window.popupWindowOldEventListener != null) {
|
||||
document.onmouseup = new Function("window.popupWindowOldEventListener(); PopupWindow_hidePopupWindows();");
|
||||
}
|
||||
else {
|
||||
document.onmouseup = PopupWindow_hidePopupWindows;
|
||||
}
|
||||
}
|
||||
// CONSTRUCTOR for the PopupWindow object
|
||||
// Pass it a DIV name to use a DHTML popup, otherwise will default to window popup
|
||||
function PopupWindow() {
|
||||
if (!window.popupWindowIndex) { window.popupWindowIndex = 0; }
|
||||
if (!window.popupWindowObjects) { window.popupWindowObjects = new Array(); }
|
||||
if (!window.listenerAttached) {
|
||||
window.listenerAttached = true;
|
||||
PopupWindow_attachListener();
|
||||
}
|
||||
this.index = popupWindowIndex++;
|
||||
popupWindowObjects[this.index] = this;
|
||||
this.divName = null;
|
||||
this.popupWindow = null;
|
||||
this.width=0;
|
||||
this.height=0;
|
||||
this.populated = false;
|
||||
this.visible = false;
|
||||
this.autoHideEnabled = false;
|
||||
|
||||
this.contents = "";
|
||||
this.url="";
|
||||
this.windowProperties="toolbar=no,location=no,status=no,menubar=no,scrollbars=auto,resizable,alwaysRaised,dependent,titlebar=no";
|
||||
if (arguments.length>0) {
|
||||
this.type="DIV";
|
||||
this.divName = arguments[0];
|
||||
}
|
||||
else {
|
||||
this.type="WINDOW";
|
||||
}
|
||||
this.use_gebi = false;
|
||||
this.use_css = false;
|
||||
this.use_layers = false;
|
||||
if (document.getElementById) { this.use_gebi = true; }
|
||||
else if (document.all) { this.use_css = true; }
|
||||
else if (document.layers) { this.use_layers = true; }
|
||||
else { this.type = "WINDOW"; }
|
||||
this.offsetX = 0;
|
||||
this.offsetY = 0;
|
||||
// Method mappings
|
||||
this.getXYPosition = PopupWindow_getXYPosition;
|
||||
this.populate = PopupWindow_populate;
|
||||
this.setUrl = PopupWindow_setUrl;
|
||||
this.setWindowProperties = PopupWindow_setWindowProperties;
|
||||
this.refresh = PopupWindow_refresh;
|
||||
this.showPopup = PopupWindow_showPopup;
|
||||
this.hidePopup = PopupWindow_hidePopup;
|
||||
this.setSize = PopupWindow_setSize;
|
||||
this.isClicked = PopupWindow_isClicked;
|
||||
this.autoHide = PopupWindow_autoHide;
|
||||
this.hideIfNotClicked = PopupWindow_hideIfNotClicked;
|
||||
}
|
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 68 B |
|
@ -1,36 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Test</title>
|
||||
<link href="standard.css" rel="stylesheet" type="text/css" />
|
||||
<link href="window.css" rel="stylesheet" type="text/css" />
|
||||
<link href="menu.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body title="sss">
|
||||
<table width="100%" border="1" cellspacing="10" cellpadding="0" class="windowTable">
|
||||
<tr>
|
||||
<td nowrap class="windowHeader">Window Header </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="windowCenter">Center </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="windowFooter">Footer </td>
|
||||
</tr>
|
||||
</table>
|
||||
<p> </p>
|
||||
<table width="100%" border="1" cellspacing="1" cellpadding="1" class="menuTable">
|
||||
<tr>
|
||||
<td class="menuHeader">Menu Header </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="menuCenter">Center </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="menuFooter">Footer </td>
|
||||
</tr>
|
||||
<script language="javascript">alert('hello');</script>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -1,21 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>Untitled Document</title>
|
||||
</head>
|
||||
|
||||
<script language="javascript">
|
||||
function sayHi()
|
||||
{
|
||||
alert ('function');
|
||||
}
|
||||
</script>
|
||||
|
||||
<body>
|
||||
<form action="http://www.yahoo.com" method="get" name="form1" target="_blank">
|
||||
<a href="/compiere/" target="popup"><img src="LogoSmall.gif" width="64" height="32" border="1"></a>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 71 B |
Before Width: | Height: | Size: 71 B |
Before Width: | Height: | Size: 63 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 891 B |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 756 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 470 B |
Before Width: | Height: | Size: 815 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 766 B |
Before Width: | Height: | Size: 517 B |
Before Width: | Height: | Size: 766 B |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 766 B |
Before Width: | Height: | Size: 378 B |
Before Width: | Height: | Size: 507 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 298 B |
Before Width: | Height: | Size: 471 B |
Before Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 519 B |
Before Width: | Height: | Size: 684 B |
Before Width: | Height: | Size: 684 B |
Before Width: | Height: | Size: 334 B |
Before Width: | Height: | Size: 107 B |
Before Width: | Height: | Size: 624 B |
Before Width: | Height: | Size: 934 B |
Before Width: | Height: | Size: 474 B |
Before Width: | Height: | Size: 801 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 705 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 929 B |
Before Width: | Height: | Size: 447 B |
Before Width: | Height: | Size: 843 B |
Before Width: | Height: | Size: 382 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 471 B |
Before Width: | Height: | Size: 878 B |