move branch adempire311 to trunk
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="src" path="src"/>
|
||||||
|
<classpathentry kind="output" path="build"/>
|
||||||
|
</classpath>
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>webStore</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
|
@ -0,0 +1,3 @@
|
||||||
|
#Sat Oct 01 16:42:00 PDT 2005
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
xdoclet.build.policy=manual
|
|
@ -0,0 +1,3 @@
|
||||||
|
#Mon Oct 11 19:06:45 EDT 2004
|
||||||
|
encoding/<project>=UTF-8
|
||||||
|
eclipse.preferences.version=1
|
|
@ -0,0 +1,13 @@
|
||||||
|
@Title Build Adempiere WebStore
|
||||||
|
@Rem $Header: /cvsroot/adempiere/webStore/RUN_build.bat,v 1.5 2005/09/16 00:49:17 jjanke Exp $
|
||||||
|
|
||||||
|
@CALL ..\utils_dev\myDevEnv.bat
|
||||||
|
|
||||||
|
@IF %ADEMPIERE_ENV%==N GOTO NOBUILD
|
||||||
|
@echo Cleanup ...
|
||||||
|
@"%JAVA_HOME%\bin\java" -Dant.home="." %ANT_PROPERTIES% org.apache.tools.ant.launch.Launcher clean
|
||||||
|
@echo Building ...
|
||||||
|
@"%JAVA_HOME%\bin\java" -Dant.home="." %ANT_PROPERTIES% org.apache.tools.ant.launch.Launcher
|
||||||
|
|
||||||
|
@pause
|
||||||
|
:NOBUILD
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Module compiling script
|
||||||
|
# Ported from Windows script Marek Mosiewicz<marek.mosiewicz@jotel.com.pl>
|
||||||
|
|
||||||
|
|
||||||
|
SAVED_DIR=`pwd` #save current dir
|
||||||
|
cd `dirname $0`/../utils_dev #change dir to place where script resides - doesn not work with sym links
|
||||||
|
UTILS_DEV=`pwd` #this is adempiere source
|
||||||
|
cd $SAVED_DIR #back to the saved directory
|
||||||
|
|
||||||
|
. $UTILS_DEV/myDevEnv.sh #call environment
|
||||||
|
echo done
|
||||||
|
if [ ! $ADEMPIERE_ENV==Y ] ; then
|
||||||
|
echo "Can't set developemeent environemnt - check myDevEnv.sh"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo running Ant
|
||||||
|
$JAVA_HOME/bin/java -Dant.home="." $ANT_PROPERTIES org.apache.tools.ant.Main
|
|
@ -0,0 +1,70 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- ======================================================== -->
|
||||||
|
<!-- Adempiere Web Store Application -->
|
||||||
|
<!-- ======================================================== -->
|
||||||
|
<!-- $Header: /cvs/adempiere/webStore/build.xml,v 1.2 2006/06/10 21:59:22 jjanke Exp $-->
|
||||||
|
|
||||||
|
<project name="adempiereWebStore" default="main" basedir=".">
|
||||||
|
|
||||||
|
<property name="src.dir" value="${basedir}/src"/>
|
||||||
|
<property name="src.main.dir" value="${src.dir}/main"/>
|
||||||
|
<property name="src.web.dir" value="${src.dir}/web"/>
|
||||||
|
|
||||||
|
<property name="build.dir" value="${basedir}/build"/>
|
||||||
|
<property name="build.deploy.dir" value="${build.dir}/deploy"/>
|
||||||
|
|
||||||
|
<target name="init">
|
||||||
|
<echo message="=========== Build Web Store"/>
|
||||||
|
|
||||||
|
<tstamp/>
|
||||||
|
<mkdir dir="${build.deploy.dir}"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- =================================================================== -->
|
||||||
|
<!-- Creates the war archives -->
|
||||||
|
<!-- =================================================================== -->
|
||||||
|
<target name="war" depends="init">
|
||||||
|
<war
|
||||||
|
warfile="${build.deploy.dir}/adempiereWebStore.war"
|
||||||
|
webxml="${src.web.dir}/WEB-INF/web.xml">
|
||||||
|
<fileset dir="${src.web.dir}" excludes="**/web.xml,**/lib/**,**/classes/**"/>
|
||||||
|
<manifest>
|
||||||
|
<attribute name="Specification-Title" value="AdempiereWebStore"/>
|
||||||
|
<attribute name="Specification-Version" value="${env.ADEMPIERE_VERSION}"/>
|
||||||
|
<attribute name="Specification-Vendor" value="(C) 2006 ComPiere, Inc."/>
|
||||||
|
<attribute name="Implementation-Title" value="AdempiereWebStore ${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 adempiereApps.jar"/>
|
||||||
|
</manifest>
|
||||||
|
</war>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- =================================================================== -->
|
||||||
|
<!-- Creates the server binary -->
|
||||||
|
<!-- =================================================================== -->
|
||||||
|
<target name="deploy-server" depends="war">
|
||||||
|
<copy file="src/ear/application.xml" tofile="../lib/adempiereWebStore.xml"/>
|
||||||
|
<copy todir="../lib">
|
||||||
|
<fileset dir="${build.deploy.dir}" includes="*.jar,*.war,*.ear"/>
|
||||||
|
</copy>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- =================================================================== -->
|
||||||
|
<!-- Creates the binary structure -->
|
||||||
|
<!-- =================================================================== -->
|
||||||
|
<target name="main" depends="deploy-server">
|
||||||
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- =================================================================== -->
|
||||||
|
<!-- Cleans up the current build -->
|
||||||
|
<!-- =================================================================== -->
|
||||||
|
<target name="clean">
|
||||||
|
<delete dir="${build.dir}"/>
|
||||||
|
<delete file="../lib/adempiereWebStore.war" failonerror="false"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
</project>
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project default="_generation_" name="Packaging Generator">
|
||||||
|
<target name="_generation_" depends="N10004"/>
|
||||||
|
<target name="N10004" description="AdempiereWebStore.war"/>
|
||||||
|
</project>
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 1999-2005 Jorg Janke ComPiere, Inc.
|
||||||
|
@version $Id: application.xml,v 1.2 2006/06/12 00:58:42 jjanke Exp $
|
||||||
|
-->
|
||||||
|
<application version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
|
||||||
|
<display-name>wstore</display-name>
|
||||||
|
<description>Adempiere Web Store</description>
|
||||||
|
<module>
|
||||||
|
<java>AdempiereSLib.jar</java>
|
||||||
|
</module>
|
||||||
|
<module>
|
||||||
|
<java>Adempiere.jar</java>
|
||||||
|
</module>
|
||||||
|
<module>
|
||||||
|
<java>adempiereApps.jar</java>
|
||||||
|
</module>
|
||||||
|
<module>
|
||||||
|
<web>
|
||||||
|
<web-uri>adempiereWebStore.war</web-uri>
|
||||||
|
<context-root>/wstore</context-root>
|
||||||
|
</web>
|
||||||
|
</module>
|
||||||
|
</application>
|
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 686 B |
After Width: | Height: | Size: 604 B |
After Width: | Height: | Size: 2.2 KiB |
|
@ -0,0 +1,563 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<taglib 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-jsptaglibrary_2_0.xsd"
|
||||||
|
version="2.0">
|
||||||
|
|
||||||
|
<description>JSTL 1.1 core library</description>
|
||||||
|
<display-name>JSTL core</display-name>
|
||||||
|
<tlib-version>1.1</tlib-version>
|
||||||
|
<short-name>c</short-name>
|
||||||
|
<uri>http://java.sun.com/jsp/jstl/core</uri>
|
||||||
|
|
||||||
|
<validator>
|
||||||
|
<description>
|
||||||
|
Provides core validation features for JSTL tags.
|
||||||
|
</description>
|
||||||
|
<validator-class>
|
||||||
|
org.apache.taglibs.standard.tlv.JstlCoreTLV
|
||||||
|
</validator-class>
|
||||||
|
</validator>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Catches any Throwable that occurs in its body and optionally
|
||||||
|
exposes it.
|
||||||
|
</description>
|
||||||
|
<name>catch</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
exception thrown from a nested action. The type of the
|
||||||
|
scoped variable is the type of the exception thrown.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Simple conditional tag that establishes a context for
|
||||||
|
mutually exclusive conditional operations, marked by
|
||||||
|
<when> and <otherwise>
|
||||||
|
</description>
|
||||||
|
<name>choose</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Simple conditional tag, which evalutes its body if the
|
||||||
|
supplied condition is true and optionally exposes a Boolean
|
||||||
|
scripting variable representing the evaluation of this condition
|
||||||
|
</description>
|
||||||
|
<name>if</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The test condition that determines whether or
|
||||||
|
not the body content should be processed.
|
||||||
|
</description>
|
||||||
|
<name>test</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>boolean</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
resulting value of the test condition. The type
|
||||||
|
of the scoped variable is Boolean.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope for var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Retrieves an absolute or relative URL and exposes its contents
|
||||||
|
to either the page, a String in 'var', or a Reader in 'varReader'.
|
||||||
|
</description>
|
||||||
|
<name>import</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
|
||||||
|
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The URL of the resource to import.
|
||||||
|
</description>
|
||||||
|
<name>url</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
resource's content. The type of the scoped
|
||||||
|
variable is String.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope for var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
resource's content. The type of the scoped
|
||||||
|
variable is Reader.
|
||||||
|
</description>
|
||||||
|
<name>varReader</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the context when accessing a relative
|
||||||
|
URL resource that belongs to a foreign
|
||||||
|
context.
|
||||||
|
</description>
|
||||||
|
<name>context</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Character encoding of the content at the input
|
||||||
|
resource.
|
||||||
|
</description>
|
||||||
|
<name>charEncoding</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
The basic iteration tag, accepting many different
|
||||||
|
collection types and supporting subsetting and other
|
||||||
|
functionality
|
||||||
|
</description>
|
||||||
|
<name>forEach</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
|
||||||
|
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Collection of items to iterate over.
|
||||||
|
</description>
|
||||||
|
<name>items</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>java.lang.Object</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
If items specified:
|
||||||
|
Iteration begins at the item located at the
|
||||||
|
specified index. First item of the collection has
|
||||||
|
index 0.
|
||||||
|
If items not specified:
|
||||||
|
Iteration begins with index set at the value
|
||||||
|
specified.
|
||||||
|
</description>
|
||||||
|
<name>begin</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>int</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
If items specified:
|
||||||
|
Iteration ends at the item located at the
|
||||||
|
specified index (inclusive).
|
||||||
|
If items not specified:
|
||||||
|
Iteration ends when index reaches the value
|
||||||
|
specified.
|
||||||
|
</description>
|
||||||
|
<name>end</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>int</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Iteration will only process every step items of
|
||||||
|
the collection, starting with the first one.
|
||||||
|
</description>
|
||||||
|
<name>step</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>int</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
current item of the iteration. This scoped
|
||||||
|
variable has nested visibility. Its type depends
|
||||||
|
on the object of the underlying collection.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
status of the iteration. Object exported is of type
|
||||||
|
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested
|
||||||
|
visibility.
|
||||||
|
</description>
|
||||||
|
<name>varStatus</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Iterates over tokens, separated by the supplied delimeters
|
||||||
|
</description>
|
||||||
|
<name>forTokens</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
String of tokens to iterate over.
|
||||||
|
</description>
|
||||||
|
<name>items</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>java.lang.String</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The set of delimiters (the characters that
|
||||||
|
separate the tokens in the string).
|
||||||
|
</description>
|
||||||
|
<name>delims</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>java.lang.String</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Iteration begins at the token located at the
|
||||||
|
specified index. First token has index 0.
|
||||||
|
</description>
|
||||||
|
<name>begin</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>int</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Iteration ends at the token located at the
|
||||||
|
specified index (inclusive).
|
||||||
|
</description>
|
||||||
|
<name>end</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>int</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Iteration will only process every step tokens
|
||||||
|
of the string, starting with the first one.
|
||||||
|
</description>
|
||||||
|
<name>step</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>int</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
current item of the iteration. This scoped
|
||||||
|
variable has nested visibility.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
status of the iteration. Object exported is of
|
||||||
|
type
|
||||||
|
javax.servlet.jsp.jstl.core.LoopTag
|
||||||
|
Status. This scoped variable has nested
|
||||||
|
visibility.
|
||||||
|
</description>
|
||||||
|
<name>varStatus</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Like <%= ... >, but for expressions.
|
||||||
|
</description>
|
||||||
|
<name>out</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Expression to be evaluated.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Default value if the resulting value is null.
|
||||||
|
</description>
|
||||||
|
<name>default</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Determines whether characters <,>,&,'," in the
|
||||||
|
resulting string should be converted to their
|
||||||
|
corresponding character entity codes. Default value is
|
||||||
|
true.
|
||||||
|
</description>
|
||||||
|
<name>escapeXml</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Subtag of <choose> that follows <when> tags
|
||||||
|
and runs only if all of the prior conditions evaluated to
|
||||||
|
'false'
|
||||||
|
</description>
|
||||||
|
<name>otherwise</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Adds a parameter to a containing 'import' tag's URL.
|
||||||
|
</description>
|
||||||
|
<name>param</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the query string parameter.
|
||||||
|
</description>
|
||||||
|
<name>name</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Value of the parameter.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Redirects to a new URL.
|
||||||
|
</description>
|
||||||
|
<name>redirect</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The URL of the resource to redirect to.
|
||||||
|
</description>
|
||||||
|
<name>url</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the context when redirecting to a relative URL
|
||||||
|
resource that belongs to a foreign context.
|
||||||
|
</description>
|
||||||
|
<name>context</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Removes a scoped variable (from a particular scope, if specified).
|
||||||
|
</description>
|
||||||
|
<name>remove</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the scoped variable to be removed.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope for var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Sets the result of an expression evaluation in a 'scope'
|
||||||
|
</description>
|
||||||
|
<name>set</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable to hold the value
|
||||||
|
specified in the action. The type of the scoped variable is
|
||||||
|
whatever type the value expression evaluates to.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Expression to be evaluated.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Target object whose property will be set. Must evaluate to
|
||||||
|
a JavaBeans object with setter property property, or to a
|
||||||
|
java.util.Map object.
|
||||||
|
</description>
|
||||||
|
<name>target</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the property to be set in the target object.
|
||||||
|
</description>
|
||||||
|
<name>property</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope for var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Creates a URL with optional query parameters.
|
||||||
|
</description>
|
||||||
|
<name>url</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
processed url. The type of the scoped variable is
|
||||||
|
String.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope for var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
URL to be processed.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the context when specifying a relative URL
|
||||||
|
resource that belongs to a foreign context.
|
||||||
|
</description>
|
||||||
|
<name>context</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Subtag of <choose> that includes its body if its
|
||||||
|
condition evalutes to 'true'
|
||||||
|
</description>
|
||||||
|
<name>when</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.core.WhenTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The test condition that determines whether or not the
|
||||||
|
body content should be processed.
|
||||||
|
</description>
|
||||||
|
<name>test</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>boolean</type>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
</taglib>
|
|
@ -0,0 +1,671 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<taglib 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-jsptaglibrary_2_0.xsd"
|
||||||
|
version="2.0">
|
||||||
|
|
||||||
|
<description>JSTL 1.1 i18n-capable formatting library</description>
|
||||||
|
<display-name>JSTL fmt</display-name>
|
||||||
|
<tlib-version>1.1</tlib-version>
|
||||||
|
<short-name>fmt</short-name>
|
||||||
|
<uri>http://java.sun.com/jsp/jstl/fmt</uri>
|
||||||
|
|
||||||
|
<validator>
|
||||||
|
<description>
|
||||||
|
Provides core validation features for JSTL tags.
|
||||||
|
</description>
|
||||||
|
<validator-class>
|
||||||
|
org.apache.taglibs.standard.tlv.JstlFmtTLV
|
||||||
|
</validator-class>
|
||||||
|
</validator>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Sets the request character encoding
|
||||||
|
</description>
|
||||||
|
<name>requestEncoding</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of character encoding to be applied when
|
||||||
|
decoding request parameters.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Stores the given locale in the locale configuration variable
|
||||||
|
</description>
|
||||||
|
<name>setLocale</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
A String value is interpreted as the
|
||||||
|
printable representation of a locale, which
|
||||||
|
must contain a two-letter (lower-case)
|
||||||
|
language code (as defined by ISO-639),
|
||||||
|
and may contain a two-letter (upper-case)
|
||||||
|
country code (as defined by ISO-3166).
|
||||||
|
Language and country codes must be
|
||||||
|
separated by hyphen (-) or underscore
|
||||||
|
(_).
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Vendor- or browser-specific variant.
|
||||||
|
See the java.util.Locale javadocs for
|
||||||
|
more information on variants.
|
||||||
|
</description>
|
||||||
|
<name>variant</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope of the locale configuration variable.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Specifies the time zone for any time formatting or parsing actions
|
||||||
|
nested in its body
|
||||||
|
</description>
|
||||||
|
<name>timeZone</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The time zone. A String value is interpreted as
|
||||||
|
a time zone ID. This may be one of the time zone
|
||||||
|
IDs supported by the Java platform (such as
|
||||||
|
"America/Los_Angeles") or a custom time zone
|
||||||
|
ID (such as "GMT-8"). See
|
||||||
|
java.util.TimeZone for more information on
|
||||||
|
supported time zone formats.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Stores the given time zone in the time zone configuration variable
|
||||||
|
</description>
|
||||||
|
<name>setTimeZone</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The time zone. A String value is interpreted as
|
||||||
|
a time zone ID. This may be one of the time zone
|
||||||
|
IDs supported by the Java platform (such as
|
||||||
|
"America/Los_Angeles") or a custom time zone
|
||||||
|
ID (such as "GMT-8"). See java.util.TimeZone for
|
||||||
|
more information on supported time zone
|
||||||
|
formats.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable which
|
||||||
|
stores the time zone of type
|
||||||
|
java.util.TimeZone.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope of var or the time zone configuration
|
||||||
|
variable.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Loads a resource bundle to be used by its tag body
|
||||||
|
</description>
|
||||||
|
<name>bundle</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.BundleTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Resource bundle base name. This is the bundle's
|
||||||
|
fully-qualified resource name, which has the same
|
||||||
|
form as a fully-qualified class name, that is, it uses
|
||||||
|
"." as the package component separator and does not
|
||||||
|
have any file type (such as ".class" or ".properties")
|
||||||
|
suffix.
|
||||||
|
</description>
|
||||||
|
<name>basename</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Prefix to be prepended to the value of the message
|
||||||
|
key of any nested <fmt:message> action.
|
||||||
|
</description>
|
||||||
|
<name>prefix</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Loads a resource bundle and stores it in the named scoped variable or
|
||||||
|
the bundle configuration variable
|
||||||
|
</description>
|
||||||
|
<name>setBundle</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Resource bundle base name. This is the bundle's
|
||||||
|
fully-qualified resource name, which has the same
|
||||||
|
form as a fully-qualified class name, that is, it uses
|
||||||
|
"." as the package component separator and does not
|
||||||
|
have any file type (such as ".class" or ".properties")
|
||||||
|
suffix.
|
||||||
|
</description>
|
||||||
|
<name>basename</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable which stores
|
||||||
|
the i18n localization context of type
|
||||||
|
javax.servlet.jsp.jstl.fmt.LocalizationC
|
||||||
|
ontext.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope of var or the localization context
|
||||||
|
configuration variable.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Maps key to localized message and performs parametric replacement
|
||||||
|
</description>
|
||||||
|
<name>message</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.MessageTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Message key to be looked up.
|
||||||
|
</description>
|
||||||
|
<name>key</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Localization context in whose resource
|
||||||
|
bundle the message key is looked up.
|
||||||
|
</description>
|
||||||
|
<name>bundle</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable
|
||||||
|
which stores the localized message.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope of var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Supplies an argument for parametric replacement to a containing
|
||||||
|
<message> tag
|
||||||
|
</description>
|
||||||
|
<name>param</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParamTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Argument used for parametric replacement.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Formats a numeric value as a number, currency, or percentage
|
||||||
|
</description>
|
||||||
|
<name>formatNumber</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Numeric value to be formatted.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Specifies whether the value is to be
|
||||||
|
formatted as number, currency, or
|
||||||
|
percentage.
|
||||||
|
</description>
|
||||||
|
<name>type</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Custom formatting pattern.
|
||||||
|
</description>
|
||||||
|
<name>pattern</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
ISO 4217 currency code. Applied only
|
||||||
|
when formatting currencies (i.e. if type is
|
||||||
|
equal to "currency"); ignored otherwise.
|
||||||
|
</description>
|
||||||
|
<name>currencyCode</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Currency symbol. Applied only when
|
||||||
|
formatting currencies (i.e. if type is equal
|
||||||
|
to "currency"); ignored otherwise.
|
||||||
|
</description>
|
||||||
|
<name>currencySymbol</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Specifies whether the formatted output
|
||||||
|
will contain any grouping separators.
|
||||||
|
</description>
|
||||||
|
<name>groupingUsed</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Maximum number of digits in the integer
|
||||||
|
portion of the formatted output.
|
||||||
|
</description>
|
||||||
|
<name>maxIntegerDigits</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Minimum number of digits in the integer
|
||||||
|
portion of the formatted output.
|
||||||
|
</description>
|
||||||
|
<name>minIntegerDigits</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Maximum number of digits in the
|
||||||
|
fractional portion of the formatted output.
|
||||||
|
</description>
|
||||||
|
<name>maxFractionDigits</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Minimum number of digits in the
|
||||||
|
fractional portion of the formatted output.
|
||||||
|
</description>
|
||||||
|
<name>minFractionDigits</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable
|
||||||
|
which stores the formatted result as a
|
||||||
|
String.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope of var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Parses the string representation of a number, currency, or percentage
|
||||||
|
</description>
|
||||||
|
<name>parseNumber</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
String to be parsed.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Specifies whether the string in the value
|
||||||
|
attribute should be parsed as a number,
|
||||||
|
currency, or percentage.
|
||||||
|
</description>
|
||||||
|
<name>type</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Custom formatting pattern that determines
|
||||||
|
how the string in the value attribute is to be
|
||||||
|
parsed.
|
||||||
|
</description>
|
||||||
|
<name>pattern</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Locale whose default formatting pattern (for
|
||||||
|
numbers, currencies, or percentages,
|
||||||
|
respectively) is to be used during the parse
|
||||||
|
operation, or to which the pattern specified
|
||||||
|
via the pattern attribute (if present) is
|
||||||
|
applied.
|
||||||
|
</description>
|
||||||
|
<name>parseLocale</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Specifies whether just the integer portion of
|
||||||
|
the given value should be parsed.
|
||||||
|
</description>
|
||||||
|
<name>integerOnly</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable which
|
||||||
|
stores the parsed result (of type
|
||||||
|
java.lang.Number).
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope of var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Formats a date and/or time using the supplied styles and pattern
|
||||||
|
</description>
|
||||||
|
<name>formatDate</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Date and/or time to be formatted.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Specifies whether the time, the date, or both
|
||||||
|
the time and date components of the given
|
||||||
|
date are to be formatted.
|
||||||
|
</description>
|
||||||
|
<name>type</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Predefined formatting style for dates. Follows
|
||||||
|
the semantics defined in class
|
||||||
|
java.text.DateFormat. Applied only
|
||||||
|
when formatting a date or both a date and
|
||||||
|
time (i.e. if type is missing or is equal to
|
||||||
|
"date" or "both"); ignored otherwise.
|
||||||
|
</description>
|
||||||
|
<name>dateStyle</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Predefined formatting style for times. Follows
|
||||||
|
the semantics defined in class
|
||||||
|
java.text.DateFormat. Applied only
|
||||||
|
when formatting a time or both a date and
|
||||||
|
time (i.e. if type is equal to "time" or "both");
|
||||||
|
ignored otherwise.
|
||||||
|
</description>
|
||||||
|
<name>timeStyle</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Custom formatting style for dates and times.
|
||||||
|
</description>
|
||||||
|
<name>pattern</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Time zone in which to represent the formatted
|
||||||
|
time.
|
||||||
|
</description>
|
||||||
|
<name>timeZone</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable which
|
||||||
|
stores the formatted result as a String.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope of var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Parses the string representation of a date and/or time
|
||||||
|
</description>
|
||||||
|
<name>parseDate</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Date string to be parsed.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Specifies whether the date string in the
|
||||||
|
value attribute is supposed to contain a
|
||||||
|
time, a date, or both.
|
||||||
|
</description>
|
||||||
|
<name>type</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Predefined formatting style for days
|
||||||
|
which determines how the date
|
||||||
|
component of the date string is to be
|
||||||
|
parsed. Applied only when formatting a
|
||||||
|
date or both a date and time (i.e. if type
|
||||||
|
is missing or is equal to "date" or "both");
|
||||||
|
ignored otherwise.
|
||||||
|
</description>
|
||||||
|
<name>dateStyle</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Predefined formatting styles for times
|
||||||
|
which determines how the time
|
||||||
|
component in the date string is to be
|
||||||
|
parsed. Applied only when formatting a
|
||||||
|
time or both a date and time (i.e. if type
|
||||||
|
is equal to "time" or "both"); ignored
|
||||||
|
otherwise.
|
||||||
|
</description>
|
||||||
|
<name>timeStyle</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Custom formatting pattern which
|
||||||
|
determines how the date string is to be
|
||||||
|
parsed.
|
||||||
|
</description>
|
||||||
|
<name>pattern</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Time zone in which to interpret any time
|
||||||
|
information in the date string.
|
||||||
|
</description>
|
||||||
|
<name>timeZone</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Locale whose predefined formatting styles
|
||||||
|
for dates and times are to be used during
|
||||||
|
the parse operation, or to which the
|
||||||
|
pattern specified via the pattern
|
||||||
|
attribute (if present) is applied.
|
||||||
|
</description>
|
||||||
|
<name>parseLocale</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable in
|
||||||
|
which the parsing result (of type
|
||||||
|
java.util.Date) is stored.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope of var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
</taglib>
|
|
@ -0,0 +1,207 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<taglib 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-jsptaglibrary_2_0.xsd"
|
||||||
|
version="2.0">
|
||||||
|
|
||||||
|
<description>JSTL 1.1 functions library</description>
|
||||||
|
<display-name>JSTL functions</display-name>
|
||||||
|
<tlib-version>1.1</tlib-version>
|
||||||
|
<short-name>fn</short-name>
|
||||||
|
<uri>http://java.sun.com/jsp/jstl/functions</uri>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Tests if an input string contains the specified substring.
|
||||||
|
</description>
|
||||||
|
<name>contains</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>boolean contains(java.lang.String, java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
<c:if test="${fn:contains(name, searchString)}">
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Tests if an input string contains the specified substring in a case insensitive way.
|
||||||
|
</description>
|
||||||
|
<name>containsIgnoreCase</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>boolean containsIgnoreCase(java.lang.String, java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
<c:if test="${fn:containsIgnoreCase(name, searchString)}">
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Tests if an input string ends with the specified suffix.
|
||||||
|
</description>
|
||||||
|
<name>endsWith</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>boolean endsWith(java.lang.String, java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
<c:if test="${fn:endsWith(filename, ".txt")}">
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Escapes characters that could be interpreted as XML markup.
|
||||||
|
</description>
|
||||||
|
<name>escapeXml</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>java.lang.String escapeXml(java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
${fn:escapeXml(param:info)}
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Returns the index withing a string of the first occurrence of a specified substring.
|
||||||
|
</description>
|
||||||
|
<name>indexOf</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>int indexOf(java.lang.String, java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
${fn:indexOf(name, "-")}
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Joins all elements of an array into a string.
|
||||||
|
</description>
|
||||||
|
<name>join</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>java.lang.String join(java.lang.String[], java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
${fn:join(array, ";")}
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Returns the number of items in a collection, or the number of characters in a string.
|
||||||
|
</description>
|
||||||
|
<name>length</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>int length(java.lang.Object)</function-signature>
|
||||||
|
<example>
|
||||||
|
You have ${fn:length(shoppingCart.products)} in your shopping cart.
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Returns a string resulting from replacing in an input string all occurrences
|
||||||
|
of a "before" string into an "after" substring.
|
||||||
|
</description>
|
||||||
|
<name>replace</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>java.lang.String replace(java.lang.String, java.lang.String, java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
${fn:replace(text, "-", "•")}
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Splits a string into an array of substrings.
|
||||||
|
</description>
|
||||||
|
<name>split</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>java.lang.String[] split(java.lang.String, java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
${fn:split(customerNames, ";")}
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Tests if an input string starts with the specified prefix.
|
||||||
|
</description>
|
||||||
|
<name>startsWith</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>boolean startsWith(java.lang.String, java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
<c:if test="${fn:startsWith(product.id, "100-")}">
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Returns a subset of a string.
|
||||||
|
</description>
|
||||||
|
<name>substring</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>java.lang.String substring(java.lang.String, int, int)</function-signature>
|
||||||
|
<example>
|
||||||
|
P.O. Box: ${fn:substring(zip, 6, -1)}
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Returns a subset of a string following a specific substring.
|
||||||
|
</description>
|
||||||
|
<name>substringAfter</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>java.lang.String substringAfter(java.lang.String, java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
P.O. Box: ${fn:substringAfter(zip, "-")}
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Returns a subset of a string before a specific substring.
|
||||||
|
</description>
|
||||||
|
<name>substringBefore</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>java.lang.String substringBefore(java.lang.String, java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
Zip (without P.O. Box): ${fn:substringBefore(zip, "-")}
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Converts all of the characters of a string to lower case.
|
||||||
|
</description>
|
||||||
|
<name>toLowerCase</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>java.lang.String toLowerCase(java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
Product name: ${fn.toLowerCase(product.name)}
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Converts all of the characters of a string to upper case.
|
||||||
|
</description>
|
||||||
|
<name>toUpperCase</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>java.lang.String toUpperCase(java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
Product name: ${fn.UpperCase(product.name)}
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function>
|
||||||
|
<description>
|
||||||
|
Removes white spaces from both ends of a string.
|
||||||
|
</description>
|
||||||
|
<name>trim</name>
|
||||||
|
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||||
|
<function-signature>java.lang.String trim(java.lang.String)</function-signature>
|
||||||
|
<example>
|
||||||
|
Name: ${fn.trim(name)}
|
||||||
|
</example>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
</taglib>
|
|
@ -0,0 +1,12 @@
|
||||||
|
<%--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: footer.jspf,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2004 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Footer
|
||||||
|
--%>
|
||||||
|
<div id="footer">
|
||||||
|
<div id="footerParam4"><c:out value='${ctx.webParam4}' escapeXml='false'/> </div>
|
||||||
|
<div id="footerParam5"><c:out value='${ctx.webParam5}' escapeXml='false'/> </div>
|
||||||
|
<div id="footerParam6"><c:out value='${ctx.webParam6}' escapeXml='false'/> </div>
|
||||||
|
</div>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<%--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: head.jspf,v 1.4 2006/05/09 01:04:19 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2004 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Head
|
||||||
|
--%>
|
||||||
|
<link href="<c:out value='${ctx.Stylesheet}.css'/>" rel="stylesheet" type="text/css"/>
|
||||||
|
<!--[if IE 6]>
|
||||||
|
<link href="<c:out value='${ctx.Stylesheet}-ie6.css'/>" rel="stylesheet" type="text/css"/>
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if gte IE 7]>
|
||||||
|
<link href="<c:out value='${ctx.Stylesheet}-ie7.css'/>" rel="stylesheet" type="text/css"/>
|
||||||
|
<![endif]-->
|
||||||
|
<link href="<c:out value='${ctx.Stylesheet}-print.css'/>" rel="stylesheet" type="text/css" media="print"/>
|
||||||
|
<script src="/adempiere/standard.js" language="JavaScript" type="text/JavaScript"></script>
|
||||||
|
<script src="/adempiere/wstore.js" language="JavaScript" type="text/JavaScript"></script>
|
||||||
|
<meta http-equiv="pragma" content="no-cache">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<meta name="description" content="Adempiere Web Store">
|
|
@ -0,0 +1,23 @@
|
||||||
|
<%--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: header.jspf,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2005 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Header
|
||||||
|
--%>
|
||||||
|
<div id="header">
|
||||||
|
<div id="headerIcon">
|
||||||
|
<a href="http://<c:out value='${pageContext.request.serverName}'/>/">
|
||||||
|
<img src="<c:out value='${ctx.webParam1}' default='AdempiereERP.gif'/>" alt="Adempiere™ - Copyright © 1999-2005 Jorg Janke"></a>
|
||||||
|
</div>
|
||||||
|
<div id="headerMenu">
|
||||||
|
<a class="menuMain" href="help.jsp">
|
||||||
|
<img src="help.gif" alt="Help" width="16" height="16" border="0">Help</a>
|
||||||
|
<br/><span id="status"></span>
|
||||||
|
</div>
|
||||||
|
<div id="headerContent">
|
||||||
|
<cws:loginLink/>
|
||||||
|
<c:if test='${not empty hdrInfo}'><br><em><c:out value='${hdrInfo}'/></em></c:if>
|
||||||
|
<c:if test='${not empty hdrMessage}'><br><font color="#FF0000">** <c:out value='${hdrMessage}'/> **</font></c:if>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,8 @@
|
||||||
|
<div id="menu">
|
||||||
|
<a class="menuMain" href="index.jsp">Web Store</a><br>
|
||||||
|
<cws:checkOutLink oneLine='N'/>
|
||||||
|
<cws:infoLink oneLine='N'/>
|
||||||
|
<hr width="90%" align="left">
|
||||||
|
<a class="menuMain" href="request.jsp?ForwardTo=/wstore/">Contact us</a>
|
||||||
|
<c:out value='${ctx.webParam3}' escapeXml='false'/>
|
||||||
|
</div>
|
|
@ -0,0 +1,7 @@
|
||||||
|
<%@ page session="true" contentType="text/html; charset=UTF-8" errorPage="errorPage.jsp" %>
|
||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<%@ taglib uri="webStore.tld" prefix="cws" %>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
|
@ -0,0 +1,3 @@
|
||||||
|
<div id="vendorUse">
|
||||||
|
<br>
|
||||||
|
</div>
|
|
@ -0,0 +1,289 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<taglib 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-jsptaglibrary_2_0.xsd"
|
||||||
|
version="2.0">
|
||||||
|
|
||||||
|
<description>JSTL 1.1 sql library</description>
|
||||||
|
<display-name>JSTL sql</display-name>
|
||||||
|
<tlib-version>1.1</tlib-version>
|
||||||
|
<short-name>sql</short-name>
|
||||||
|
<uri>http://java.sun.com/jsp/jstl/sql</uri>
|
||||||
|
|
||||||
|
<validator>
|
||||||
|
<description>
|
||||||
|
Provides core validation features for JSTL tags.
|
||||||
|
</description>
|
||||||
|
<validator-class>
|
||||||
|
org.apache.taglibs.standard.tlv.JstlSqlTLV
|
||||||
|
</validator-class>
|
||||||
|
</validator>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Provides nested database action elements with a shared Connection,
|
||||||
|
set up to execute all statements as one transaction.
|
||||||
|
</description>
|
||||||
|
<name>transaction</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.sql.TransactionTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
DataSource associated with the database to access. A
|
||||||
|
String value represents a relative path to a JNDI
|
||||||
|
resource or the parameters for the JDBC
|
||||||
|
DriverManager facility.
|
||||||
|
</description>
|
||||||
|
<name>dataSource</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Transaction isolation level. If not specified, it is the
|
||||||
|
isolation level the DataSource has been configured
|
||||||
|
with.
|
||||||
|
</description>
|
||||||
|
<name>isolation</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Executes the SQL query defined in its body or through the
|
||||||
|
sql attribute.
|
||||||
|
</description>
|
||||||
|
<name>query</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.sql.QueryTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
query result. The type of the scoped variable is
|
||||||
|
javax.servlet.jsp.jstl.sql.
|
||||||
|
Result (see Chapter 16 "Java APIs").
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope of var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
SQL query statement.
|
||||||
|
</description>
|
||||||
|
<name>sql</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Data source associated with the database to
|
||||||
|
query. A String value represents a relative path
|
||||||
|
to a JNDI resource or the parameters for the
|
||||||
|
DriverManager class.
|
||||||
|
</description>
|
||||||
|
<name>dataSource</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The returned Result object includes the rows
|
||||||
|
starting at the specified index. The first row of
|
||||||
|
the original query result set is at index 0. If not
|
||||||
|
specified, rows are included starting from the
|
||||||
|
first row at index 0.
|
||||||
|
</description>
|
||||||
|
<name>startRow</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The maximum number of rows to be included in
|
||||||
|
the query result. If not specified, or set to -1, no
|
||||||
|
limit on the maximum number of rows is
|
||||||
|
enforced.
|
||||||
|
</description>
|
||||||
|
<name>maxRows</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Executes the SQL update defined in its body or through the
|
||||||
|
sql attribute.
|
||||||
|
</description>
|
||||||
|
<name>update</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.sql.UpdateTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the result
|
||||||
|
of the database update. The type of the scoped
|
||||||
|
variable is java.lang.Integer.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope of var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
SQL update statement.
|
||||||
|
</description>
|
||||||
|
<name>sql</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Data source associated with the database to update.
|
||||||
|
A String value represents a relative path to a JNDI
|
||||||
|
resource or the parameters for the JDBC
|
||||||
|
DriverManager class.
|
||||||
|
</description>
|
||||||
|
<name>dataSource</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Sets a parameter in an SQL statement to the specified value.
|
||||||
|
</description>
|
||||||
|
<name>param</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.sql.ParamTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Parameter value.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Sets a parameter in an SQL statement to the specified java.util.Date value.
|
||||||
|
</description>
|
||||||
|
<name>dateParam</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.sql.DateParamTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Parameter value for DATE, TIME, or
|
||||||
|
TIMESTAMP column in a database table.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
One of "date", "time" or "timestamp".
|
||||||
|
</description>
|
||||||
|
<name>type</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Creates a simple DataSource suitable only for prototyping.
|
||||||
|
</description>
|
||||||
|
<name>setDataSource</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable
|
||||||
|
for the data source specified. Type can
|
||||||
|
be String or DataSource.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
If var is specified, scope of the
|
||||||
|
exported variable. Otherwise, scope of
|
||||||
|
the data source configuration variable.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Data source. If specified as a string, it
|
||||||
|
can either be a relative path to a JNDI
|
||||||
|
resource, or a JDBC parameters string
|
||||||
|
as defined in Section 10.1.1.
|
||||||
|
</description>
|
||||||
|
<name>dataSource</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
JDBC parameter: driver class name.
|
||||||
|
</description>
|
||||||
|
<name>driver</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
JDBC parameter: URL associated with
|
||||||
|
the database.
|
||||||
|
</description>
|
||||||
|
<name>url</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
JDBC parameter: database user on
|
||||||
|
whose behalf the connection to the
|
||||||
|
database is being made.
|
||||||
|
</description>
|
||||||
|
<name>user</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
JDBC parameter: user password
|
||||||
|
</description>
|
||||||
|
<name>password</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
</taglib>
|
|
@ -0,0 +1,333 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- edited with XMLSPY v2004 rel. 3 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">
|
||||||
|
<icon>
|
||||||
|
<large-icon>/C32.gif</large-icon>
|
||||||
|
</icon>
|
||||||
|
<display-name>Adempiere Web Store</display-name>
|
||||||
|
<description>$Id: web.xml,v 1.3 2006/05/22 22:48:32 mdeaelfweald Exp $</description>
|
||||||
|
<!--Standard Parameters - if 0 use web store context -->
|
||||||
|
<context-param>
|
||||||
|
<param-name>#W_Store_ID</param-name>
|
||||||
|
<param-value>0</param-value>
|
||||||
|
</context-param>
|
||||||
|
<filter>
|
||||||
|
<filter-name>WebStoreFilter</filter-name>
|
||||||
|
<display-name>Web Store Filter </display-name>
|
||||||
|
<description>Adempiere Web Store Filter</description>
|
||||||
|
<filter-class>org.compiere.wstore.StoreFilter</filter-class>
|
||||||
|
</filter>
|
||||||
|
<filter-mapping>
|
||||||
|
<filter-name>WebStoreFilter</filter-name>
|
||||||
|
<url-pattern>/*</url-pattern>
|
||||||
|
</filter-mapping>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>AdvertisementServlet</servlet-name>
|
||||||
|
<display-name>Web Store Advertisement</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.AdvertisementServlet</servlet-class>
|
||||||
|
<load-on-startup>3</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>AssetServlet</servlet-name>
|
||||||
|
<display-name>Web Store Assets</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.AssetServlet</servlet-class>
|
||||||
|
<load-on-startup>2</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>BasketServlet</servlet-name>
|
||||||
|
<display-name>Web Basket Servlet</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.BasketServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>CheckOutServlet</servlet-name>
|
||||||
|
<display-name>Web CheckOut Servlet</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.CheckOutServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>Click</servlet-name>
|
||||||
|
<display-name>Adempiere Click</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.Click</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>ExpenseServlet</servlet-name>
|
||||||
|
<display-name>Web Expense Report</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.ExpenseServlet</servlet-class>
|
||||||
|
<load-on-startup>3</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>Counter</servlet-name>
|
||||||
|
<display-name>Web Page Counter</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.Counter</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>InfoServlet</servlet-name>
|
||||||
|
<display-name>Web Store Interest Area Servlet</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.InfoServlet</servlet-class>
|
||||||
|
<load-on-startup>2</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>InvoiceServlet</servlet-name>
|
||||||
|
<display-name>Web Store Invoices</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.InvoiceServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>LocationServlet</servlet-name>
|
||||||
|
<display-name>Web Store Location Servlet</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.LocationServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>LoginServlet</servlet-name>
|
||||||
|
<display-name>Web User Login Servlet</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.LoginServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>NoteServlet</servlet-name>
|
||||||
|
<display-name>Web Notification</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.NoteServlet</servlet-class>
|
||||||
|
<load-on-startup>3</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>OrderServlet</servlet-name>
|
||||||
|
<display-name>Web Store Order</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.OrderServlet</servlet-class>
|
||||||
|
<load-on-startup>2</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>PaymentServlet</servlet-name>
|
||||||
|
<display-name>Web Store Payment Processing</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.PaymentServlet</servlet-class>
|
||||||
|
<load-on-startup>2</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>ProductServlet</servlet-name>
|
||||||
|
<display-name>Web Product Search</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.ProductServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>RegistrationServlet</servlet-name>
|
||||||
|
<display-name>Web Registration Servlet</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.RegistrationServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>RequestServlet</servlet-name>
|
||||||
|
<display-name>Web Request Servlet</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.RequestServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>RfQServlet</servlet-name>
|
||||||
|
<display-name>Web RfQ Servlet</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.RfQServlet</servlet-class>
|
||||||
|
<load-on-startup>2</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>SearchServlet</servlet-name>
|
||||||
|
<display-name>Web Store Search Servlet</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.SearchServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>UpdateServlet</servlet-name>
|
||||||
|
<display-name>Web User Update Servlet</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.UpdateServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>WorkflowServlet</servlet-name>
|
||||||
|
<display-name>Web Workflow Servlet</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.WorkflowServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>Index</servlet-name>
|
||||||
|
<display-name>Web Index Page</display-name>
|
||||||
|
<jsp-file>/index.jsp</jsp-file>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>Basket</servlet-name>
|
||||||
|
<display-name>Web Basket Page</display-name>
|
||||||
|
<jsp-file>/basket.jsp</jsp-file>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>Login</servlet-name>
|
||||||
|
<display-name>Web Login Page</display-name>
|
||||||
|
<jsp-file>/login.jsp</jsp-file>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>Request</servlet-name>
|
||||||
|
<display-name>Web Request Page</display-name>
|
||||||
|
<jsp-file>/request.jsp</jsp-file>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>Info</servlet-name>
|
||||||
|
<display-name>Web Info Page</display-name>
|
||||||
|
<jsp-file>/info.jsp</jsp-file>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>EMailServlet</servlet-name>
|
||||||
|
<display-name>Web EMail Servlet</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.EMailServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>IssueReportServlet</servlet-name>
|
||||||
|
<display-name>Adempiere Issue Reporting</display-name>
|
||||||
|
<servlet-class>org.compiere.wstore.IssueReportServlet</servlet-class>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>AdvertisementServlet</servlet-name>
|
||||||
|
<url-pattern>/advertisementServlet/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>AssetServlet</servlet-name>
|
||||||
|
<url-pattern>/assetServlet/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>BasketServlet</servlet-name>
|
||||||
|
<url-pattern>/basketServlet</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>CheckOutServlet</servlet-name>
|
||||||
|
<url-pattern>/checkOutServlet</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>Click</servlet-name>
|
||||||
|
<url-pattern>/click/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>ExpenseServlet</servlet-name>
|
||||||
|
<url-pattern>/expenseServlet</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>Counter</servlet-name>
|
||||||
|
<url-pattern>/counter/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>InfoServlet</servlet-name>
|
||||||
|
<url-pattern>/infoServlet</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>InvoiceServlet</servlet-name>
|
||||||
|
<url-pattern>/invoiceServlet/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>LocationServlet</servlet-name>
|
||||||
|
<url-pattern>/locationServlet</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>LoginServlet</servlet-name>
|
||||||
|
<url-pattern>/loginServlet</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>NoteServlet</servlet-name>
|
||||||
|
<url-pattern>/noteServlet/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>OrderServlet</servlet-name>
|
||||||
|
<url-pattern>/orderServlet</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>PaymentServlet</servlet-name>
|
||||||
|
<url-pattern>/paymentServlet</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>ProductServlet</servlet-name>
|
||||||
|
<url-pattern>/productServlet/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>RegistrationServlet</servlet-name>
|
||||||
|
<url-pattern>/registrationServlet</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>RequestServlet</servlet-name>
|
||||||
|
<url-pattern>/requestServlet/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>RfQServlet</servlet-name>
|
||||||
|
<url-pattern>/rfqServlet/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>SearchServlet</servlet-name>
|
||||||
|
<url-pattern>/searchServlet</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>UpdateServlet</servlet-name>
|
||||||
|
<url-pattern>/updateServlet</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>WorkflowServlet</servlet-name>
|
||||||
|
<url-pattern>/workflowServlet/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>Index</servlet-name>
|
||||||
|
<url-pattern>/index.jsp/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>Basket</servlet-name>
|
||||||
|
<url-pattern>/basket.jsp/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>Login</servlet-name>
|
||||||
|
<url-pattern>/login.jsp/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>Request</servlet-name>
|
||||||
|
<url-pattern>/request.jsp/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>Info</servlet-name>
|
||||||
|
<url-pattern>/info.jsp</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>EMailServlet</servlet-name>
|
||||||
|
<url-pattern>/emailServlet/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>IssueReportServlet</servlet-name>
|
||||||
|
<url-pattern>/issueReportServlet/*</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
<session-config>
|
||||||
|
<session-timeout>30</session-timeout>
|
||||||
|
</session-config>
|
||||||
|
<welcome-file-list>
|
||||||
|
<welcome-file>index.jsp</welcome-file>
|
||||||
|
</welcome-file-list>
|
||||||
|
<taglib>
|
||||||
|
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
|
||||||
|
<taglib-location>/WEB-INF/c.tld</taglib-location>
|
||||||
|
</taglib>
|
||||||
|
<taglib>
|
||||||
|
<taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
|
||||||
|
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
|
||||||
|
</taglib>
|
||||||
|
<taglib>
|
||||||
|
<taglib-uri>http://java.sun.com/jsp/jstl/sql</taglib-uri>
|
||||||
|
<taglib-location>/WEB-INF/sql.tld</taglib-location>
|
||||||
|
</taglib>
|
||||||
|
<taglib>
|
||||||
|
<taglib-uri>http://java.sun.com/jsp/jstl/xml</taglib-uri>
|
||||||
|
<taglib-location>/WEB-INF/x.tld</taglib-location>
|
||||||
|
</taglib>
|
||||||
|
<taglib>
|
||||||
|
<taglib-uri>webStore.tld</taglib-uri>
|
||||||
|
<taglib-location>/WEB-INF/webStore.tld</taglib-location>
|
||||||
|
</taglib>
|
||||||
|
</web-app>
|
|
@ -0,0 +1,129 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<taglib 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-jsptaglibrary_2_0.xsd"
|
||||||
|
version="2.0">
|
||||||
|
|
||||||
|
<display-name>Adempiere WebStore</display-name>
|
||||||
|
<description>$Id: webStore.tld,v 1.1 2006/04/21 18:07:57 jjanke Exp $</description>
|
||||||
|
<tlib-version>1.1</tlib-version>
|
||||||
|
<short-name>cws</short-name>
|
||||||
|
<uri>webStore.tld</uri>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<name>requestType</name>
|
||||||
|
<tag-class>org.compiere.wstore.RequestTypeTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<description>Request Type Selection</description>
|
||||||
|
</tag>
|
||||||
|
<tag>
|
||||||
|
<name>requestOrder</name>
|
||||||
|
<tag-class>org.compiere.wstore.RequestOrderRefTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<description>Request Order Reference</description>
|
||||||
|
<attribute>
|
||||||
|
<name>bpartnerID</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
<tag>
|
||||||
|
<name>loginLink</name>
|
||||||
|
<tag-class>org.compiere.wstore.LoginLinkTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<description>Login Links</description>
|
||||||
|
</tag>
|
||||||
|
<tag>
|
||||||
|
<name>checkOutLink</name>
|
||||||
|
<tag-class>org.compiere.wstore.CheckOutLinkTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<description>CheckOut Links</description>
|
||||||
|
<attribute>
|
||||||
|
<name>oneLine</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
<tag>
|
||||||
|
<name>infoLink</name>
|
||||||
|
<tag-class>org.compiere.wstore.InfoLinkTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<description>Info Links</description>
|
||||||
|
<attribute>
|
||||||
|
<name>oneLine</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
<tag>
|
||||||
|
<name>priceList</name>
|
||||||
|
<tag-class>org.compiere.wstore.PriceListTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<description>Initializes + loads Price List</description>
|
||||||
|
<attribute>
|
||||||
|
<name>priceList_ID</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
<tag>
|
||||||
|
<name>productCategoryList</name>
|
||||||
|
<tag-class>org.compiere.wstore.ProductCategoryListTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<description>Login Links</description>
|
||||||
|
</tag>
|
||||||
|
<tag>
|
||||||
|
<name>workflow</name>
|
||||||
|
<tag-class>org.compiere.wstore.WorkflowTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<description>Workflow Choices</description>
|
||||||
|
<attribute>
|
||||||
|
<name>activityID</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
<tag>
|
||||||
|
<name>location</name>
|
||||||
|
<tag-class>org.compiere.wstore.LocationTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<description>Location table rows</description>
|
||||||
|
<attribute>
|
||||||
|
<name>countryID</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<name>regionID</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<name>regionName</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<name>postal</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<name>city</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
<tag>
|
||||||
|
<name>message</name>
|
||||||
|
<tag-class>org.compiere.wstore.MessageTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<description>Translate Messages</description>
|
||||||
|
<attribute>
|
||||||
|
<name>txt</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
</taglib>
|
|
@ -0,0 +1,448 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<taglib 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-jsptaglibrary_2_0.xsd"
|
||||||
|
version="2.0">
|
||||||
|
|
||||||
|
<description>JSTL 1.1 XML library</description>
|
||||||
|
<display-name>JSTL XML</display-name>
|
||||||
|
<tlib-version>1.1</tlib-version>
|
||||||
|
<short-name>x</short-name>
|
||||||
|
<uri>http://java.sun.com/jsp/jstl/xml</uri>
|
||||||
|
|
||||||
|
<validator>
|
||||||
|
<description>
|
||||||
|
Provides validation features for JSTL XML tags.
|
||||||
|
</description>
|
||||||
|
<validator-class>
|
||||||
|
org.apache.taglibs.standard.tlv.JstlXmlTLV
|
||||||
|
</validator-class>
|
||||||
|
</validator>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Simple conditional tag that establishes a context for
|
||||||
|
mutually exclusive conditional operations, marked by
|
||||||
|
<when> and <otherwise>
|
||||||
|
</description>
|
||||||
|
<name>choose</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Like <%= ... >, but for XPath expressions.
|
||||||
|
</description>
|
||||||
|
<name>out</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ExprTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
XPath expression to be evaluated.
|
||||||
|
</description>
|
||||||
|
<name>select</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Determines whether characters <,>,&,'," in the
|
||||||
|
resulting string should be converted to their
|
||||||
|
corresponding character entity codes. Default
|
||||||
|
value is true.
|
||||||
|
</description>
|
||||||
|
<name>escapeXml</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
XML conditional tag, which evalutes its body if the
|
||||||
|
supplied XPath expression evalutes to 'true' as a boolean
|
||||||
|
</description>
|
||||||
|
<name>if</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.common.xml.IfTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The test condition that tells whether or not the
|
||||||
|
body content should be processed.
|
||||||
|
</description>
|
||||||
|
<name>select</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
resulting value of the test condition. The type
|
||||||
|
of the scoped variable is Boolean.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope for var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
XML iteration tag.
|
||||||
|
</description>
|
||||||
|
<name>forEach</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.common.xml.ForEachTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
current item of the iteration. This scoped variable
|
||||||
|
has nested visibility. Its type depends on the
|
||||||
|
result of the XPath expression in the select
|
||||||
|
attribute.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
XPath expression to be evaluated.
|
||||||
|
</description>
|
||||||
|
<name>select</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Iteration begins at the item located at the
|
||||||
|
specified index. First item of the collection has
|
||||||
|
index 0.
|
||||||
|
</description>
|
||||||
|
<name>begin</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>int</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Iteration ends at the item located at the specified
|
||||||
|
index (inclusive).
|
||||||
|
</description>
|
||||||
|
<name>end</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>int</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Iteration will only process every step items of
|
||||||
|
the collection, starting with the first one.
|
||||||
|
</description>
|
||||||
|
<name>step</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
<type>int</type>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for the
|
||||||
|
status of the iteration. Object exported is of type
|
||||||
|
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility.
|
||||||
|
</description>
|
||||||
|
<name>varStatus</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Subtag of <choose> that follows <when> tags
|
||||||
|
and runs only if all of the prior conditions evaluated to
|
||||||
|
'false'
|
||||||
|
</description>
|
||||||
|
<name>otherwise</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Adds a parameter to a containing 'transform' tag's Transformer
|
||||||
|
</description>
|
||||||
|
<name>param</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ParamTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the transformation parameter.
|
||||||
|
</description>
|
||||||
|
<name>name</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Value of the parameter.
|
||||||
|
</description>
|
||||||
|
<name>value</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Parses XML content from 'source' attribute or 'body'
|
||||||
|
</description>
|
||||||
|
<name>parse</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ParseTag</tag-class>
|
||||||
|
<tei-class>org.apache.taglibs.standard.tei.XmlParseTEI</tei-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for
|
||||||
|
the parsed XML document. The type of the
|
||||||
|
scoped variable is implementation
|
||||||
|
dependent.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable for
|
||||||
|
the parsed XML document. The type of the
|
||||||
|
scoped variable is
|
||||||
|
org.w3c.dom.Document.
|
||||||
|
</description>
|
||||||
|
<name>varDom</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope for var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope for varDom.
|
||||||
|
</description>
|
||||||
|
<name>scopeDom</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Deprecated. Use attribute 'doc' instead.
|
||||||
|
</description>
|
||||||
|
<name>xml</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Source XML document to be parsed.
|
||||||
|
</description>
|
||||||
|
<name>doc</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The system identifier (URI) for parsing the
|
||||||
|
XML document.
|
||||||
|
</description>
|
||||||
|
<name>systemId</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Filter to be applied to the source
|
||||||
|
document.
|
||||||
|
</description>
|
||||||
|
<name>filter</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Saves the result of an XPath expression evaluation in a 'scope'
|
||||||
|
</description>
|
||||||
|
<name>set</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.common.xml.SetTag</tag-class>
|
||||||
|
<body-content>empty</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported scoped variable to hold
|
||||||
|
the value specified in the action. The type of the
|
||||||
|
scoped variable is whatever type the select
|
||||||
|
expression evaluates to.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
XPath expression to be evaluated.
|
||||||
|
</description>
|
||||||
|
<name>select</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope for var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Conducts a transformation given a source XML document
|
||||||
|
and an XSLT stylesheet
|
||||||
|
</description>
|
||||||
|
<name>transform</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.rt.xml.TransformTag</tag-class>
|
||||||
|
<tei-class>org.apache.taglibs.standard.tei.XmlTransformTEI</tei-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Name of the exported
|
||||||
|
scoped variable for the
|
||||||
|
transformed XML
|
||||||
|
document. The type of the
|
||||||
|
scoped variable is
|
||||||
|
org.w3c.dom.Document.
|
||||||
|
</description>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Scope for var.
|
||||||
|
</description>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Result
|
||||||
|
Object that captures or
|
||||||
|
processes the transformation
|
||||||
|
result.
|
||||||
|
</description>
|
||||||
|
<name>result</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Deprecated. Use attribute
|
||||||
|
'doc' instead.
|
||||||
|
</description>
|
||||||
|
<name>xml</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Source XML document to be
|
||||||
|
transformed. (If exported by
|
||||||
|
<x:set>, it must correspond
|
||||||
|
to a well-formed XML
|
||||||
|
document, not a partial
|
||||||
|
document.)
|
||||||
|
</description>
|
||||||
|
<name>doc</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
Deprecated. Use attribute
|
||||||
|
'docSystemId' instead.
|
||||||
|
</description>
|
||||||
|
<name>xmlSystemId</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The system identifier (URI)
|
||||||
|
for parsing the XML
|
||||||
|
document.
|
||||||
|
</description>
|
||||||
|
<name>docSystemId</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
javax.xml.transform.Source
|
||||||
|
Transformation stylesheet as
|
||||||
|
a String, Reader, or
|
||||||
|
Source object.
|
||||||
|
</description>
|
||||||
|
<name>xslt</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The system identifier (URI)
|
||||||
|
for parsing the XSLT
|
||||||
|
stylesheet.
|
||||||
|
</description>
|
||||||
|
<name>xsltSystemId</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
<description>
|
||||||
|
Subtag of <choose> that includes its body if its
|
||||||
|
expression evalutes to 'true'
|
||||||
|
</description>
|
||||||
|
<name>when</name>
|
||||||
|
<tag-class>org.apache.taglibs.standard.tag.common.xml.WhenTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
<attribute>
|
||||||
|
<description>
|
||||||
|
The test condition that tells whether or
|
||||||
|
not the body content should be
|
||||||
|
processed
|
||||||
|
</description>
|
||||||
|
<name>select</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>false</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
</taglib>
|
|
@ -0,0 +1,83 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: addressInfo.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Address Info
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Address Info</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Address</h1>
|
||||||
|
<h3>Please confirm your address:</h3>
|
||||||
|
<form action="loginServlet" method="post" enctype="application/x-www-form-urlencoded" name="addressForm" id="address"
|
||||||
|
onSubmit="checkForm(this, new Array ('Name','Address'));">
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<legend>Address on File</legend>
|
||||||
|
|
||||||
|
<input name="Mode" type="hidden" value="Submit"/>
|
||||||
|
|
||||||
|
<label id="LBL_Name" for="Name">Name</label>
|
||||||
|
<input class="mandatory" size="40" id="ID_Name" value='<c:out value="${webUser.name}"/>' name="Name" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Company" for="Company">Company</label>
|
||||||
|
<input size="40" id="ID_Company" value='<c:out value="${webUser.company}"/>' name="Company" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Title" for="Title">Title</label>
|
||||||
|
<input size="40" id="ID_Title" value='<c:out value="${webUser.title}"/>' name="Title" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Address" for="Address">Address</label>
|
||||||
|
<input class="mandatory" size="40" id="ID_Address" value='<c:out value="${webUser.address}"/>' name="Address" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Address2" for="Address">Address2</label>
|
||||||
|
<input size="40" id="ID_Address2" value='<c:out value="${webUser.address2}"/>' name="Address2" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<cws:location countryID="${webUser.countryID}" regionID="${webUser.regionID}" regionName="${webUser.regionName}" city="${webUser.city}" postal="${webUser.postal}" />
|
||||||
|
|
||||||
|
<label id="LBL_Phone" for="Phone">Phone</label>
|
||||||
|
<input size="20" id="ID_Phone" value='<c:out value="${webUser.phone}"/>' name="Phone" maxlength="20" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Fax" for="Fax">Fax</label>
|
||||||
|
<input size="20" id="ID_Fax" value='<c:out value="${webUser.fax}"/>' name="Fax" maxlength="20" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<div class="buttons">
|
||||||
|
<input type="reset" name="Reset" value="Reset">
|
||||||
|
<input name="AddressConfirm" type="hidden" id="AddressConfirm" value="Y">
|
||||||
|
<input type="submit" name="Submit" id="Submit" value="Submit Info">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<c:if test="${not empty webUser.saveErrorMessage}">
|
||||||
|
<div class="error"><c:out value="${webUser.saveErrorMessage}"/></div>
|
||||||
|
</c:if>
|
||||||
|
<div id="processingDiv" style="display:none"><strong>Processing ...</strong></div>
|
||||||
|
<!--
|
||||||
|
<div id="submitDiv" style="display:inline">
|
||||||
|
<input type="submit" name="Submit" id="Submit" value="Submit Info">
|
||||||
|
</div>
|
||||||
|
-->
|
||||||
|
<div align="center">Enter all <b class="mandatory">mandatory</b> data. </div>
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,94 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=advertisements.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: advertisements.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Advertisements
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Advertisements</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Advertisements</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<table class="adTable">
|
||||||
|
<c:forEach items='${info.advertisements}' var='ad'>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<a href="http://www.adempiere.com/wstore/click?<c:out value='${ad.clickTargetURL}'/>" target="_blank">
|
||||||
|
<img src="<c:out value='${ad.imageURL}'/>" alt="<c:out value='${ad.name}'/>" border="0" align="left"></a>
|
||||||
|
<img src="<c:out value='${ad.webParam2}'/>" alt="<c:out value='${ad.webParam1}'/>" border="0" align="right">
|
||||||
|
<b><c:out value='${ad.description}'/></b>
|
||||||
|
<br>
|
||||||
|
<a href="request.jsp?SalesRep_ID=<c:out value='${ad.salesRep_ID}'/>">Contact</a>
|
||||||
|
<br>
|
||||||
|
<a href="basketServlet?M_Product_ID=1000018&SalesRep_ID=<c:out value='${ad.salesRep_ID}'/>">Buy Next Step</a>
|
||||||
|
<br>
|
||||||
|
<i><c:out value='${ad.webParam3}' escapeXml='false'/></i>
|
||||||
|
<p><c:out value='${ad.adText}' escapeXml='false'/></p>
|
||||||
|
<p><c:out value='${ad.webParam4}' escapeXml='false'/></p>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
<form action="advertisementServlet" method="post" enctype="application/x-www-form-urlencoded" name="advertisement" target="_top" id="advertisement">
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<td><input name="Name" type="text" value="<c:out value='${ad.name}'/>" size="40" maxlength="40"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Description</th>
|
||||||
|
<td><input name="Description" type="text" value="<c:out value='${ad.description}'/>" size="60" maxlength="60"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Image URL</th>
|
||||||
|
<td><input name="ImageURL" type="text" value="<c:out value='${ad.imageURL}'/>" size="60"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Text</th>
|
||||||
|
<td><textarea name="AdText" cols="80" rows="8" id="AdText"><c:out value='${ad.adText}'/></textarea>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Click Target</th>
|
||||||
|
<td><input name="ClickTargetURL" type="text" value="<c:out value='${ad.clickTargetURL}'/>" size="60"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th> </th>
|
||||||
|
<td>
|
||||||
|
<input name="W_Advertisement_ID" type="hidden" id="W_Advertisement_ID" value="<c:out value='${ad.w_Advertisement_ID}'/>">
|
||||||
|
<input type="submit" name="Submit" value="Submit">
|
||||||
|
<input name="Reset" type="reset" id="Reset" value="Reset">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2"><hr></td>
|
||||||
|
</tr>
|
||||||
|
</form>
|
||||||
|
<c:forEach items='${pair}' var='ad.clickCountWeek'>
|
||||||
|
<tr>
|
||||||
|
<th><c:out value='${pair.key}'/></th>
|
||||||
|
<td><c:out value='${pair.name}'/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2"> </td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,63 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: allAds.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Advertisements
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - All Ads</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Partner Info</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<p>Please check with our partners:</p>
|
||||||
|
<!-- Start Copy HERE -->
|
||||||
|
<p>
|
||||||
|
<c:forEach items='${info.allAds}' var='ad'>
|
||||||
|
<c:out value='${ad.description}'/>:
|
||||||
|
<a href="#<c:out value='${ad.salesRep_ID}'/>">
|
||||||
|
<c:out value='${ad.name}'/>
|
||||||
|
</a>
|
||||||
|
<br>
|
||||||
|
</c:forEach>
|
||||||
|
</p>
|
||||||
|
<p> </p>
|
||||||
|
<!-- Start Ads HERE -->
|
||||||
|
<table class="adTable">
|
||||||
|
<c:forEach items='${info.allAds}' var='ad'>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a name="<c:out value='${ad.salesRep_ID}'/>"></a>
|
||||||
|
<a href="http://www.adempiere.com/wstore/click?<c:out value='${ad.clickTargetURL}'/>" target="_blank">
|
||||||
|
<img src="<c:out value='${ad.imageURL}'/>" alt="<c:out value='${ad.name}'/>" border="0" align="left"></a>
|
||||||
|
<img src="<c:out value='${ad.webParam2}'/>" alt="<c:out value='${ad.webParam1}'/>" border="0" align="right">
|
||||||
|
<b><c:out value='${ad.description}'/></b>
|
||||||
|
<br>
|
||||||
|
<a href="http://www.adempiere.com/wstore/request.jsp?SalesRep_ID=<c:out value='${ad.salesRep_ID}'/>">Contact</a>
|
||||||
|
<br>
|
||||||
|
<a href="http://www.adempiere.com/wstore/basketServlet?M_Product_ID=1000018&SalesRep_ID=<c:out value='${ad.salesRep_ID}'/>">Buy Next Step</a>
|
||||||
|
<br>
|
||||||
|
<i><c:out value='${ad.webParam3}' escapeXml='false'/></i>
|
||||||
|
<p><c:out value='${ad.adText}' escapeXml='false'/></p>
|
||||||
|
<p><c:out value='${ad.webParam4}' escapeXml='false'/></p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<!-- End Copy HERE -->
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 592 B |
|
@ -0,0 +1,113 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=assets.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<%--<c:if test='${not webUser.EMailVerified}'>--%>
|
||||||
|
<%--<c:redirect url="emailVerify.jsp">--%>
|
||||||
|
<%--<c:param name="ForwardTo" value="assets.jsp"/>--%>
|
||||||
|
<%--<c:param name="Reason" value="'My Assets' can not be accessed until email verification has been completed."/>--%>
|
||||||
|
<%--</c:redirect>--%>
|
||||||
|
<%--<c:redirect url='emailVerify.jsp?ForwardTo=assets.jsp'/>--%>
|
||||||
|
<%--</c:if>--%>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: assets.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Assets
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Assets</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Assets</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${not webUser.EMailVerified}'>
|
||||||
|
<form action="emailServlet" method="post" enctype="application/x-www-form-urlencoded"
|
||||||
|
name="EMailVerification" target="_top">
|
||||||
|
<input name="AD_Client_ID" type="hidden" value='<c:out value="${initParam.#AD_Client_ID}" default="0"/>'/>
|
||||||
|
<input name="Source" type="hidden" value=""/>
|
||||||
|
<input name="Info" type="hidden" value=""/>
|
||||||
|
<input name="ForwardTo" type="hidden" value="assets.jsp">
|
||||||
|
<script language="Javascript">
|
||||||
|
document.EMailVerification.Source.value=document.referrer;
|
||||||
|
document.EMailVerification.Info.value=document.lastModified;
|
||||||
|
</script>
|
||||||
|
<p><b>To access your Assets:</b></p>
|
||||||
|
<p>Enter Verification Code
|
||||||
|
<input name="VerifyCode" type="text" id="VerifyCode" value="<Check EMail>">
|
||||||
|
<input type="submit" name="Submit" value="Submit">
|
||||||
|
</p>
|
||||||
|
<p>The Verification Code will be sent to <b><c:out value='${webUser.email}'/></b>
|
||||||
|
<input type="submit" name="ReSend" id="ReSend" value="Send Verification Code">
|
||||||
|
</p>
|
||||||
|
<p><c:out value="${webUser.passwordMessage}"/></p>
|
||||||
|
</form>
|
||||||
|
</c:if>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th class="nobr">Guarantee Date</th>
|
||||||
|
<th>Quantity</th>
|
||||||
|
<th class="nobr">Your Version</th>
|
||||||
|
<th class="nobr">Serial #</th>
|
||||||
|
<th>Delivery</th>
|
||||||
|
<th>Download</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.assets}' var='asset' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${asset.name}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${asset.description}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${asset.guaranteeDate}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> quantity"><c:out value='${asset.qty}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> numeric"><c:out value='${asset.versionNo}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> numeric"><c:out value='${asset.serNo}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<c:forEach items='${asset.downloadNames}' var='addlDL'>
|
||||||
|
<c:out value='${addlDL}'/><br>
|
||||||
|
</c:forEach>
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<c:if test='${asset.downloadable}'>
|
||||||
|
<c:forEach items='${asset.downloadURLs}' var='addlDL'>
|
||||||
|
<a href="<c:out value='http://${ctx.context}/'/>assetServlet/<c:out value='${addlDL}'/>.zip?Asset_ID=<c:out value='${asset.a_Asset_ID}'/>&PD=<c:out value='${addlDL}'/>" target="_blank">
|
||||||
|
<img src="assetDownload.gif" alt="Download <c:out value='${addlDL}'/>" width="24" height="24" border="0"></a><br>
|
||||||
|
</c:forEach>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${not asset.downloadable}'>
|
||||||
|
n/a
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<c:if test='${webUser.creditCritical}'>
|
||||||
|
<p><strong><font color="#990000">! <c:out value='${webUser.SOCreditStatus}'/> !</font></strong></p>
|
||||||
|
</c:if>
|
||||||
|
<p>To download, click on the link - or right-click and "Save Target As
|
||||||
|
..."</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
After Width: | Height: | Size: 181 B |
|
@ -0,0 +1,72 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: basket.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Basket
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Basket</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Web Basket</h1>
|
||||||
|
<c:if test='${empty webBasket}'>
|
||||||
|
<p>Empty Basket (timeout) - Please go back, refresh the page and add products
|
||||||
|
again.</p>
|
||||||
|
</c:if> <c:if test='${not empty webBasket}'>
|
||||||
|
<form action="basketServlet" method="post" enctype="application/x-www-form-urlencoded" name="basket" id="basket" >
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Product</th>
|
||||||
|
<th>Price</th>
|
||||||
|
<th>Quantity</th>
|
||||||
|
<th><c:out value='${priceList.currency}'/> Total</th>
|
||||||
|
<th> </th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${webBasket.lines}' var='line' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose> <tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${line.name}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><fmt:formatNumber value='${line.price}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> quantity"><fmt:formatNumber value='${line.quantity}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><fmt:formatNumber value='${line.total}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><input type="submit" name="Delete_<c:out value='${line.line}'/>" value="Delete"></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
<tr>
|
||||||
|
<th><c:out value='${webBasket.lineCount}'/></th>
|
||||||
|
<th> </th>
|
||||||
|
<th> </th>
|
||||||
|
<th>
|
||||||
|
<div class="amount"><c:out value='${priceList.currency}'/> <fmt:formatNumber value='${webBasket.total}' type="currency" currencySymbol=""/></div></th>
|
||||||
|
<th><input type="button" name="Checkout" id="Checkout" value="Create Secure Order"
|
||||||
|
onClick="window.top.location.replace('<c:out value='https://${ctx.context}/'/>checkOutServlet');">
|
||||||
|
<!-- removed by request of BBB
|
||||||
|
<input name="CheckoutUnsecure" id="CheckoutUnsecure" value="Create Order"
|
||||||
|
onClick="window.top.location.replace('checkOutServlet');" type="button"> -->
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</c:if> <p>
|
||||||
|
<input name="Back" type="button" id="Back" value="Back to Web Store" onClick="window.top.location.replace('index.jsp');">
|
||||||
|
</p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 1.3 KiB |
|
@ -0,0 +1,56 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=invoices.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: commissionRuns.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Invoices
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Commissions</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Commissions</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Document No</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Start Date</th>
|
||||||
|
<th>Grand Total</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.commissionRuns}' var='commissionRun' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="comissionAmts.jsp?C_CommissionRun_ID=<c:out value='${commissionRun.c_CommissionRun_ID}'/>"><c:out value='${commissionRun.documentNo}'/></a></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${commissionRun.description}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${commissionRun.startDate}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><fmt:formatNumber value='${commissionRun.grandTotal}' type="currency" currencySymbol=""/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,63 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=invoices.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: commissionedInvoices.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Invoices
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - Commissioned Invoices</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Commissioned Invoices</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Document No</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Date</th>
|
||||||
|
<th>Total Lines</th>
|
||||||
|
<th>Grand Total</th>
|
||||||
|
<th>Image</th>
|
||||||
|
<th>Open</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.commissionedInvoices}' var='invoice' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="invoiceLines.jsp?C_Invoice_ID=<c:out value='${invoice.c_Invoice_ID}'/>"><c:out value='${invoice.documentNo}'/></a></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${invoice.description}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${invoice.dateInvoiced}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><fmt:formatNumber value='${invoice.totalLines}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><c:out value='${invoice.currencyISO}'/> <fmt:formatNumber value='${invoice.grandTotal}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="invoiceServlet/I_<c:out value='${invoice.documentNo}'/>.pdf?Invoice_ID=<c:out value='${invoice.c_Invoice_ID}'/>" target="_blank"><img src="pdf.gif" alt="Get Invoice Image" width="30" height="30" border="0"></a></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:if test='${not invoice.paid}'><b>Not </b></c:if>Paid</td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,99 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: confirm.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Confirmation
|
||||||
|
- webOrder, webUser, payment
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - Payment Confirmation</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Thanks - Payment Confirmation</h1>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Payment</th>
|
||||||
|
<th>Invoice</th>
|
||||||
|
<th>Details</th>
|
||||||
|
<th>Total</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="oddRow"><c:out value='${payment.documentNo}'/></td>
|
||||||
|
<td class="oddRow">
|
||||||
|
<c:choose>
|
||||||
|
<c:when test='${not empty webOrder}'>
|
||||||
|
<a href="invoiceServlet/I_<c:out value='${webOrder.invoiceInfo}'/>.pdf?Invoice_ID=<c:out value='${webOrder.invoice_ID}'/>" target="_blank"><img src="pdf.gif" alt="Get Invoice PDF" width="30" height="30" border="0" align="right"></a>
|
||||||
|
<c:out value='${webOrder.invoiceInfo}'/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</td>
|
||||||
|
<td class="oddRow"><c:out value='${payment.r_AuthCode}'/></td>
|
||||||
|
<td class="oddRow amount"><c:out value='${payment.currencyISO}'/> <fmt:formatNumber value='${payment.payAmt}' type="currency" currencySymbol=""/></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<form action="assets.jsp" method="post" enctype="application/x-www-form-urlencoded" name="confirm" id="confirm">
|
||||||
|
For downloads, please check
|
||||||
|
<input type="submit" name="Submit" value="My Assets">
|
||||||
|
for documentation and other information.
|
||||||
|
</form>
|
||||||
|
<!-- Remove Info -->
|
||||||
|
<c:remove var='payment' />
|
||||||
|
<c:remove var='webOrder' />
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Interest Area</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th align="right">Subscription</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.interests}' var='interest' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${interest.name}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${interest.description}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<c:choose>
|
||||||
|
<c:when test='${interest.subscribed}'>
|
||||||
|
<fmt:formatDate value='${interest.subscribeDate}'/>
|
||||||
|
<input type="button" name="UnSubscribe_<c:out value='${interest.r_InterestArea_ID}'/>" value="Un-Subscribe"
|
||||||
|
onClick="window.top.location.replace('infoServlet?mode=unsubscribe&area=<c:out value='${interest.r_InterestArea_ID}'/>&contact=<c:out value='${info.user_ID}'/>');" >
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<input type="button" name="Subscribe_<c:out value='${interest.r_InterestArea_ID}'/>" value="Subscribe"
|
||||||
|
onClick="window.top.location.replace('infoServlet?mode=subscribe&area=<c:out value='${interest.r_InterestArea_ID}'/>&contact=<c:out value='${info.user_ID}'/>');" >
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,46 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Adempiere Web Store Custimize</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<h1>Custimize your Web Store</h1>
|
||||||
|
<p><font size="1">$Id: customize.html,v 1.1 2006/04/21 18:07:56 jjanke Exp $
|
||||||
|
|
||||||
|
</font></p>
|
||||||
|
<p>This application creates the web store for AD_Client_ID=11 (GardenWorld)
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<p>For your own application, you need to
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>Log in as Client Administrator
|
||||||
|
<ul>
|
||||||
|
<li>In window Client, change the web directory, e.g. to xxx</li>
|
||||||
|
<li>Click on the right bottom corner of the window to get your AD_Client_ID, e.g. 1000000
|
||||||
|
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li> Unjar adempiereWebStore.war
|
||||||
|
|
||||||
|
</li>
|
||||||
|
<li> In the WEB_INF directory
|
||||||
|
<ul>
|
||||||
|
<li> Edit web.xml to and change the AD_Client_ID parameter value to your AD_Client_ID, e.g. 1000000</li>
|
||||||
|
<li> Edit jboss-web.xml and set the context to your web directory, e.g. xxx
|
||||||
|
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li>Change the UI of the *.html and *.jsp files as required</li>
|
||||||
|
<li> Repackage it under another name, e.g. myStore.war before copying it to
|
||||||
|
$ADEMPIERE_HOME/jboss/server/adempiere/deploy
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,72 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=emailVerify.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: emailVerify.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Assets
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - Verify EMail</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Verify Your EMail Address</h1>
|
||||||
|
<c:if test='${not empty param.Reason}'>
|
||||||
|
<div class="error">
|
||||||
|
<c:out value='${param.Reason}'/>
|
||||||
|
</div>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${not webUser.EMailVerified}'>
|
||||||
|
<form action="emailServlet" method="post" enctype="application/x-www-form-urlencoded"
|
||||||
|
name="EMailVerification" target="_top">
|
||||||
|
<input name="AD_Client_ID" type="hidden" value='<c:out value="${initParam.#AD_Client_ID}" default="0"/>'/>
|
||||||
|
<input name="Source" type="hidden" value=""/>
|
||||||
|
<input name="Info" type="hidden" value=""/>
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${empty param.ForwardTo}">
|
||||||
|
<input name="ForwardTo" type="hidden" value="emailVerify.jsp">
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<input name="ForwardTo" type="hidden" value="${param.ForwardTo}">
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<script language="Javascript">
|
||||||
|
document.EMailVerification.Source.value=document.referrer;
|
||||||
|
document.EMailVerification.Info.value=document.lastModified;
|
||||||
|
</script>
|
||||||
|
<p>Enter Verification Code
|
||||||
|
<input name="VerifyCode" type="text" id="VerifyCode" value="<Check EMail>">
|
||||||
|
<input type="submit" name="Submit" value="Submit">
|
||||||
|
</p>
|
||||||
|
<p>The Verification Code will be sent to <b><c:out value='${webUser.email}'/></b>
|
||||||
|
<input type="submit" name="ReSend" id="ReSend" value="Send Verification Code">
|
||||||
|
</p>
|
||||||
|
<p><c:out value="${webUser.passwordMessage}"/></p>
|
||||||
|
</form>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${webUser.EMailVerified}'>
|
||||||
|
<p>
|
||||||
|
Thank you - your email address <b><c:out value='${webUser.email}'/></b> was verified.
|
||||||
|
</p>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${webUser.creditCritical}'>
|
||||||
|
<p><strong><font color="#990000">! <c:out value='${webUser.SOCreditStatus}'/> !</font></strong></p>
|
||||||
|
</c:if>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,31 @@
|
||||||
|
<%@ page isErrorPage="true" %>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Adempiere Error</title>
|
||||||
|
<link href="standard.css" rel="stylesheet" type="text/css"/>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<h1>Adempiere System Error</h1>
|
||||||
|
<p>Sorry, an error occured. If the error persists, please inform us.</p>
|
||||||
|
<p>Error Message:</p>
|
||||||
|
<pre><font color="red">
|
||||||
|
<%= exception.getMessage() %>
|
||||||
|
</font></pre>
|
||||||
|
<h2>Stack Trace:</h2>
|
||||||
|
<%
|
||||||
|
java.lang.Throwable ex = exception;
|
||||||
|
while (ex != null)
|
||||||
|
{
|
||||||
|
out.println("<h3>" + ex.toString() + "</h3>");
|
||||||
|
java.io.CharArrayWriter cw = new java.io.CharArrayWriter();
|
||||||
|
java.io.PrintWriter pw = new java.io.PrintWriter(cw,true);
|
||||||
|
ex.printStackTrace (pw);
|
||||||
|
out.println("<pre><font color=\"red\">");
|
||||||
|
out.println(cw.toString());
|
||||||
|
out.println("</font></pre>");
|
||||||
|
ex = exception.getCause();
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
<br>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,319 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=expenses.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id$
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2004 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Expenses
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Expense</title>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function cancelExpense()
|
||||||
|
{
|
||||||
|
window.location="expenses.jsp";
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateClientList()
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'clientList'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <clients>
|
||||||
|
* <client id='0'>ANY</client>
|
||||||
|
* <client id='1'>GardenWorld</client>
|
||||||
|
* <client id='2'>ComPiere, Inc.</client>
|
||||||
|
* </clients>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='clientList';
|
||||||
|
params['W_Expense_ID']=queryString['W_Expense_ID'];
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateClientListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateClientListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "clients", "ID_C_Client_ID");
|
||||||
|
updateOrgList();
|
||||||
|
}
|
||||||
|
addOnLoadListener(updateClientList);
|
||||||
|
|
||||||
|
function updatePartnerList()
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'partnerList'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <partners>
|
||||||
|
* <partner id='0'>ANY</partner>
|
||||||
|
* <partner id='1'>Joe Block</partner>
|
||||||
|
* </partners>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='partnerList';
|
||||||
|
params['W_Expense_ID']=queryString['W_Expense_ID'];
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updatePartnerListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updatePartnerListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "partners", "ID_C_Partner_ID");
|
||||||
|
}
|
||||||
|
addOnLoadListener(updatePartnerList);
|
||||||
|
|
||||||
|
function updateOrgList()
|
||||||
|
{
|
||||||
|
var clientSelect = document.getElementById('ID_C_Client_ID');
|
||||||
|
var clientOption = clientSelect.options[clientSelect.selectedIndex];
|
||||||
|
var clientId = clientOption.attributes.getNamedItem('value').value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'orgList'
|
||||||
|
* param: clientID = '123'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <orgs clientID='123'>
|
||||||
|
* <org id='0'>ANY</client>
|
||||||
|
* <org id='1'>HQ</org>
|
||||||
|
* <org id='2'>Sales</org>
|
||||||
|
* <org id='3'>Support</org>
|
||||||
|
* </orgs>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='orgList';
|
||||||
|
params['clientID']=clientId;
|
||||||
|
params['W_Expense_ID']=queryString['W_Expense_ID'];
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateOrgListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateOrgListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "orgs", "ID_C_Organization_ID");
|
||||||
|
updateWarehouseList();
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateWarehouseList()
|
||||||
|
{
|
||||||
|
var orgSelect = document.getElementById('ID_C_Organization_ID');
|
||||||
|
var orgOption = orgSelect.options[orgSelect.selectedIndex];
|
||||||
|
var orgId = orgOption.attributes.getNamedItem('value').value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'warehouseList'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <warehouses>
|
||||||
|
* <warehouse id='1'>HQ Warehouse</warehouse>
|
||||||
|
* <warehouse id='2'>Oregon Warehouse</warehouse>
|
||||||
|
* </warehouses>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='warehouseList';
|
||||||
|
params['orgID']=orgId;
|
||||||
|
params['W_Expense_ID']=queryString['W_Expense_ID'];
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateWarehouseListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateWarehouseListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "warehouses", "ID_C_Warehouse_ID");
|
||||||
|
}
|
||||||
|
|
||||||
|
function updatePriceList()
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'priceList'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <pricelists>
|
||||||
|
* <pricelist id='1'>Standard</pricelist>
|
||||||
|
* <pricelist id='2'>Summer Specials</pricelist>
|
||||||
|
* </pricelists>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='priceList';
|
||||||
|
params['W_Expense_ID']=queryString['W_Expense_ID'];
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updatePriceListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updatePriceListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "pricelists", "ID_C_Pricelist_ID");
|
||||||
|
}
|
||||||
|
addOnLoadListener(updatePriceList);
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${not empty param.W_Expense_ID}">
|
||||||
|
<h1>My Expense: <c:out value='${param.W_Expense_ID}'/></h1>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<h1>My Expense: New Expense</h1>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<form method="post" name="Expense" action="expenseServlet" enctype="application/x-www-form-urlencoded">
|
||||||
|
<input name="Source" type="hidden" value=""/>
|
||||||
|
<input name="Info" type="hidden" value=""/>
|
||||||
|
<script language="Javascript">
|
||||||
|
document.Request.Source.value=document.referrer;
|
||||||
|
document.Request.Info.value=document.lastModified;
|
||||||
|
</script>
|
||||||
|
<input name="W_Expense_ID" type="hidden" value="<c:out value='${param.W_Expense_ID}'/>" id="W_Expense_ID"/>
|
||||||
|
<input name="ForwardTo" type="hidden" value="<c:out value='${param.ForwardTo}'/>"/>
|
||||||
|
<c:if test='${not empty param.SalesRep_ID}'>
|
||||||
|
<input name="SalesRep_ID" type="hidden" value="<c:out value='${param.SalesRep_ID}'/>"/>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${empty param.SalesRep_ID}'>
|
||||||
|
<input name="SalesRep_ID" type="hidden" value="<c:out value='${webUser.salesRep_ID}'/>"/>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
|
||||||
|
<table class="internalTable">
|
||||||
|
<tr>
|
||||||
|
<td class="lineItem">
|
||||||
|
<label>Client</label>
|
||||||
|
<select id="ID_C_Client_ID" name="ID_C_Client_ID" onchange="updateOrgList()">
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Organization</label>
|
||||||
|
<select id="ID_C_Organization_ID" name="ID_C_Organization_ID" onchange="updateWarehouseList()">
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Business Partner</label>
|
||||||
|
<select id="ID_C_Partner_ID" name="ID_C_Partner_ID">
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Warehouse</label>
|
||||||
|
<select id="ID_C_Warehouse_ID" name="ID_C_Warehouse_ID">
|
||||||
|
<option>HQ Warehouse</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
<td class="lineItem">
|
||||||
|
|
||||||
|
<label>Price List</label>
|
||||||
|
<select id="ID_C_Pricelist_ID" name="ID_C_Pricelist_ID">
|
||||||
|
<option>Standard</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Report Date</label>
|
||||||
|
<input type="text" size="8"/>
|
||||||
|
<img src="Calendar16.gif" border="0"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Approval Amount</label>
|
||||||
|
<input type="text" size="10"/>
|
||||||
|
<img src="Calculator16.gif" border="0"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Document Status</label>
|
||||||
|
<select>
|
||||||
|
<option>Drafted</option>
|
||||||
|
<option>Submitted</option>
|
||||||
|
<option>Approved</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="lineItem">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Description</legend>
|
||||||
|
|
||||||
|
<textarea cols="40" class="wideText"></textarea>
|
||||||
|
<div class="entryNote">Max 1500 Characters</div>
|
||||||
|
</fieldset>
|
||||||
|
</td>
|
||||||
|
<td class="lineItem">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Note</legend>
|
||||||
|
|
||||||
|
<textarea cols="40" class="wideText"></textarea>
|
||||||
|
<div class="entryNote">Max 1500 Characters</div>
|
||||||
|
</fieldset>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<div class="buttons">
|
||||||
|
<input type="submit" name="Submit" value="Save Draft" />
|
||||||
|
<input type="submit" name="Submit" value="Complete" />
|
||||||
|
<input type="button" value="Cancel Draft" onclick="cancelExpense();"/>
|
||||||
|
<input type="reset"/>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Line #</th>
|
||||||
|
<th>Product</th>
|
||||||
|
<th>Quantity</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Amount</th>
|
||||||
|
</tr>
|
||||||
|
<!-- TEST DATA START ******************************** -->
|
||||||
|
<tr>
|
||||||
|
<td class="oddRow"><a href="expenseLine.jsp?W_Expense_ID=<c:out value='${param.W_Expense_ID}'/>&W_ExpenseLine_ID=10">10</a></td>
|
||||||
|
<td class="oddRow">Mary Consultant</td>
|
||||||
|
<td class="oddRow amount">8</td>
|
||||||
|
<td class="oddRow">Feb 5,2003 10:00:00am PST 8h</td>
|
||||||
|
<td class="oddRow">850.00</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="oddRow"><a href="expenseLine.jsp?W_Expense_ID=<c:out value='${param.W_Expense_ID}'/>&W_ExpenseLine_ID=10">20</a></td>
|
||||||
|
<td class="oddRow">Mary Consultant</td>
|
||||||
|
<td class="oddRow amount">8</td>
|
||||||
|
<td class="oddRow">Feb 6,2003 8:00:00am PST 8h</td>
|
||||||
|
<td class="oddRow">950.00</td>
|
||||||
|
</tr>
|
||||||
|
<!-- TEST DATA END ******************************** -->
|
||||||
|
<c:forEach items='${info.expense.lines}' var='line' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="expenseLine.jsp?W_Expense_ID=<c:out value='${param.W_Expense_ID}'/>&W_ExpenseLine_ID=<c:out value='${line.line}'/>"><c:out value='${rowClass}' /></a> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${line.M_Product_ID}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><c:out value='${line.qtyInvoiced}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${line.dateExpense}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${line.invoicePrice}'/> </td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,366 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=expenseLine.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${empty param.W_Expense_ID}'>
|
||||||
|
<c:redirect url='expenses.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id$
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2004 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Expenses
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Expense</title>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function cancelExpense()
|
||||||
|
{
|
||||||
|
window.location="expenses.jsp";
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateClientList()
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'clientList'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <clients>
|
||||||
|
* <client id='0'>ANY</client>
|
||||||
|
* <client id='1'>GardenWorld</client>
|
||||||
|
* <client id='2'>ComPiere, Inc.</client>
|
||||||
|
* </clients>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='clientList';
|
||||||
|
params['W_Expense_ID']=queryString['W_Expense_ID'];
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateClientListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateClientListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "clients", "ID_C_Client_ID");
|
||||||
|
updateOrgList();
|
||||||
|
}
|
||||||
|
addOnLoadListener(updateClientList);
|
||||||
|
|
||||||
|
function updatePartnerList()
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'partnerList'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <partners>
|
||||||
|
* <partner id='0'>ANY</partner>
|
||||||
|
* <partner id='1'>Joe Block</partner>
|
||||||
|
* </partners>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='partnerList';
|
||||||
|
params['W_Expense_ID']=queryString['W_Expense_ID'];
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updatePartnerListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updatePartnerListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "partners", "ID_C_Partner_ID");
|
||||||
|
}
|
||||||
|
addOnLoadListener(updatePartnerList);
|
||||||
|
|
||||||
|
function updateOrgList()
|
||||||
|
{
|
||||||
|
var clientSelect = document.getElementById('ID_C_Client_ID');
|
||||||
|
var clientOption = clientSelect.options[clientSelect.selectedIndex];
|
||||||
|
var clientId = clientOption.attributes.getNamedItem('value').value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'orgList'
|
||||||
|
* param: clientID = '123'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <orgs clientID='123'>
|
||||||
|
* <org id='0'>ANY</client>
|
||||||
|
* <org id='1'>HQ</org>
|
||||||
|
* <org id='2'>Sales</org>
|
||||||
|
* <org id='3'>Support</org>
|
||||||
|
* </orgs>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='orgList';
|
||||||
|
params['clientID']=clientId;
|
||||||
|
params['W_Expense_ID']=queryString['W_Expense_ID'];
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateOrgListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateOrgListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "orgs", "ID_C_Organization_ID");
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateCampaignList()
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'campaignList'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <campaigns>
|
||||||
|
* <campaign id='0'>ANY</campaign>
|
||||||
|
* <campaign id='1'>Rose Festival</campaign>
|
||||||
|
* </campaigns>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='campaignList';
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateCampaignListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateCampaignListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "campaigns", "ID_C_Campaign_ID");
|
||||||
|
}
|
||||||
|
addOnLoadListener(updateCampaignList);
|
||||||
|
|
||||||
|
function updateProjectList()
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'projectList'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <projects>
|
||||||
|
* <project id='0'>ANY</project>
|
||||||
|
* <project id='1'>Landscaping New Office</project>
|
||||||
|
* </projects>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='projectList';
|
||||||
|
params['W_Expense_ID']=queryString['W_Expense_ID'];
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateProjectListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateProjectListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "projects", "ID_C_Project_ID");
|
||||||
|
updatePhaseList();
|
||||||
|
}
|
||||||
|
addOnLoadListener(updateProjectList);
|
||||||
|
|
||||||
|
function updatePhaseList()
|
||||||
|
{
|
||||||
|
var projectSelect = document.getElementById('ID_C_Project_ID');
|
||||||
|
var projectOption = projectSelect.options[projectSelect.selectedIndex];
|
||||||
|
var projectID = projectOption.attributes.getNamedItem('value').value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'phaseList'
|
||||||
|
* param: projectID = '123'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <phases projectID='123'>
|
||||||
|
* <phase id='0'>ANY</phase>
|
||||||
|
* <phase id='1'>Planning</phase>
|
||||||
|
* </phases>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='phaseList';
|
||||||
|
params['projectID']=projectID;
|
||||||
|
params['W_Expense_ID']=queryString['W_Expense_ID'];
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updatePhaseListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updatePhaseListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "phases", "ID_C_Phase_ID");
|
||||||
|
updateTaskList();
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateTaskList()
|
||||||
|
{
|
||||||
|
var projectSelect = document.getElementById('ID_C_Project_ID');
|
||||||
|
var projectOption = projectSelect.options[projectSelect.selectedIndex];
|
||||||
|
var projectID = projectOption.attributes.getNamedItem('value').value;
|
||||||
|
|
||||||
|
var phaseSelect = document.getElementById('ID_C_Phase_ID');
|
||||||
|
var phaseOption = phaseSelect.options[phaseSelect.selectedIndex];
|
||||||
|
var phaseID = phaseOption.attributes.getNamedItem('value').value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'phaseList'
|
||||||
|
* param: projectID = '123'
|
||||||
|
* param: phaseID = '456'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <tasks projectID='123' phaseID='456'>
|
||||||
|
* <task id='0'>ANY</task>
|
||||||
|
* <task id='1'>Contact Owner</task>
|
||||||
|
* </tasks>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='taskList';
|
||||||
|
params['projectID']=projectID;
|
||||||
|
params['phaseID']=phaseID;
|
||||||
|
params['W_Expense_ID']=queryString['W_Expense_ID'];
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateTaskListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateTaskListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "tasks", "ID_C_Task_ID");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${not empty param.W_ExpenseLine_ID}">
|
||||||
|
<h1>My Expense: <c:out value='${param.W_Expense_ID}'/>, Line <c:out value='${param.W_ExpenseLine_ID}'/></h1>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<h1>My Expense: New Expense Line</h1>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<form method="post" name="Expense" action="expenseServlet" enctype="application/x-www-form-urlencoded">
|
||||||
|
<input name="Source" type="hidden" value=""/>
|
||||||
|
<input name="Info" type="hidden" value=""/>
|
||||||
|
<script language="Javascript">
|
||||||
|
document.Request.Source.value=document.referrer;
|
||||||
|
document.Request.Info.value=document.lastModified;
|
||||||
|
</script>
|
||||||
|
<input name="ForwardTo" type="hidden" value="<c:out value='${param.ForwardTo}'/>"/>
|
||||||
|
<c:if test='${not empty param.SalesRep_ID}'>
|
||||||
|
<input name="SalesRep_ID" type="hidden" value="<c:out value='${param.SalesRep_ID}'/>"/>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${empty param.SalesRep_ID}'>
|
||||||
|
<input name="SalesRep_ID" type="hidden" value="<c:out value='${webUser.salesRep_ID}'/>"/>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
|
||||||
|
<table class="internalTable">
|
||||||
|
<tr>
|
||||||
|
<td class="lineItem">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Details</legend>
|
||||||
|
|
||||||
|
<label>Client</label>
|
||||||
|
<select id="ID_C_Client_ID" name="ID_C_Client_ID" onchange="updateOrgList()">
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Organization</label>
|
||||||
|
<select id="ID_C_Organization_ID" name="ID_C_Organization_ID">
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Date</label>
|
||||||
|
<input type="text" size="8"/>
|
||||||
|
<img src="Calendar16.gif" border="0"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Type</label>
|
||||||
|
<input type="radio" name="type" value="Time" style="width: 20px;"/> Time
|
||||||
|
<input type="radio" name="type" value="Monetary" checked="true" style="width: 20px;"/> Monetary
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Product</label>
|
||||||
|
<input type="text" size="20"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Quantity</label>
|
||||||
|
<input type="text" size="10"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Expense Amount</label>
|
||||||
|
<input type="text" size="10"/>
|
||||||
|
<img src="Calculator16.gif" border="0"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Invoice Price</label>
|
||||||
|
<input type="text" size="10"/>
|
||||||
|
<img src="Calculator16.gif" border="0"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
</td>
|
||||||
|
<td class="lineItem">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Reference</legend>
|
||||||
|
|
||||||
|
<label>Business Partner</label>
|
||||||
|
<select id="ID_C_Partner_ID" name="ID_C_Partner_ID">
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Campaign</label>
|
||||||
|
<select id="ID_C_Campaign_ID" name="ID_C_Campaign_ID">
|
||||||
|
<option selected="selected">Any</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Project</label>
|
||||||
|
<select id="ID_C_Project_ID" name="ID_C_Project_ID" onchange="updatePhaseList()">
|
||||||
|
<option selected="selected">Any</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Phase</label>
|
||||||
|
<select id="ID_C_Phase_ID" name="ID_C_Phase_ID" onchange="updateTaskList()">
|
||||||
|
<option>Any</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Task</label>
|
||||||
|
<select id="ID_C_Task_ID" name="ID_C_Task_ID">
|
||||||
|
<option>Any</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
</fieldset>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="lineItem">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Description</legend>
|
||||||
|
|
||||||
|
<textarea cols="40" class="wideText"></textarea>
|
||||||
|
<div class="entryNote">Max 1500 Characters</div>
|
||||||
|
</fieldset>
|
||||||
|
</td>
|
||||||
|
<td class="lineItem">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Note</legend>
|
||||||
|
|
||||||
|
<textarea cols="40" class="wideText"></textarea>
|
||||||
|
<div class="entryNote">Max 1500 Characters</div>
|
||||||
|
</fieldset>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<div class="buttons">
|
||||||
|
<input type="submit" name="Submit" value="Save Draft" />
|
||||||
|
<input type="submit" name="Submit" value="Submit Draft for Approval" />
|
||||||
|
<input type="button" value="Cancel Draft" onclick="cancelExpense();"/>
|
||||||
|
<input type="reset"/>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,371 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=expenses.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: expenses.jsp,v 1.9 2006/05/26 20:06:25 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2004 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Expenses
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Expenses</title>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function updateClientList()
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'clientList'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <clients>
|
||||||
|
* <client id='0'>ANY</client>
|
||||||
|
* <client id='1'>GardenWorld</client>
|
||||||
|
* <client id='2'>ComPiere, Inc.</client>
|
||||||
|
* </clients>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='clientList';
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateClientListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateClientListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "clients", "ID_C_Client_ID");
|
||||||
|
updateOrgList();
|
||||||
|
}
|
||||||
|
addOnLoadListener(updateClientList);
|
||||||
|
|
||||||
|
function updatePartnerList()
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'partnerList'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <partners>
|
||||||
|
* <partner id='0'>ANY</partner>
|
||||||
|
* <partner id='1'>Joe Block</partner>
|
||||||
|
* </partners>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='partnerList';
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updatePartnerListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updatePartnerListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "partners", "ID_C_Partner_ID");
|
||||||
|
}
|
||||||
|
addOnLoadListener(updatePartnerList);
|
||||||
|
|
||||||
|
function updateOrgList()
|
||||||
|
{
|
||||||
|
var clientSelect = document.getElementById('ID_C_Client_ID');
|
||||||
|
var clientOption = clientSelect.options[clientSelect.selectedIndex];
|
||||||
|
var clientId = clientOption.attributes.getNamedItem('value').value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'orgList'
|
||||||
|
* param: clientID = '123'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <orgs clientID='123'>
|
||||||
|
* <org id='0'>ANY</client>
|
||||||
|
* <org id='1'>HQ</org>
|
||||||
|
* <org id='2'>Sales</org>
|
||||||
|
* <org id='3'>Support</org>
|
||||||
|
* </orgs>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='orgList';
|
||||||
|
params['clientID']=clientId;
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateOrgListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateOrgListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "orgs", "ID_C_Organization_ID");
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateCampaignList()
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'campaignList'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <campaigns>
|
||||||
|
* <campaign id='0'>ANY</campaign>
|
||||||
|
* <campaign id='1'>Rose Festival</campaign>
|
||||||
|
* </campaigns>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='campaignList';
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateCampaignListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateCampaignListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "campaigns", "ID_C_Campaign_ID");
|
||||||
|
}
|
||||||
|
addOnLoadListener(updateCampaignList);
|
||||||
|
|
||||||
|
function updateProjectList()
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'projectList'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <projects>
|
||||||
|
* <project id='0'>ANY</project>
|
||||||
|
* <project id='1'>Landscaping New Office</project>
|
||||||
|
* </projects>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='projectList';
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateProjectListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateProjectListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "projects", "ID_C_Project_ID");
|
||||||
|
updatePhaseList();
|
||||||
|
}
|
||||||
|
addOnLoadListener(updateProjectList);
|
||||||
|
|
||||||
|
function updatePhaseList()
|
||||||
|
{
|
||||||
|
var projectSelect = document.getElementById('ID_C_Project_ID');
|
||||||
|
var projectOption = projectSelect.options[projectSelect.selectedIndex];
|
||||||
|
var projectID = projectOption.attributes.getNamedItem('value').value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'phaseList'
|
||||||
|
* param: projectID = '123'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <phases projectID='123'>
|
||||||
|
* <phase id='0'>ANY</phase>
|
||||||
|
* <phase id='1'>Planning</phase>
|
||||||
|
* </phases>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='phaseList';
|
||||||
|
params['projectID']=projectID;
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updatePhaseListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updatePhaseListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "phases", "ID_C_Phase_ID");
|
||||||
|
updateTaskList();
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateTaskList()
|
||||||
|
{
|
||||||
|
var projectSelect = document.getElementById('ID_C_Project_ID');
|
||||||
|
var projectOption = projectSelect.options[projectSelect.selectedIndex];
|
||||||
|
var projectID = projectOption.attributes.getNamedItem('value').value;
|
||||||
|
|
||||||
|
var phaseSelect = document.getElementById('ID_C_Phase_ID');
|
||||||
|
var phaseOption = phaseSelect.options[phaseSelect.selectedIndex];
|
||||||
|
var phaseID = phaseOption.attributes.getNamedItem('value').value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* call searchServlet
|
||||||
|
* param: get = 'phaseList'
|
||||||
|
* param: projectID = '123'
|
||||||
|
* param: phaseID = '456'
|
||||||
|
*
|
||||||
|
* get back:
|
||||||
|
* <tasks projectID='123' phaseID='456'>
|
||||||
|
* <task id='0'>ANY</task>
|
||||||
|
* <task id='1'>Contact Owner</task>
|
||||||
|
* </tasks>
|
||||||
|
*/
|
||||||
|
|
||||||
|
var params = new Array();
|
||||||
|
params['get']='taskList';
|
||||||
|
params['projectID']=projectID;
|
||||||
|
params['phaseID']=phaseID;
|
||||||
|
var loader = new AJAX.AjaxLoader("searchServlet", updateTaskListCallback, null, "GET", params);
|
||||||
|
}
|
||||||
|
function updateTaskListCallback()
|
||||||
|
{
|
||||||
|
updateSelect(this, "tasks", "ID_C_Task_ID");
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Expenses </h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<p><a href="expense.jsp">New Expense</a></p>
|
||||||
|
<p><a href="expense.jsp?W_Expense_ID=100002">Edit Most Recent Expense</a></p>
|
||||||
|
<form action="expenseServlet" method="post" enctype="application/x-www-form-urlencoded" name="search" id="search">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Search</legend>
|
||||||
|
|
||||||
|
<table class="internalTable">
|
||||||
|
<tr>
|
||||||
|
<td class="lineItem">
|
||||||
|
<label>Client</label>
|
||||||
|
<select id="ID_C_Client_ID" name="ID_C_Client_ID" onchange="updateOrgList()">
|
||||||
|
<option selected="selected">Any</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Organization</label>
|
||||||
|
<select id="ID_C_Organization_ID" name="ID_C_Organization_ID">
|
||||||
|
<option selected="selected">Any</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Business Partner</label>
|
||||||
|
<select id="ID_C_Partner_ID" name="ID_C_Partner_ID">
|
||||||
|
<option selected="selected">Any</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Campaign</label>
|
||||||
|
<select id="ID_C_Campaign_ID" name="ID_C_Campaign_ID">
|
||||||
|
<option selected="selected">Any</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Start Date</label>
|
||||||
|
<input type="text" size="8"/>
|
||||||
|
<img src="Calendar16.gif" border="0"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>End Date</label>
|
||||||
|
<input type="text" size="8"/>
|
||||||
|
<img src="Calendar16.gif" border="0"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td class="lineItem">
|
||||||
|
<label>Project</label>
|
||||||
|
<select id="ID_C_Project_ID" name="ID_C_Project_ID" onchange="updatePhaseList()">
|
||||||
|
<option selected="selected">Any</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Phase</label>
|
||||||
|
<select id="ID_C_Phase_ID" name="ID_C_Phase_ID" onchange="updateTaskList()">
|
||||||
|
<option>Any</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Task</label>
|
||||||
|
<select id="ID_C_Task_ID" name="ID_C_Task_ID">
|
||||||
|
<option>Any</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Document Status</label>
|
||||||
|
<select id="ID_C_Status_ID" name="ID_C_Status_ID">
|
||||||
|
<option selected="selected">Any</option>
|
||||||
|
<option>Drafted</option>
|
||||||
|
<option>Submitted</option>
|
||||||
|
<option>Approved</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Amount</label>
|
||||||
|
<input type="text"/>
|
||||||
|
<img src="Calculator16.gif" border="0"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Text in Descr.</label>
|
||||||
|
<input type="text"/>
|
||||||
|
<br/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<div class="buttons">
|
||||||
|
<input type="button" name="Search" value="Search Expenses"/>
|
||||||
|
<input type="button" name="Reset" value="Reset"/>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<br/>
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${info.expenses}.size() > 0">
|
||||||
|
<div class="tableNav">
|
||||||
|
<img src="wfStart24.gif" onclick="alert('CLICK');">
|
||||||
|
<img src="wfBack24.gif" onclick="alert('CLICK');">
|
||||||
|
Page 1
|
||||||
|
<img src="wfNext24.gif" onclick="alert('CLICK');">
|
||||||
|
<img src="wfEnd24.gif" onclick="alert('CLICK');">
|
||||||
|
</div>
|
||||||
|
</c:when>
|
||||||
|
</c:choose>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Document #</th>
|
||||||
|
<th>Date</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Amount</th>
|
||||||
|
<th>Approved</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.expenses}' var='report' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="expense.jsp?W_Expense_ID=<c:out value='${report.documentNo}'/>"><c:out value='${report.documentNo}'/></a> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${report.dateReport}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${report.description}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><c:out value='${report.approvalAmt}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<c:choose>
|
||||||
|
<c:when test='${report.approved}'>
|
||||||
|
<input type="checkbox" checked="checked" disabled="true" />
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<input type="checkbox" disabled="true" />
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${info.expenses}.size() > 0">
|
||||||
|
<div class="tableNav">
|
||||||
|
<img src="wfStart24.gif" onclick="alert('CLICK');">
|
||||||
|
<img src="wfBack24.gif" onclick="alert('CLICK');">
|
||||||
|
Page 1
|
||||||
|
<img src="wfNext24.gif" onclick="alert('CLICK');">
|
||||||
|
<img src="wfEnd24.gif" onclick="alert('CLICK');">
|
||||||
|
</div>
|
||||||
|
</c:when>
|
||||||
|
</c:choose>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 4.2 KiB |
|
@ -0,0 +1,272 @@
|
||||||
|
/** Adempiere Web Store (c) Jorg Janke */
|
||||||
|
/** $Id$ */
|
||||||
|
|
||||||
|
html{
|
||||||
|
}
|
||||||
|
body{
|
||||||
|
font-family: Times New Roman, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #000000;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
#page{
|
||||||
|
}
|
||||||
|
#main {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
#menu{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.menuDetail{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.menuDetail:hover{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.menuMain{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.menuMain:hover{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.menuSub{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.menuSub:hover{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#content {
|
||||||
|
position: absolute;
|
||||||
|
right: 0px;
|
||||||
|
font-family: Times New Roman, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
vertical-align: top;
|
||||||
|
padding: 5px;
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
#vendorUse{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.contentTable{
|
||||||
|
font-family: Times New Roman, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
width: 100%;
|
||||||
|
padding: 2px;
|
||||||
|
}
|
||||||
|
.internalTable{
|
||||||
|
font-family: Times New Roman, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
width: 100%;
|
||||||
|
padding: 2px;
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
.adTable{
|
||||||
|
width: 100%;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
.oddRow{
|
||||||
|
background-color: #FFCC99;
|
||||||
|
}
|
||||||
|
.evenRow{
|
||||||
|
background-color: #FF9966;
|
||||||
|
}
|
||||||
|
.amount{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.quantity{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.numeric{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
#footer{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#footerParam4{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#footerParam5{
|
||||||
|
text-align: center;
|
||||||
|
display:inline;
|
||||||
|
}
|
||||||
|
#footerParam6{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#header{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#headerIcon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#headerIcon img{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#headerContent {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#headerMenu {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: x-large;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
font-size: large;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
h3 {
|
||||||
|
font-size: medium;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
h4 {
|
||||||
|
font-size: medium;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
h5 {
|
||||||
|
font-size: medium;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
h6 {
|
||||||
|
font-size: larger;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
hr {
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
#menu a {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#menu a:hover {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
th, legend {
|
||||||
|
color: #EEEEEE;
|
||||||
|
border: 1px;
|
||||||
|
border-color: #CCCCCC;
|
||||||
|
border-style: outset;
|
||||||
|
background-color: #006699;
|
||||||
|
text-align: left;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
caption {
|
||||||
|
text-align: left;
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
.error{
|
||||||
|
border: 1px solid #FF4A4A;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
form{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
fieldset{
|
||||||
|
border: 0px solid #AAAAAA;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
label{
|
||||||
|
clear: left;
|
||||||
|
width: 35%;
|
||||||
|
float: left;
|
||||||
|
text-align: right;
|
||||||
|
margin-right: 0.8em;
|
||||||
|
display: block;
|
||||||
|
font-weight: bold;
|
||||||
|
vertical-align: baseline;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
input{
|
||||||
|
/* color: #781351;*/
|
||||||
|
/* background: #fee3ad;*/
|
||||||
|
/* border: #000000;*/
|
||||||
|
}
|
||||||
|
select{
|
||||||
|
color: #000000;
|
||||||
|
background: #ffffff;
|
||||||
|
border: 1px solid #CCCCCC;
|
||||||
|
}
|
||||||
|
.mandatory{
|
||||||
|
background:#FFFF99;
|
||||||
|
}
|
||||||
|
input.disabled{
|
||||||
|
border: 0px;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
.buttons{
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
.Cbasket{
|
||||||
|
font-size: 9px;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
#imgButton{
|
||||||
|
border-style:outset;
|
||||||
|
}
|
||||||
|
#imgButtonPressed{
|
||||||
|
border-style:inset;
|
||||||
|
}
|
||||||
|
#status{
|
||||||
|
background-color: #fff8dc;
|
||||||
|
color: #000000;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#validationInfo{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#visaBox{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#amexBox{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.availProduct{
|
||||||
|
/* comment out next line to show the Availability column */
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
label#productSearch{
|
||||||
|
width:150px;
|
||||||
|
float: left;
|
||||||
|
text-align: right;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.nobr{
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.wideText{
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
.lineItem{
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.entryNote{
|
||||||
|
font-family: Times New Roman, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #666666;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.emphasized{
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.disabledMsg{
|
||||||
|
display: none;
|
||||||
|
font-style: italic;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#fileLoad{
|
||||||
|
display: none;
|
||||||
|
}
|
|
@ -0,0 +1,410 @@
|
||||||
|
/** Adempiere Web Store (c) Jorg Janke */
|
||||||
|
/** $Id$ */
|
||||||
|
|
||||||
|
html{
|
||||||
|
overflow-y: hidden;
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
body{
|
||||||
|
font-family: Times New Roman, serif;
|
||||||
|
color: #333333;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: auto;
|
||||||
|
overflow: hidden;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
#page{
|
||||||
|
background-color: #CC0000;
|
||||||
|
}
|
||||||
|
#main {
|
||||||
|
background-color: #CC0000;
|
||||||
|
clear: both;
|
||||||
|
width: 100%;
|
||||||
|
border: 0px;
|
||||||
|
border-collapse: collapse;
|
||||||
|
margin-top: -5px;
|
||||||
|
|
||||||
|
}
|
||||||
|
#menu{
|
||||||
|
vertical-align: top;
|
||||||
|
text-align: center;
|
||||||
|
color: #CCCCCC;
|
||||||
|
background-color:#CC0000;
|
||||||
|
background-image: url("gwr_footertile.jpg");
|
||||||
|
background-repeat: repeat;
|
||||||
|
width: 165px;
|
||||||
|
float: right;
|
||||||
|
padding-top: 5px;
|
||||||
|
overflow: hidden;
|
||||||
|
margin-top: -5px;
|
||||||
|
}
|
||||||
|
#content {
|
||||||
|
vertical-align: top;
|
||||||
|
left: 0px;
|
||||||
|
right: 165px;
|
||||||
|
margin-right: 0px;
|
||||||
|
background-color: #FFFFCC;
|
||||||
|
border-width: 0px;
|
||||||
|
padding: 5px;
|
||||||
|
position: absolute;
|
||||||
|
min-width: 730px;
|
||||||
|
border-left: 5px solid #CC0000;
|
||||||
|
border-top: 5px solid #CC0000;
|
||||||
|
}
|
||||||
|
#vendorUse{
|
||||||
|
vertical-align:top;
|
||||||
|
text-align:right;
|
||||||
|
margin-top: -3px;
|
||||||
|
float: right;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.contentTable{
|
||||||
|
width: 100%;
|
||||||
|
border: 1px;
|
||||||
|
border-spacing: 2px;
|
||||||
|
padding: 2px;
|
||||||
|
border-color: #003366;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.internalTable{
|
||||||
|
width: 100%;
|
||||||
|
padding: 2px;
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
.adTable{
|
||||||
|
width: 100%;
|
||||||
|
border: 1px;
|
||||||
|
border-spacing: 1px;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
.oddRow{
|
||||||
|
background-color: #FFCC99;
|
||||||
|
}
|
||||||
|
.evenRow{
|
||||||
|
background-color: #FF9966;
|
||||||
|
}
|
||||||
|
.amount{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.quantity{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.numeric{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
#footer{
|
||||||
|
color: #CCCCCC;
|
||||||
|
background-color:#CC0000;
|
||||||
|
background-image: url("gwr_footertile.jpg");
|
||||||
|
background-repeat: repeat;
|
||||||
|
width: 100%;
|
||||||
|
height: 80px;
|
||||||
|
border: 0px;
|
||||||
|
border-collapse: collapse;
|
||||||
|
padding: 3px;
|
||||||
|
white-space: nowrap;
|
||||||
|
min-width: 730px;
|
||||||
|
}
|
||||||
|
#footerParam4{
|
||||||
|
width: 130px;
|
||||||
|
text-align: left;
|
||||||
|
display:inline;
|
||||||
|
float: left;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
#footerParam5{
|
||||||
|
color: #FFFF99;
|
||||||
|
text-align: left;
|
||||||
|
display:inline;
|
||||||
|
float: left;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
#footerParam6{
|
||||||
|
width: 165px;
|
||||||
|
text-align: center;
|
||||||
|
display:inline;
|
||||||
|
float: right;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
#header{
|
||||||
|
background-color:#CCCCCC;
|
||||||
|
background-image: url("gwr_header.jpg");
|
||||||
|
background-repeat: repeat;
|
||||||
|
height: 75px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
#headerIcon {
|
||||||
|
width: 165px;
|
||||||
|
height: 80px;
|
||||||
|
text-align: center;
|
||||||
|
float: right;
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
#headerIcon img{
|
||||||
|
width: 165px;
|
||||||
|
height: 80px;
|
||||||
|
border-style: none;
|
||||||
|
border-width: 0px;
|
||||||
|
}
|
||||||
|
#headerContent {
|
||||||
|
text-align: right;
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-weight: bold;
|
||||||
|
white-space: nowrap;
|
||||||
|
position: absolute;
|
||||||
|
top: 18px;
|
||||||
|
right: 180px;
|
||||||
|
height: 51px;
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
#headerMenu {
|
||||||
|
text-align: left;
|
||||||
|
width: 240px;
|
||||||
|
float: left;
|
||||||
|
position: absolute;
|
||||||
|
top: 25px;
|
||||||
|
left: 0px;
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #003366;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
color: #003366;
|
||||||
|
font-size: x-large;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
color: #333333;
|
||||||
|
font-size: large;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
h3 {
|
||||||
|
color: #006699;
|
||||||
|
font-size: medium;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
h4 {
|
||||||
|
color: #6600CC;
|
||||||
|
font-size: medium;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
h5 {
|
||||||
|
color: #660099;
|
||||||
|
font-size: medium;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
h6 {
|
||||||
|
font-size: larger;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
hr {
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
width: 90%;
|
||||||
|
margin-left: 5%;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
th {
|
||||||
|
color: #EEEEEE;
|
||||||
|
border: 1px;
|
||||||
|
border-color: #CCCCCC;
|
||||||
|
border-style: outset;
|
||||||
|
background-color: #CC0000;
|
||||||
|
text-align: left;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
caption {
|
||||||
|
color: #660099;
|
||||||
|
text-align: left;
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
.menuDetail{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Times New Roman,serif;
|
||||||
|
font-size: 12px;
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-left: 20px;
|
||||||
|
padding-top: 0;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.menuDetail:hover{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Times New Roman,serif;
|
||||||
|
font-size: 12px;
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-left: 20px;
|
||||||
|
padding-top: 0;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
.menuMain{
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-weight: bold;
|
||||||
|
font-family: Times New Roman,serif;
|
||||||
|
font-size: 16px;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
padding-left: 5px;
|
||||||
|
background-color: #CC0000;
|
||||||
|
}
|
||||||
|
.menuMain:hover{
|
||||||
|
color: #CC0000;
|
||||||
|
font-family: Times New Roman,serif;
|
||||||
|
font-size: 16px;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: underline;
|
||||||
|
background-color: #FFFFCC;
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
.menuSub{
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-family: Times New Roman,serif;
|
||||||
|
font-size: 14px;
|
||||||
|
padding-left: 10px;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.menuSub:hover{
|
||||||
|
color: #CC0000;
|
||||||
|
font-family: Times New Roman,serif;
|
||||||
|
font-size: 14px;
|
||||||
|
padding-left: 10px;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: underline;
|
||||||
|
background-color: #FFFFCC;
|
||||||
|
}
|
||||||
|
.error{
|
||||||
|
border: 1px solid #FF4A4A;
|
||||||
|
color: #FF0000;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
form{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
fieldset{
|
||||||
|
border: 1px solid #336633;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
legend{
|
||||||
|
color: #003300;
|
||||||
|
background: #CCFFCC;
|
||||||
|
border: 1px solid #336633;
|
||||||
|
padding: 2px 6px;
|
||||||
|
}
|
||||||
|
label{
|
||||||
|
clear: left;
|
||||||
|
width: 35%;
|
||||||
|
float: left;
|
||||||
|
text-align: right;
|
||||||
|
margin-right: 0.8em;
|
||||||
|
display: block;
|
||||||
|
font-weight: bold;
|
||||||
|
vertical-align: baseline;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
input{
|
||||||
|
color: #003366;
|
||||||
|
font-weight: bold;
|
||||||
|
background: #FFFFFF
|
||||||
|
border: 1px solid #000000;
|
||||||
|
}
|
||||||
|
select{
|
||||||
|
color: #000000;
|
||||||
|
background: #ffffff;
|
||||||
|
border: 1px solid #CCCCCC;
|
||||||
|
}
|
||||||
|
.mandatory{
|
||||||
|
background:#FFFF66;
|
||||||
|
}
|
||||||
|
input.disabled{
|
||||||
|
border: 0px;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
.buttons{
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
.Cbasket{
|
||||||
|
font-size: 9px;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
#imgButton{
|
||||||
|
border-style:outset;
|
||||||
|
}
|
||||||
|
#imgButtonPressed{
|
||||||
|
border-style:inset;
|
||||||
|
}
|
||||||
|
#status{
|
||||||
|
background-color: #fff8dc;
|
||||||
|
color: #000000;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#validationInfo{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#visaBox{
|
||||||
|
width: 40%;
|
||||||
|
float:left;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
#amexBox{
|
||||||
|
width: 40%;
|
||||||
|
float:right;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.availProduct{
|
||||||
|
/* comment out next line to show the Availability column */
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
label#productSearch{
|
||||||
|
width:150px;
|
||||||
|
float: left;
|
||||||
|
text-align: right;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.nobr{
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.wideText{
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
.lineItem{
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.entryNote{
|
||||||
|
font-size: small;
|
||||||
|
color: #666666;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.emphasized{
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.disabledMsg{
|
||||||
|
display: none;
|
||||||
|
font-style: italic;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.tableNav
|
||||||
|
{
|
||||||
|
vertical-align: top;
|
||||||
|
text-align: left;
|
||||||
|
width: 100%;
|
||||||
|
}
|
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 8.7 KiB |
After Width: | Height: | Size: 932 B |
|
@ -0,0 +1,59 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<cws:priceList priceList_ID="0"/>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: help.jsp,v 1.3 2006/05/09 22:20:00 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Help
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - Welcome</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<script language="JavaScript" type="text/JavaScript">
|
||||||
|
;
|
||||||
|
</script>
|
||||||
|
<noscript>
|
||||||
|
Please enable Java Script to continue.
|
||||||
|
</noscript>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Web Store Help</h1>
|
||||||
|
<h3>New User</h3>
|
||||||
|
<p>You create your new account when you create an order or when you click on the
|
||||||
|
"Login" button or "Welcome" link. Enter your email address, a password, and then
|
||||||
|
select "New User" to complete the other mandatory and optional information.</p>
|
||||||
|
<h3>Invalid Password or EMail </h3>
|
||||||
|
<p>If you received an error, you may select "Send Password to
|
||||||
|
EMail" to have your password sent to the email address you've entered. If you cannot
|
||||||
|
receive an email with that email address (e.g. misspelling), contact us with both
|
||||||
|
the current incorrect email address as well as the correct one. Do NOT login using
|
||||||
|
a different email address or you will create a new account and not be able to access
|
||||||
|
the assets of the original account. If that happens, you will need to contact us to
|
||||||
|
merge the accounts. </p>
|
||||||
|
<h3>Change Password, EMail Address or Contact Information</h3>
|
||||||
|
<p>To change your password, you must first log in with your old password. Then
|
||||||
|
select "Update User Info" at the top of the page. On the <i>User Information</i> screen,
|
||||||
|
use the <i>Change Password</i> field set to enter your old and new password. Your <i>EMail
|
||||||
|
Address</i> and <i>Contact Information</i> may also be changed on the <i>User Information</i>
|
||||||
|
screen.</p>
|
||||||
|
<h3>Additional User of Business Partner</h3>
|
||||||
|
<p>If you are an additional user of an existing Business Partner, please ask your
|
||||||
|
supervisor to contact us and we will add you as an additional user to that Business
|
||||||
|
Partner.</p>
|
||||||
|
<h3>Payment Not Approved</h3>
|
||||||
|
<p>If your payment was not successful, you may use <i>My Orders</i> to either "Void" the
|
||||||
|
order or "Complete" it with the correct payment information. If you need additional
|
||||||
|
help completing the order please use the <i>Contact Us</i> screen to contact the company
|
||||||
|
directly.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Adempiere Web Store</title>
|
||||||
|
<meta name="description" content="Adempiere Web Store Page">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<meta http-equiv="pragma" content="no-cache">
|
||||||
|
<link href="/standard.css" rel="stylesheet" type="text/css"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>
|
||||||
|
<script language="JavaScript" type="text/javascript">
|
||||||
|
document.location='index.jsp';
|
||||||
|
</script>
|
||||||
|
</p>
|
||||||
|
<p><a href="http://www.adempiere.org/"><img src="Adempiere120x60.gif" alt="Adempiere™ - Copyright © 1999-2003 Jorg Janke" width="120" height="24" border="0"></a>
|
||||||
|
</p>
|
||||||
|
<p>Click <a href="index.jsp">here</a> if not forwarded automatically</p>
|
||||||
|
<hr>
|
||||||
|
<p>How to <a href="customize.html">Customise</a> your web store</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,92 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<cws:priceList priceList_ID="0"/>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: index.jsp,v 1.3 2006/05/19 22:17:32 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Index
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - Welcome</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<c:out value='${ctx.webParam2}' escapeXml='false'/>
|
||||||
|
<form action="productServlet" method="post" enctype="application/x-www-form-urlencoded" name="search" id="search">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Search</legend>
|
||||||
|
|
||||||
|
<label id="productSearch" for="SearchString">Product </label>
|
||||||
|
<input name="SearchString" type="text" id="SearchString">
|
||||||
|
<cws:productCategoryList/>
|
||||||
|
<input type="submit" name="Submit" value="Search">
|
||||||
|
<c:if test='${priceList.notAllPrices}'>
|
||||||
|
<p><i>Not all Products displayed - enter Search criteria to limit selection</i></p>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${priceList.noLines}'>
|
||||||
|
<p><i>No Products found - enter Search criteria</i></p>
|
||||||
|
</c:if>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<br/>
|
||||||
|
<form action="basketServlet" method="post" enctype="application/x-www-form-urlencoded" name="products" id="products">
|
||||||
|
<input name="M_PriceList_ID" type="hidden" value="<c:out value='${priceList.priceList_ID}'/>">
|
||||||
|
<input name="M_PriceList_Version_ID" type="hidden" value="<c:out value='${priceList.priceList_Version_ID}'/>">
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th colspan="2" align="left">Product</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th><c:out value='${priceList.currency}'/> Price</th>
|
||||||
|
<th>Quantity</th>
|
||||||
|
<th>UOM</th>
|
||||||
|
<th> </th>
|
||||||
|
<th class="availProduct"><cws:message txt="Availability"/></th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${priceList.prices}' var='product' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:if test='${not empty product.imageURL}'><img src="<c:out value='${product.imageURL}'/>"></c:if></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"> <input name="Name_<c:out value='${product.id}'/>" type="hidden" value="<c:out value='${product.name}'/>">
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${not empty product.descriptionURL}}">
|
||||||
|
<a href="<c:out value='${product.descriptionURL}'/>" target="pd"><c:out value="${product.name}"/></a>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:out value='${product.name}'/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${product.description}'/> <c:if test="${empty product.description}"> </c:if></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"> <input name="Price_<c:out value='${product.id}'/>" type="hidden" value="<c:out value='${product.price}'/>">
|
||||||
|
<fmt:formatNumber value='${product.price}' type="currency" currencySymbol="" /> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> quantity"> <input name="Qty_<c:out value='${product.id}'/>" type="text" id="qty_<c:out value='${product.id}'/>" value="1" size="5" maxlength="5"></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${product.uomName}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"> <input name="Add_<c:out value='${product.id}'/>" type="submit" id="Add_<c:out value='${product.id}'/>" value="Add"></td>
|
||||||
|
<td class="<c:out value='${rowClass}'/> availProduct"><!-- c:out value='$ {product.available}'/ --> </td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
<p><font size="-1">Price List: <c:out value='${priceList.name}'/> (<c:out value='${priceList.priceCount}'/>) - <c:out value='${priceList.searchInfo}'/></font></p>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,67 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=info.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: info.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Interest Area
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Interest Areas</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Info - Interest Areas</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Interest Area</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th align="right">Subscription</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.interests}' var='interest' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${interest.name}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${interest.description}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<c:choose>
|
||||||
|
<c:when test='${interest.subscribed}'>
|
||||||
|
<fmt:formatDate value='${interest.subscribeDate}'/>
|
||||||
|
<input type="button" name="UnSubscribe_<c:out value='${interest.r_InterestArea_ID}'/>" value="Un-Subscribe"
|
||||||
|
onClick="window.top.location.replace('infoServlet?mode=unsubscribe&area=<c:out value='${interest.r_InterestArea_ID}'/>&contact=<c:out value='${info.user_ID}'/>');" >
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<input type="button" name="Subscribe_<c:out value='${interest.r_InterestArea_ID}'/>" value="Subscribe"
|
||||||
|
onClick="window.top.location.replace('infoServlet?mode=subscribe&area=<c:out value='${interest.r_InterestArea_ID}'/>&contact=<c:out value='${info.user_ID}'/>');" >
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,93 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=invoices.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: invoiceLines.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Invoices
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Invoice Details</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<!-- Set Invoice ID and get Invoice -->
|
||||||
|
<c:set target='${info}' property='id' value='${param.C_Invoice_ID}' />
|
||||||
|
<c:set var='invoice' value='${info.invoice}' />
|
||||||
|
<c:if test='${empty invoice}'>
|
||||||
|
<c:set target='${info}' property='message' value='Invoice not found' />
|
||||||
|
<c:redirect url='invoices.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Invoice Details <c:out value='${invoice.documentNo}'/></h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><c:out value='${info.message}'/></p>
|
||||||
|
</c:if>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Document No</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Date</th>
|
||||||
|
<th>Total Lines</th>
|
||||||
|
<th>Grand Total</th>
|
||||||
|
<th>Image</th>
|
||||||
|
<th>Open</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="oddRow"><c:out value='${invoice.documentNo}'/></td>
|
||||||
|
<td class="oddRow"><c:out value='${invoice.description}'/> </td>
|
||||||
|
<td class="oddRow"><fmt:formatDate value='${invoice.dateInvoiced}'/></td>
|
||||||
|
<td class="oddRow amount"><fmt:formatNumber value='${invoice.totalLines}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="oddRow amount"><c:out value='${invoice.currencyISO}'/> <fmt:formatNumber value='${invoice.grandTotal}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="oddRow"><a href="invoiceServlet/I_<c:out value='${invoice.documentNo}'/>.pdf?Invoice_ID=<c:out value='${invoice.c_Invoice_ID}'/>" target="_blank"><img src="pdf.gif" alt="Get Invoice Image" width="30" height="30" border="0"></a></td>
|
||||||
|
<td class="oddRow"><c:if test='${invoice.paid}'>Paid</c:if><c:if test='${not invoice.paid}'>
|
||||||
|
<input type="submit" name="InvoicePay" value="Pay <c:out value='${invoice.openAmt}'/>"
|
||||||
|
onClick="window.top.location.replace('paymentServlet?C_Invoice_ID=<c:out value='${invoice.c_Invoice_ID}'/>&Amt=<c:out value='${invoice.openAmt}'/>');">
|
||||||
|
</c:if></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<h3>Lines</h3>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Line</th>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Qty</th>
|
||||||
|
<th>Price</th>
|
||||||
|
<th>Line Net</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${invoice.lines}' var='line' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${line.line}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${line.name}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${line.descriptionText}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> quantity"><fmt:formatNumber value='${line.qtyInvoiced}' /></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><fmt:formatNumber value='${line.priceActual}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><fmt:formatNumber value='${line.lineNetAmt}' type="currency" currencySymbol=""/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,66 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=invoices.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: invoices.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Invoices
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Invoices</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Invoices</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Document No</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Date</th>
|
||||||
|
<th>Total Lines</th>
|
||||||
|
<th>Grand Total</th>
|
||||||
|
<th>Image</th>
|
||||||
|
<th>Open</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.invoices}' var='invoice' varStatus='status'>
|
||||||
|
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="invoiceLines.jsp?C_Invoice_ID=<c:out value='${invoice.c_Invoice_ID}'/>"><c:out value='${invoice.documentNo}'/></a></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${invoice.description}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${invoice.dateInvoiced}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><fmt:formatNumber value='${invoice.totalLines}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><c:out value='${invoice.currencyISO}'/> <fmt:formatNumber value='${invoice.grandTotal}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="invoiceServlet/I_<c:out value='${invoice.documentNo}'/>.pdf?Invoice_ID=<c:out value='${invoice.c_Invoice_ID}'/>" target="_blank"><img src="pdf.gif" alt="Get Invoice Image" width="30" height="30" border="0"></a></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:if test='${invoice.paid}'>Paid</c:if><c:if test='${not invoice.paid}'>
|
||||||
|
<input type="submit" name="InvoicePay" value="Pay <c:out value='${invoice.openAmt}'/>"
|
||||||
|
onClick="window.top.location.replace('paymentServlet?C_Invoice_ID=<c:out value='${invoice.c_Invoice_ID}'/>&Amt=<c:out value='${invoice.openAmt}'/>');">
|
||||||
|
</c:if></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
After Width: | Height: | Size: 798 B |
|
@ -0,0 +1,164 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: login.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Login
|
||||||
|
-->
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - Login</title>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function doNewUserClicked()
|
||||||
|
{
|
||||||
|
document.getElementById("LoginOrNewBtns").style.display = "none";
|
||||||
|
document.getElementById("NewUserFields").style.display = "block";
|
||||||
|
//document.Login.Mode.value='LoginNew';
|
||||||
|
document.Login.Mode.value='Submit';
|
||||||
|
document.getElementById("LoginOrNewLegend").innerHTML = "Create New User";
|
||||||
|
}
|
||||||
|
function doCancelClicked()
|
||||||
|
{
|
||||||
|
document.getElementById("LoginOrNewBtns").style.display = "block";
|
||||||
|
document.getElementById("NewUserFields").style.display = "none";
|
||||||
|
document.Login.Mode.value='Login';
|
||||||
|
document.getElementById("LoginOrNewLegend").innerHTML = "Login Existing User";
|
||||||
|
}
|
||||||
|
function validateForm()
|
||||||
|
{
|
||||||
|
if(document.Login.Mode.value == 'Login')
|
||||||
|
{
|
||||||
|
return checkForm(document.Login, new Array ('EMail','Password'));
|
||||||
|
}
|
||||||
|
|
||||||
|
if(document.Login.Mode.value == 'SendEMail')
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(document.Login.Password.value != document.Login.PasswordNew.value)
|
||||||
|
{
|
||||||
|
alert("Password and Confirm Password do not match.");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return checkForm(document.Login, new Array ('EMail','Password','PasswordNew','Name','Address', 'City', 'Postal', 'C_Country_ID'));
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>User Information</h1>
|
||||||
|
|
||||||
|
<form action="loginServlet" method="post" enctype="application/x-www-form-urlencoded"
|
||||||
|
name="Login" target="_top" onSubmit="return validateForm()">
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<legend id="LoginOrNewLegend">Login Existing User</legend>
|
||||||
|
|
||||||
|
<input name="AD_Client_ID" type="hidden" value='<c:out value="${initParam.#AD_Client_ID}" default="0"/>'/>
|
||||||
|
<input name="Source" type="hidden" value=""/>
|
||||||
|
<input name="Info" type="hidden" value=""/>
|
||||||
|
<input name="Mode" type="hidden" value=""/>
|
||||||
|
<script language="Javascript">
|
||||||
|
document.Login.Source.value = document.referrer;
|
||||||
|
document.Login.Info.value = document.lastModified;
|
||||||
|
document.Login.Mode.value='Login';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<label id="LBL_EMail" for="EMail" title="Must be a valid EMail Address!!"><cws:message txt="EMail"/></label>
|
||||||
|
<input class="mandatory" size="40" id="ID_EMail" value='<c:out value="${webUser.email}"/>' name="EMail" maxlength="60" type="text"/>
|
||||||
|
<input name="validated" type="checkbox" id="validated" value="validated" disabled
|
||||||
|
<c:if test='${webUser.EMailVerified}'> checked</c:if>> Address validated
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Password" for="Password"><cws:message txt="Password"/></label>
|
||||||
|
<input class="mandatory" size="20" type="password" id="ID_Password" value="" name="Password" maxlength="40"/>
|
||||||
|
<c:if test="${not empty webUser.passwordMessage}">
|
||||||
|
<font color="#FF0000"> <c:out value="${webUser.passwordMessage}"/></font>
|
||||||
|
</c:if>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<div class="buttons" id="LoginOrNewBtns">
|
||||||
|
<input type="submit" name="Login" id="Login" value="Login existing">
|
||||||
|
<input type="button" name="LoginNew" id="LoginNew" value="New user" onClick="doNewUserClicked();">
|
||||||
|
<c:if test="${not empty webUser.passwordMessage}">
|
||||||
|
<input type="submit" name="SendEMail" id="SendEMail" value="Send Password to EMail"
|
||||||
|
onClick="document.Login.Mode.value='SendEMail';document.Login.Password.value='?';">
|
||||||
|
</c:if>
|
||||||
|
</div>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<div style="display:none" id="NewUserFields">
|
||||||
|
<%--<c:if test="${empty webUser || webUser.contactID == 0 || webUser.loggedIn}">--%>
|
||||||
|
|
||||||
|
<label id="LBL_PasswordNew" for="PasswordNew">Confirm Password</label>
|
||||||
|
<input class="mandatory" size="20" id="ID_PasswordNew" value="" name="PasswordNew" maxlength="40" type="password"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Name" for="Name">Name</label>
|
||||||
|
<input class="mandatory" size="40" id="ID_Name" value="" name="Name" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Company" for="Company">Company</label>
|
||||||
|
<input size="40" id="ID_Company" value="" name="Company" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Title" for="Title">Title</label>
|
||||||
|
<input size="40" id="ID_Title" value='' name="Title" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Address" for="Address">Address</label>
|
||||||
|
<input class="mandatory" size="40" id="ID_Address" value="" name="Address" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Address2" for="Address2">Address2</label>
|
||||||
|
<input size="40" id="ID_Address2" value='' name="Address2" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<cws:location countryID='${webUser.countryID}' regionID='${webUser.regionID}' regionName='${webUser.regionName}'
|
||||||
|
city='${webUser.city}' postal='${webUser.postal}'/>
|
||||||
|
|
||||||
|
<label id="LBL_Phone" for="Phone">Phone</label>
|
||||||
|
<input size="20" id="ID_Phone" value='' name="Phone" maxlength="20" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Fax" for="Fax">Fax</label>
|
||||||
|
<input size="20" id="ID_Fax" value='' name="Fax" maxlength="20" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="buttons">
|
||||||
|
<input type="submit" name="Submit" id="Submit" value="Create New User">
|
||||||
|
<input type="reset" name="Reset" value="Reset">
|
||||||
|
<input name="AddressConfirm" type="hidden" id="AddressConfirm" value="N">
|
||||||
|
<input type="button" name="Cancel" value="Cancel User Creation" onClick="doCancelClicked()"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<%--</c:if>--%>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<c:if test="${not empty webUser.saveErrorMessage}">
|
||||||
|
<div class="error"><c:out value="${webUser.saveErrorMessage}"/></div>
|
||||||
|
</c:if>
|
||||||
|
<div id="processingDiv" style="display:none"><strong>Processing ...</strong></div>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<div align="center">Enter all <b class="mandatory">mandatory</b> data. </div>
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<p> </p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,121 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=notes.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: notes.jsp,v 1.3 2006/05/19 22:04:03 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Notes / Workflow
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Notices</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Notices</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<h3>Workflow</h3>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Created<br><i>Priority</i></th>
|
||||||
|
<th>Workflow Step<br><i>Description</i></th>
|
||||||
|
<th>History</th>
|
||||||
|
<th>Answer</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.activities}' var='act' varStatus='actStatus'>
|
||||||
|
<jsp:useBean id="actStatus" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= actStatus.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<form action="workflowServlet" method="post" enctype="application/x-www-form-urlencoded" name="Activity">
|
||||||
|
<input name="AD_WF_Activity_ID" type="hidden" value="<c:out value='${act.AD_WF_Activity_ID}'/>"/>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${act.created}'/><br><i><c:out value='${act.priority}'/></i></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${act.nodeName}'/><br>
|
||||||
|
<i><c:out value='${act.nodeDescription}'/></i>
|
||||||
|
<c:if test='${not empty act.attachment}'>
|
||||||
|
<c:out value='${act.attachment.textMsg}'/>:
|
||||||
|
<c:forEach items='${act.attachment.entries}' var='entry'>
|
||||||
|
<a href="workflowServlet?AD_WF_Activity_ID=<c:out value='${act.AD_WF_Activity_ID}'/>&AttachmentIndex=<c:out value='${entry.index}'/>" target="_blank">
|
||||||
|
<c:out value='${entry.name}'/>
|
||||||
|
</a> -
|
||||||
|
</c:forEach>
|
||||||
|
</c:if>
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${act.historyHTML}' escapeXml='false'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><textarea name="textMsg" cols="30" rows="3" id="textMsg"></textarea><br>
|
||||||
|
<cws:workflow activityID="${act.AD_WF_Activity_ID}" />
|
||||||
|
<input type="submit" name="Submit" value="Submit">
|
||||||
|
</td>
|
||||||
|
</form>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
<h3>Notices</h3>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Created</th>
|
||||||
|
<th>Message</th>
|
||||||
|
<th>Reference</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Text</th>
|
||||||
|
<th>Answer</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.notes}' var='note' varStatus='noteStatus'>
|
||||||
|
<jsp:useBean id="noteStatus" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= noteStatus.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<form action="noteServlet" method="post" enctype="application/x-www-form-urlencoded" name="Notice">
|
||||||
|
<input name="AD_Note_ID" type="hidden" value="<c:out value='${note.AD_Note_ID}'/>"/>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${note.created}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${note.message}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${note.reference}'/>
|
||||||
|
<c:if test='${not empty note.attachment}'>
|
||||||
|
<c:out value='${note.attachment.textMsg}'/>:
|
||||||
|
<c:forEach items='${note.attachment.entries}' var='entry'>
|
||||||
|
<a href="noteServlet?AD_Note_ID=<c:out value='${note.AD_Note_ID}'/>&AttachmentIndex=<c:out value='${entry.index}'/>" target="_blank">
|
||||||
|
<c:out value='${entry.name}'/>
|
||||||
|
</a> -
|
||||||
|
</c:forEach>
|
||||||
|
</c:if>
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${note.textMsg}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${note.description}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<label>
|
||||||
|
<input name="Processed" type="checkbox" id="Processed" value="Processed">
|
||||||
|
Acknowledge</label>
|
||||||
|
<input name="Update" type="submit" id="Update" value="Update">
|
||||||
|
</td>
|
||||||
|
</form>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,100 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=orders.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: orderDetails.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Orders
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Order Details</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<!-- Set Order ID and get Invoice -->
|
||||||
|
<c:set target='${info}' property='id' value='${param.C_Order_ID}' />
|
||||||
|
<c:set var='order' value='${info.order}' />
|
||||||
|
<c:if test='${empty order}'>
|
||||||
|
<c:set target='${info}' property='message' value='Order not found' />
|
||||||
|
<c:redirect url='orders.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Order Details <c:out value='${order.documentNo}'/></h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Document No</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Status</th>
|
||||||
|
<th>Date</th>
|
||||||
|
<th>Total Lines</th>
|
||||||
|
<th>Grand Total</th>
|
||||||
|
<th> </th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="oddRow"><c:out value='${order.documentNo}'/></td>
|
||||||
|
<td class="oddRow"><c:out value='${order.description}'/> </td>
|
||||||
|
<td class="oddRow"><c:out value='${order.docStatusName}'/></td>
|
||||||
|
<td class="oddRow"><fmt:formatDate value='${order.dateOrdered}'/></td>
|
||||||
|
<td class="oddRow amount"><fmt:formatNumber value='${order.totalLines}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="oddRow amount"><c:out value='${order.currencyISO}'/> <fmt:formatNumber value='${order.grandTotal}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="oddRow">
|
||||||
|
<c:if test='${order.docStatus=="IP"}'>
|
||||||
|
<input name="Void" id="Void" value="Void"
|
||||||
|
onClick="window.top.location.replace('<c:out value='https://${ctx.context}/'/>orderServlet?C_Order_ID=<c:out value='${order.c_Order_ID}'/>&DocAction=VO');" type="button">
|
||||||
|
<input name="Complere" id="Complete" value="Complete"
|
||||||
|
onClick="window.top.location.replace('<c:out value='https://${ctx.context}/'/>orderServlet?C_Order_ID=<c:out value='${order.c_Order_ID}'/>&DocAction=CO');" type="button">
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${order.docStatus=="WP"}'>
|
||||||
|
<input type="submit" name="OrderPay" value="Pay <c:out value='${order.grandTotal}'/>"
|
||||||
|
onClick="window.top.location.replace('paymentServlet?C_Invoice_ID=<c:out value='${order.c_Invoice_ID}'/>&Amt=<c:out value='${order.grandTotal}'/>');">
|
||||||
|
</c:if>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<h3>Lines</h3>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Line</th>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Qty</th>
|
||||||
|
<th>Price</th>
|
||||||
|
<th>Line Net</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${order.lines}' var='line' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${line.line}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${line.name}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${line.descriptionText}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> quantity"><fmt:formatNumber value='${line.qtyOrdered}' /></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><fmt:formatNumber value='${line.priceActual}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><fmt:formatNumber value='${line.lineNetAmt}' type="currency" currencySymbol=""/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,73 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=orders.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: orders.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Orders
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Orders</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Orders</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Document No</th>
|
||||||
|
<th>Desciption</th>
|
||||||
|
<th>Status</th>
|
||||||
|
<th>Date</th>
|
||||||
|
<th>Total Lines</th>
|
||||||
|
<th>Grand Total</th>
|
||||||
|
<th> </th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.orders}' var='order' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="orderDetails.jsp?C_Order_ID=<c:out value='${order.c_Order_ID}'/>"><c:out value='${order.documentNo}'/></a></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${order.description}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${order.docStatusName}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${order.dateOrdered}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><fmt:formatNumber value='${order.totalLines}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><c:out value='${order.currencyISO}'/> <fmt:formatNumber value='${order.grandTotal}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<c:if test='${order.docStatus=="IP"}'>
|
||||||
|
<input name="Void" id="Void" value="Void"
|
||||||
|
onClick="window.top.location.replace('<c:out value='https://${ctx.context}/'/>orderServlet?C_Order_ID=<c:out value='${order.c_Order_ID}'/>&DocAction=VO');" type="button">
|
||||||
|
<input name="Complere" id="Complete" value="Complete"
|
||||||
|
onClick="window.top.location.replace('<c:out value='https://${ctx.context}/'/>orderServlet?C_Order_ID=<c:out value='${order.c_Order_ID}'/>&DocAction=CO');" type="button">
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${order.docStatus=="WP"}'>
|
||||||
|
<input type="submit" name="OrderPay" value="Pay <c:out value='${order.grandTotal}'/>"
|
||||||
|
onClick="window.top.location.replace('paymentServlet?C_Invoice_ID=<c:out value='${order.c_Invoice_ID}'/>&Amt=<c:out value='${order.grandTotal}'/>');">
|
||||||
|
</c:if>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,147 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=paymentInfo.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${empty payment}'>
|
||||||
|
<c:redirect url='index.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: paymentInfo.jsp,v 1.3 2006/05/06 02:13:56 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Payment Info
|
||||||
|
- Variables: webOrder, webUser, payment
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Payment Info</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<c:if test='${not empty webOrder}'>
|
||||||
|
<h1>Thank you for your Order</h1>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Order</th>
|
||||||
|
<th>Lines</th>
|
||||||
|
<th>Shipping</th>
|
||||||
|
<th>Tax</th>
|
||||||
|
<th>Total</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="oddRow"> <c:out value='${webOrder.documentNo}'/></td>
|
||||||
|
<td class="oddRow amount"> <fmt:formatNumber value='${webOrder.totalLines}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="oddRow amount"> <fmt:formatNumber value='${webOrder.freightAmt}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="oddRow amount"> <fmt:formatNumber value='${webOrder.taxAmt}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="oddRow amount"><b><c:out value='${webOrder.currencyISO}'/> <fmt:formatNumber value='${webOrder.grandTotal}' type="currency" currencySymbol=""/></b></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${empty webOrder}'>
|
||||||
|
<h1>Payment of <c:out value='${payment.currencyISO}'/> <fmt:formatNumber value='${payment.payAmt}' type="currency" currencySymbol=""/></h1>
|
||||||
|
</c:if>
|
||||||
|
<h2>Please enter your payment information</h2>
|
||||||
|
<c:if test="${not empty payment.r_PnRef}">
|
||||||
|
<p><b>Payment Info: <c:out value='${payment.r_PnRef}'/></b></p>
|
||||||
|
<c:if test="${not empty payment.errorMessage}">
|
||||||
|
<div class="error"><c:out value="${payment.errorMessage}"/></div>
|
||||||
|
</c:if>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<form action="paymentServlet" method="post" enctype="application/x-www-form-urlencoded"
|
||||||
|
name="payment" target="_top" id="payment"
|
||||||
|
onSubmit="checkForm(this, new Array ('CreditCardNumber','CreditCardExpMM','CreditCardExpYY','CreditCardVV','A_Name','A_Street','A_City','A_Zip'));">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Payment Information</legend>
|
||||||
|
|
||||||
|
<label id="LBL_CreditCard" for="Name">CreditCard</label>
|
||||||
|
<select id="ID_CreditCard" name="CreditCard" size="1">
|
||||||
|
<c:forEach items='${payment.creditCards}' var='cc'>
|
||||||
|
<option value="<c:out value='${cc.value}'/>" <c:if test='${payment.creditCardType == cc.value}'>selected</c:if>><c:out value='${cc.name}'/></option>
|
||||||
|
</c:forEach>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_CreditCardNumber" for="CreditCardNumber">Credit Card Number</label>
|
||||||
|
<input class="mandatory" size="30" id="ID_CreditCardNumber" value='<c:out value="${payment.creditCardNumber}"/>' name="CreditCardNumber" maxlength="16" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
<label id="LBL_Exp">Expiry Date</label>
|
||||||
|
<select id="ID_CreditCardExpMM" name="CreditCardExpMM" class="mandatory" size="1">
|
||||||
|
<c:forEach var='mm' begin="1" end="12">
|
||||||
|
<option value="<c:out value='${mm}'/>" <c:if test='${payment.creditCardExpMM == mm}'>selected</c:if>><c:out value='${mm}'/></option>
|
||||||
|
</c:forEach>
|
||||||
|
</select> -
|
||||||
|
<select id="ID_CreditCardExpYY" name="CreditCardExpYY" class="mandatory" size="1">
|
||||||
|
<c:forEach var='yy' begin="5" end="20">
|
||||||
|
<option value="<c:out value='${yy}'/>" <c:if test='${payment.creditCardExpYY == yy}'>selected</c:if>><c:out value='${yy+2000}'/></option>
|
||||||
|
</c:forEach>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_CreditCardVV" for="CreditCardVV">Validation Code<sup>*</sup></label>
|
||||||
|
<input class="mandatory" size="5" id="ID_CreditCardVV" value='<c:out value="${payment.creditCardVV}"/>' name="CreditCardVV" maxlength="4" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_A_Name" for="A_Name">Name on Credit Card</label>
|
||||||
|
<input class="mandatory" size="40" id="ID_A_Name" value='<c:out value="${payment.a_Name}"/>' name="A_Name" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_A_Street" for="A_Street">Street</label>
|
||||||
|
<input class="mandatory" size="40" id="ID_A_Street" value='<c:out value="${payment.a_Street}"/>' name="A_Street" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_A_City" for="A_City">City</label>
|
||||||
|
<input class="mandatory" size="40" id="ID_A_City" value='<c:out value="${payment.a_City}"/>' name="A_City" maxlength="40" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_A_Zip" for="A_Zip">Zip</label>
|
||||||
|
<input class="mandatory" size="10" id="ID_A_Zip" value='<c:out value="${payment.a_Zip}"/>' name="A_Zip" maxlength="10" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_A_State" for="A_State">State</label>
|
||||||
|
<input size="10" id="ID_A_State" value='<c:out value="${payment.a_State}"/>' name="A_State" maxlength="20" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_A_Country" for="A_Country">Country</label>
|
||||||
|
<input class="mandatory" size="40" id="ID_A_Country" value='<c:out value="${payment.a_Country}"/>' name="A_Country" maxlength="40" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
<input name="SavePayment" type="checkbox" id="SavePayment" value="SavePayment" checked>
|
||||||
|
Save Payment Information
|
||||||
|
</div>
|
||||||
|
<div class="buttons">
|
||||||
|
<input type="reset" name="Reset" value="Reset">
|
||||||
|
<input type="submit" name="Submit" id="Submit" value="Submit Payment">
|
||||||
|
</div>
|
||||||
|
<c:if test="${not empty payment.errorMessage}">
|
||||||
|
<div class="error"><c:out value="${payment.errorMessage}"/></div>
|
||||||
|
</c:if>
|
||||||
|
<div id="processingDiv" style="display:none"><strong>Processing ...</strong></div>
|
||||||
|
<div align="center">Enter all <b class="mandatory">mandatory</b> data. </div>
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<div id="validationInfo">
|
||||||
|
<div id="visaBox"><img src="visaCID.jpg" height="80" width="135"/></div>
|
||||||
|
<div id="amexBox"><img src="amexCID.jpg" height="80" width="135"/></div>
|
||||||
|
<strong>Credit Card Validation Code <br/>
|
||||||
|
<font size="-1">(Card ID)<br/></font></strong>
|
||||||
|
<font size="-1">Visa and Mastercard: 3 digits - back<br/>
|
||||||
|
American Express: 4 digits - front</font>
|
||||||
|
<p> </p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,70 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=payments.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: payments.jsp,v 1.3 2006/05/19 22:04:55 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Payments
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Payments</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Payments</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<form action="paymentServlet" method="get" enctype="application/x-www-form-urlencoded" name="MakePayment" id="MakePayment">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Make a Payment</legend>
|
||||||
|
<label for="Amt">Amount:</label>
|
||||||
|
<input name="Amt" type="text" id="Amt" value="120.00" size="10">
|
||||||
|
<input type="submit" name="Submit" value="Submit">
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<br/>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Document No</th>
|
||||||
|
<th>Doc Status</th>
|
||||||
|
<th>Credit Card</th>
|
||||||
|
<th>Date</th>
|
||||||
|
<th align="right">Amount</th>
|
||||||
|
<th>Details</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.payments}' var='payment' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${payment.documentNo}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${payment.docStatusName}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${payment.r_RespMsg}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${payment.dateTrx}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><c:out value='${payment.currencyISO}'/> <fmt:formatNumber value='${payment.payAmt}' type="currency" currencySymbol=""/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"> <c:out value='${payment.r_AuthCode}'/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
After Width: | Height: | Size: 854 B |
|
@ -0,0 +1,381 @@
|
||||||
|
/** Adempiere Web Store (c) Jorg Janke */
|
||||||
|
/** $Id$ */
|
||||||
|
|
||||||
|
html{
|
||||||
|
overflow-y: hidden;
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
body{
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
color: #333333;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: auto;
|
||||||
|
overflow: hidden;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
#page{
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
#main {
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
clear: both;
|
||||||
|
width: 100%;
|
||||||
|
border: 0px;
|
||||||
|
border-collapse: collapse;
|
||||||
|
|
||||||
|
}
|
||||||
|
#menu{
|
||||||
|
vertical-align: top;
|
||||||
|
text-align: left;
|
||||||
|
background: #ffffff url("fade.jpg") no-repeat fixed;
|
||||||
|
width: 129px;
|
||||||
|
float: left;
|
||||||
|
padding-top: 5px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
#content {
|
||||||
|
vertical-align: top;
|
||||||
|
left: 130px;
|
||||||
|
right: 0px;
|
||||||
|
margin-right: 0px;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
border-color: #CCCCCC;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px 0px 1px 1px;
|
||||||
|
padding: 5px;
|
||||||
|
position: absolute;
|
||||||
|
min-width: 730px;
|
||||||
|
}
|
||||||
|
#vendorUse{
|
||||||
|
vertical-align:top;
|
||||||
|
text-align:right;
|
||||||
|
width: 0px;
|
||||||
|
float: right;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.contentTable{
|
||||||
|
width: 100%;
|
||||||
|
border: 1px;
|
||||||
|
border-spacing: 2px;
|
||||||
|
padding: 2px;
|
||||||
|
border-color: #CCCCCC;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.internalTable{
|
||||||
|
width: 100%;
|
||||||
|
padding: 2px;
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
.adTable{
|
||||||
|
width: 100%;
|
||||||
|
border: 1px;
|
||||||
|
border-spacing: 1px;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
.oddRow{
|
||||||
|
background-color: #EEEEEE;
|
||||||
|
}
|
||||||
|
.evenRow{
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.amount{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.quantity{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.numeric{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
#footer{
|
||||||
|
background-color:#FFFFFF;
|
||||||
|
width: 100%;
|
||||||
|
border: 0px;
|
||||||
|
border-collapse: collapse;
|
||||||
|
padding: 3px;
|
||||||
|
white-space: nowrap;
|
||||||
|
min-width: 730px;
|
||||||
|
}
|
||||||
|
#footerParam4{
|
||||||
|
width: 130px;
|
||||||
|
text-align: left;
|
||||||
|
display:inline;
|
||||||
|
float: left;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
#footerParam5{
|
||||||
|
text-align: left;
|
||||||
|
display:inline;
|
||||||
|
float: left;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
#footerParam6{
|
||||||
|
text-align: right;
|
||||||
|
display:inline;
|
||||||
|
float: right;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
#header{
|
||||||
|
background-color:#FFFFFF;
|
||||||
|
background-image: url("AdempiereSKY.jpg");
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
height: 75px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
#headerIcon {
|
||||||
|
width: 130px;
|
||||||
|
text-align: left;
|
||||||
|
float: left;
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
#headerIcon img{
|
||||||
|
width: 130px;
|
||||||
|
height: 75px;
|
||||||
|
border-style: none;
|
||||||
|
border-width: 0px;
|
||||||
|
}
|
||||||
|
#headerContent {
|
||||||
|
text-align: left;
|
||||||
|
margin-right: 240px;
|
||||||
|
white-space: nowrap;
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
left: 131px;
|
||||||
|
}
|
||||||
|
#headerMenu {
|
||||||
|
text-align: right;
|
||||||
|
width: 240px;
|
||||||
|
float: right;
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #000066;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
color: #003366;
|
||||||
|
font-size: x-large;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
color: #333333;
|
||||||
|
font-size: large;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
h3 {
|
||||||
|
color: #006699;
|
||||||
|
font-size: medium;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
h4 {
|
||||||
|
color: #6600CC;
|
||||||
|
font-size: medium;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
h5 {
|
||||||
|
color: #660099;
|
||||||
|
font-size: medium;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
h6 {
|
||||||
|
font-size: larger;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
hr {
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
th {
|
||||||
|
color: #EEEEEE;
|
||||||
|
border: 1px;
|
||||||
|
border-color: #CCCCCC;
|
||||||
|
border-style: outset;
|
||||||
|
background-color: #006699;
|
||||||
|
text-align: left;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
caption {
|
||||||
|
color: #660099;
|
||||||
|
text-align: left;
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
.menuDetail{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-left: 20px;
|
||||||
|
padding-top: 0;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.menuDetail:hover{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-left: 20px;
|
||||||
|
padding-top: 0;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
.menuMain{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 16px;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
.menuMain:hover{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 16px;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: underline;
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
.menuSub{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
padding-left: 10px;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.menuSub:hover{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
padding-left: 10px;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
.error{
|
||||||
|
border: 1px solid #FF4A4A;
|
||||||
|
color: #FF0000;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
form{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
fieldset{
|
||||||
|
border: 1px solid #AAAAAA;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
legend{
|
||||||
|
color: #003366;
|
||||||
|
background: #EEEEEE;
|
||||||
|
border: 1px solid #999999;
|
||||||
|
padding: 2px 6px;
|
||||||
|
}
|
||||||
|
label{
|
||||||
|
clear: left;
|
||||||
|
width: 35%;
|
||||||
|
float: left;
|
||||||
|
text-align: right;
|
||||||
|
margin-right: 0.8em;
|
||||||
|
display: block;
|
||||||
|
font-weight: bold;
|
||||||
|
vertical-align: baseline;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
input{
|
||||||
|
/* color: #781351;*/
|
||||||
|
/* background: #fee3ad;*/
|
||||||
|
/* border: #000000;*/
|
||||||
|
}
|
||||||
|
select{
|
||||||
|
color: #000000;
|
||||||
|
background: #ffffff;
|
||||||
|
border: 1px solid #CCCCCC;
|
||||||
|
}
|
||||||
|
.mandatory{
|
||||||
|
background:#FFFF99;
|
||||||
|
}
|
||||||
|
input.disabled{
|
||||||
|
border: 0px;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
.buttons{
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
.Cbasket{
|
||||||
|
font-size: 9px;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
#imgButton{
|
||||||
|
border-style:outset;
|
||||||
|
}
|
||||||
|
#imgButtonPressed{
|
||||||
|
border-style:inset;
|
||||||
|
}
|
||||||
|
#status{
|
||||||
|
background-color: #fff8dc;
|
||||||
|
color: #000000;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#validationInfo{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#visaBox{
|
||||||
|
width: 40%;
|
||||||
|
float:left;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
#amexBox{
|
||||||
|
width: 40%;
|
||||||
|
float:right;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.availProduct{
|
||||||
|
/* comment out next line to show the Availability column */
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
label#productSearch{
|
||||||
|
width:150px;
|
||||||
|
float: left;
|
||||||
|
text-align: right;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.nobr{
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.wideText{
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
.lineItem{
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.entryNote{
|
||||||
|
font-size: small;
|
||||||
|
color: #666666;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.emphasized{
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.disabledMsg{
|
||||||
|
display: none;
|
||||||
|
font-style: italic;
|
||||||
|
text-align: center;
|
||||||
|
}
|
|
@ -0,0 +1,80 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<%@ page language="java" import="java.sql.*" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=registrations.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: registration.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Registration
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - Registration</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<!-- Set Registration ID and get Registration (may not exist) -->
|
||||||
|
<c:set target='${info}' property='id' value='0' />
|
||||||
|
<c:if test='${not empty param.A_Registration_ID}'>
|
||||||
|
<c:set target='${info}' property='id' value='${param.A_Registration_ID}' />
|
||||||
|
</c:if>
|
||||||
|
<c:set var='registration' value='${info.registration}' />
|
||||||
|
<c:if test='${empty registration}'>
|
||||||
|
<c:set target='${info}' property='message' value='Registration not found' />
|
||||||
|
<c:redirect url='registrations.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Registration</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<form action="registrationServlet" method="post" enctype="application/x-www-form-urlencoded" name="registration" id="registration">
|
||||||
|
<fieldset>
|
||||||
|
<legend>New Registration</legend>
|
||||||
|
|
||||||
|
<label for="Name">Name</label>
|
||||||
|
<input name="Name" type="text" id="Name" value="<c:out value='${registration.name}'/>" size="60" maxlength="60">
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label for="Description">Description</label>
|
||||||
|
<input name="Description" type="text" id="Description" value="<c:out value='${registration.description}'/>" size="60" maxlength="255">
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label for="AssetServiceDate">Service Date</label>
|
||||||
|
<input name="AssetServiceDate" type="text" id="AssetServiceDate" value="<fmt:formatDate value='${registration.assetServiceDate}'/>" size="20">
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label for="InProduction">In Production</label>
|
||||||
|
<input <c:if test='${registration.inProduction}'>checked</c:if> name="InProduction" type="checkbox" id="InProduction" value="IsInProduction">
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label for="AllowPublish">Allow Publication</label>
|
||||||
|
<input <c:if test='${registration.allowPublish}'>checked</c:if> name="AllowPublish" type="checkbox" id="AllowPublish" value="IsAllowPublish">
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<c:forEach items='${registration.values}' var='rvalue'>
|
||||||
|
<label for="<c:out value='${rvalue.registrationAttribute}'/>"><c:out value='${rvalue.registrationAttributeDescription}'/></label>
|
||||||
|
<input name="<c:out value='${rvalue.registrationAttribute}'/>" type="text" id="<c:out value='${rvalue.registrationAttribute}'/>" value="<c:out value='${rvalue.name}'/>" size="30" maxlength="60">
|
||||||
|
<br/>
|
||||||
|
</c:forEach>
|
||||||
|
|
||||||
|
<div class="buttons">
|
||||||
|
<input name="A_Registration_ID" type="hidden" id="A_Registration_ID" value="<c:out value='${registration.a_Registration_ID}'/>">
|
||||||
|
<input type="submit" name="Submit" value="Submit">
|
||||||
|
<input name="Reset" type="reset" id="Reset" value="Reset">
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,59 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=registrations.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: registrations.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Registration
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Registrations</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Registrations</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<p><a href="registration.jsp">New Registration</a></p>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Service Date</th>
|
||||||
|
<th>In Production</th>
|
||||||
|
<th>Allow Publication</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.registrations}' var='registration' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="registration.jsp?A_Registration_ID=<c:out value='${registration.a_Registration_ID}'/>"><c:out value='${registration.name}'/></a></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${registration.description}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${registration.assetServiceDate}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${registration.inProduction}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${registration.allowPublish}'/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,77 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=request.jsp&SalesRep_ID=${param.SalesRep_ID}'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: request.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Request
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - Request</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>New Request</h1>
|
||||||
|
<form method="post" name="Request" action="requestServlet" enctype="application/x-www-form-urlencoded"
|
||||||
|
onSubmit="checkForm(this, new Array ('Summary'));">
|
||||||
|
|
||||||
|
<input name="Source" type="hidden" value=""/>
|
||||||
|
<input name="Info" type="hidden" value=""/>
|
||||||
|
<script language="Javascript">
|
||||||
|
document.Request.Source.value=document.referrer;
|
||||||
|
document.Request.Info.value=document.lastModified;
|
||||||
|
</script>
|
||||||
|
<input name="ForwardTo" type="hidden" value="<c:out value='${param.ForwardTo}'/>"/>
|
||||||
|
<c:if test='${not empty param.SalesRep_ID}'>
|
||||||
|
<input name="SalesRep_ID" type="hidden" value="<c:out value='${param.SalesRep_ID}'/>"/>
|
||||||
|
</c:if>
|
||||||
|
<c:if test='${empty param.SalesRep_ID}'>
|
||||||
|
<input name="SalesRep_ID" type="hidden" value="<c:out value='${webUser.salesRep_ID}'/>"/>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<label>From </label>
|
||||||
|
<c:out value='${webUser.name}'/> / <c:out value='${webUser.email}'/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="ID_RequestType" for="RequestType">Request Type</label>
|
||||||
|
<cws:requestType/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="ID_RequestType" for="RequestType">Optional Order Reference</label>
|
||||||
|
<cws:requestOrder bpartnerID='${webUser.bpartnerID}'/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<!--<label id="ID_Summary" for="Summary">Question - Issue - Request:</label>-->
|
||||||
|
<label> </label>
|
||||||
|
<input name="Confidential" type="checkbox" id="Confidential" value="Confidential"> Confidential Information
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<legend>Summary</legend>
|
||||||
|
<textarea name="Summary" cols="80" rows="8" id="ID_Summary" class="wideText"></textarea>
|
||||||
|
<div class="entryNote">
|
||||||
|
Summary: 1500 characters max
|
||||||
|
<br/>
|
||||||
|
Attachments: Click on the document number after submitting.
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
<div class="buttons">
|
||||||
|
<input name="Reset" type="reset" value="Reset"/>
|
||||||
|
<input name="Submit" type="submit" value="Submit">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,244 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=requests.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: requestDetails.jsp,v 1.3 2006/05/06 03:58:37 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Request Details
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - Request Details</title>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function validateRequest()
|
||||||
|
{
|
||||||
|
if(document.Request.Summary.value == '')
|
||||||
|
{
|
||||||
|
alert("Follow-Up field is mandatory.");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
function responseChanged()
|
||||||
|
{
|
||||||
|
var doingRequest = document.Request.Close.checked;
|
||||||
|
doingRequest |= document.Request.Escalate.checked;
|
||||||
|
doingRequest |= document.Request.Confidential.checked;
|
||||||
|
doingRequest |= (document.Request.Summary.value != '');
|
||||||
|
setAttachmentDisabled(doingRequest);
|
||||||
|
}
|
||||||
|
function attachmentChanged()
|
||||||
|
{
|
||||||
|
setResponseDisabled( document.fileLoad.file.value != '' );
|
||||||
|
}
|
||||||
|
function setResponseDisabled(disabled)
|
||||||
|
{
|
||||||
|
document.Request.Close.disabled = disabled;
|
||||||
|
document.Request.Escalate.disabled = disabled;
|
||||||
|
document.Request.Confidential.disabled = disabled;
|
||||||
|
document.Request.Summary.disabled = disabled;
|
||||||
|
document.Request.Reset.disabled = disabled;
|
||||||
|
document.Request.Submit.disabled = disabled;
|
||||||
|
document.getElementById("responseDisabled").style.display=(disabled?"block":"none");
|
||||||
|
}
|
||||||
|
function setAttachmentDisabled(disabled)
|
||||||
|
{
|
||||||
|
document.fileLoad.file.disabled = disabled;
|
||||||
|
document.fileLoad.Submit.disabled = disabled;
|
||||||
|
document.getElementById("attachDisabled").style.display=(disabled?"block":"none");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<!-- Set Request ID and get Request -->
|
||||||
|
<c:set target='${info}' property='id' value='${param.R_Request_ID}' />
|
||||||
|
<c:set var='request' value='${info.request}' />
|
||||||
|
<c:if test='${empty request}'>
|
||||||
|
<c:set target='${info}' property='message' value='Request not found' />
|
||||||
|
<c:redirect url='requests.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<p><a href="request.jsp">New Request</a></p>
|
||||||
|
<h1>Request <c:out value='${request.documentNo}'/></h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><c:out value='${info.message}'/></p>
|
||||||
|
</c:if>
|
||||||
|
<fieldset>
|
||||||
|
<legend>Request</legend>
|
||||||
|
<table class="internalTable">
|
||||||
|
<tr><td colspan="3" class="lineItem">
|
||||||
|
<span class="emphasized">Summary</span>
|
||||||
|
<c:out value='${request.summary}'/>
|
||||||
|
<br/><br/>
|
||||||
|
</td></tr>
|
||||||
|
<tr>
|
||||||
|
<td class="lineItem">
|
||||||
|
<label>Type</label><c:out value='${request.requestTypeName}'/><br/>
|
||||||
|
<label>Category</label><c:out value='${request.categoryName}'/><br/>
|
||||||
|
<label>Group</label><c:out value='${request.groupName}'/><br/>
|
||||||
|
<label>Importance</label><c:out value='${request.priorityUserText}'/><br/>
|
||||||
|
<label>Priority</label><c:out value='${request.priorityText}'/><br/>
|
||||||
|
<label>Status</label><c:out value='${request.statusName}'/><br/>
|
||||||
|
<label>Result</label><c:out value='${request.result}'/><br/>
|
||||||
|
</td>
|
||||||
|
<td class="lineItem">
|
||||||
|
<label>Creation Date</label><fmt:formatDate value='${request.created}'/><br/>
|
||||||
|
<label>Created By</label><c:out value='${request.createdByName}'/><br/>
|
||||||
|
<label>Confidentiality</label><c:out value='${request.confidentialText}'/><br/>
|
||||||
|
<label>Resoultion Name</label><c:out value='${request.resolutionName}'/><br/>
|
||||||
|
<label>Resoultion Type</label><c:out value='${request.dueTypeText}'/><br/>
|
||||||
|
<label>Next Action</label><fmt:formatDate value='${request.dateNextAction}'/><br/>
|
||||||
|
</td>
|
||||||
|
<td class="lineItem">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Attachments</legend>
|
||||||
|
<c:if test='${not empty request.attachment}'>
|
||||||
|
<c:if test='${not empty request.attachment.textMsg}'>
|
||||||
|
<label><c:out value='${request.attachment.textMsg}'/></label>
|
||||||
|
</c:if>
|
||||||
|
<c:forEach items='${request.attachment.entries}' var='entry'>
|
||||||
|
<a href="requestServlet?R_Request_ID=<c:out value='${request.r_Request_ID}'/>&AttachmentIndex=<c:out value='${entry.index}'/>" target="_blank">
|
||||||
|
<c:out value='${entry.name}'/>
|
||||||
|
</a><br/>
|
||||||
|
</c:forEach>
|
||||||
|
</c:if>
|
||||||
|
</fieldset>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
|
<c:if test='${request.webCanUpdate}'>
|
||||||
|
<form method="post" name="Request" action="requestServlet" enctype="application/x-www-form-urlencoded"
|
||||||
|
onSubmit="return validateRequest()">
|
||||||
|
|
||||||
|
<input name="Source" type="hidden" value=""/>
|
||||||
|
<input name="Info" type="hidden" value=""/>
|
||||||
|
<script language="Javascript">
|
||||||
|
document.Request.Source.value=document.referrer;
|
||||||
|
document.Request.Info.value=document.lastModified;
|
||||||
|
</script>
|
||||||
|
<input name="ForwardTo" type="hidden" value="<c:out value='${param.ForwardTo}'/>"/>
|
||||||
|
<input name="SalesRep_ID" type="hidden" value="<c:out value='${webUser.salesRep_ID}'/>"/>
|
||||||
|
<input name="R_Request_ID" type="hidden" id="R_Request_ID" value="<c:out value='${request.r_Request_ID}'/>" />
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<legend>Response</legend>
|
||||||
|
|
||||||
|
<label>From</label>
|
||||||
|
<c:out value='${webUser.name}'/> / <c:out value='${webUser.email}'/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Action</label>
|
||||||
|
<input name="Close" type="checkbox" id="Close" value="Close" onclick="responseChanged()">Close request
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label> </label>
|
||||||
|
<input name="Escalate" type="checkbox" id="Escalate" value="Escalate" onclick="responseChanged()">Escalate request
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label> </label>
|
||||||
|
<input name="Confidential" type="checkbox" id="Confidential" value="Confidential" onclick="responseChanged()">Confidential Information
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<legend>Follow-Up</legend>
|
||||||
|
<textarea name="Summary" cols="80" rows="8" id="ID_Summary" class="wideText" onkeyup="responseChanged()"></textarea>
|
||||||
|
<div class="entryNote">
|
||||||
|
Follow-Up: 1500 characters max; for longer text, submit as an attachment
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<div id="responseDisabled" class="disabledMsg">Response Form disabled due to Attach File Form being in use</div>
|
||||||
|
<div class="buttons">
|
||||||
|
<input name="Reset" type="reset" value="Reset" onclick="document.Request.reset();responseChanged();"/>
|
||||||
|
<input name="Submit" type="submit" value="Submit">
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
|
<form action="requestServlet" method="post" enctype="multipart/form-data" name="fileLoad" id="fileLoad" onreset="attachmentChanged()">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Attach File</legend>
|
||||||
|
<input name="R_Request_ID" type="hidden" id="R_Request_ID" value="<c:out value='${request.r_Request_ID}'/>">
|
||||||
|
<div id="attachDisabled" class="disabledMsg">Attach File Form disabled due to Response Form being in use</div>
|
||||||
|
<label for="file">File to Attach: </label>
|
||||||
|
<input name="file" type="file" id="file" size="40" onchange="attachmentChanged()" onkeyup="attachmentChanged()">
|
||||||
|
<input type="submit" name="Submit" value="Upload">
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
|
|
||||||
|
|
||||||
|
</c:if>
|
||||||
|
<p> </p>
|
||||||
|
<h3>History</h3>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Created</th>
|
||||||
|
<th>By</th>
|
||||||
|
<th>Result</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${request.updatesCustomer}' var='update' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${update.created}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${update.createdByName}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${update.result}'/> </td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Updated</th>
|
||||||
|
<th>By</th>
|
||||||
|
<th>Old Values</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${request.actions}' var='action' varStatus='status2'>
|
||||||
|
<jsp:useBean id="status2" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status2.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${action.created}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${action.createdByName}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${action.changesHTML}' escapeXml='false'/> </td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,62 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=requestTypes.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: requestTypes.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Request Types
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title>Request Types</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Request Types</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<p><a href="request.jsp">New Request</a></p>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Type</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Open</th>
|
||||||
|
<th>Total</th>
|
||||||
|
<th>New last 30 days</th>
|
||||||
|
<th>Closed last 30 days</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.requestTypes}' var='type' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="requestsAll.jsp?R_RequestType_ID=<c:out value='${type.r_RequestType_ID}'/>">
|
||||||
|
<c:out value='${type.name}'/></a></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${type.description}'/>–</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${type.openNo}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount"><c:out value='${type.totalNo}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${type.closed30No}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${type.new30No}'/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,156 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=requests.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: requests.jsp,v 1.6 2006/05/25 17:16:58 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Request Summary
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Requests</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Requests</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<p><a href="request.jsp">New Request</a></p>
|
||||||
|
|
||||||
|
<form action="javascript:void(0)" method="post" enctype="application/x-www-form-urlencoded" name="search" id="search">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Search</legend>
|
||||||
|
|
||||||
|
<table class="internalTable">
|
||||||
|
<tr>
|
||||||
|
<td class="lineItem">
|
||||||
|
<label for="RequestType_ID">Request Type</label>
|
||||||
|
<select name="RequestType_ID" id="ID_RequestType_ID">
|
||||||
|
<option value="0" selected="selected">ANY</option>
|
||||||
|
<option value="100">Request for Quotation</option>
|
||||||
|
<option value="101">Service Request</option>
|
||||||
|
<option value="102">Warranty</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label for="RefOrder_ID">Order Reference</label>
|
||||||
|
<cws:requestOrder bpartnerID='${webUser.bpartnerID}'/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Text in Summary</label>
|
||||||
|
<input type="text" name="Summary" id="ID_Summary"/>
|
||||||
|
</td>
|
||||||
|
<td class="lineItem">
|
||||||
|
<label>Confidential</label>
|
||||||
|
<select>
|
||||||
|
<option>ANY</option>
|
||||||
|
<option>Confidential Only</option>
|
||||||
|
<option>Non-Confidential Only</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Importance</label>
|
||||||
|
<select>
|
||||||
|
<option>ANY</option>
|
||||||
|
<option>Low</option>
|
||||||
|
<option>Medium</option>
|
||||||
|
<option>High</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Priority</label>
|
||||||
|
<select>
|
||||||
|
<option>ANY</option>
|
||||||
|
<option>Low</option>
|
||||||
|
<option>Medium</option>
|
||||||
|
<option>High</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Status</label>
|
||||||
|
<select>
|
||||||
|
<option>ANY</option>
|
||||||
|
<option>Open</option>
|
||||||
|
<option>Closed</option>
|
||||||
|
<option>Pending</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
<td class="lineItem">
|
||||||
|
<label>Attachments</label>
|
||||||
|
<select>
|
||||||
|
<option>ANY</option>
|
||||||
|
<option>Has Attachments Only</option>
|
||||||
|
<option>No Attachments Only</option>
|
||||||
|
</select>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Start Date</label>
|
||||||
|
<input type="text" size="8"/>
|
||||||
|
<img src="Calendar16.gif" border="0"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>End Date</label>
|
||||||
|
<input type="text" size="8"/>
|
||||||
|
<img src="Calendar16.gif" border="0"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label>Assigned</label>
|
||||||
|
<select>
|
||||||
|
<option>ANY</option>
|
||||||
|
<option>GardenAdmin</option>
|
||||||
|
<option>GardenUser</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<div class="buttons">
|
||||||
|
<input type="button" name="Search" value="Search Requests"/>
|
||||||
|
<input type="button" name="Reset" value="Reset"/>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Document No</th>
|
||||||
|
<th>Summary</th>
|
||||||
|
<th>Status</th>
|
||||||
|
<th>Assigned</th>
|
||||||
|
<th>Created</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.requestsOwn}' var='request' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="requestDetails.jsp?R_Request_ID=<c:out value='${request.r_Request_ID}'/>"><c:out value='${request.documentNo}'/></a></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${request.summary}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${request.statusName}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${request.salesRepName}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${request.created}'/> <c:out value='${request.createdByName}'/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,70 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=requestAlls.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<!-- Set Request Type ID and get Request Type -->
|
||||||
|
<c:if test='${empty param.R_RequestType_ID}'>
|
||||||
|
<c:set target='${info}' property='message' value='RequestType not found' />
|
||||||
|
<c:redirect url='requestTypes.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<c:set target='${info}' property='id' value='${param.R_RequestType_ID}' />
|
||||||
|
<c:set var='requestType' value='${info.requestType}' />
|
||||||
|
<c:if test='${empty requestType}'>
|
||||||
|
<c:set target='${info}' property='message' value='RequestType not found' />
|
||||||
|
<c:redirect url='requestTypes.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: requestsAll.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Type all Requests (Summary)
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title>- Requests: <c:out value='${requestType.name}'/></title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Requests: <c:out value='${requestType.name}'/></h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<p><a href="requestTypes.jsp">Request Types</a> - <a href="request.jsp">New Request</a></p>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Document No</th>
|
||||||
|
<th>Summary</th>
|
||||||
|
<th>Status</th>
|
||||||
|
<th>Assigned</th>
|
||||||
|
<th>Created</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${requestType.requests}' var='request' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="requestDetails.jsp?R_Request_ID=<c:out value='${request.r_Request_ID}'/>"><c:out value='${request.documentNo}'/></a></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${request.summary}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${request.statusName}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${request.salesRepName}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${request.created}'/> <c:out value='${request.createdByName}'/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,58 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=requests.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: requests_sr.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Orders
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - Assigned Requests</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Assigned Requests</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Document No</th>
|
||||||
|
<th>Summary</th>
|
||||||
|
<th>Status</th>
|
||||||
|
<th>Assigned</th>
|
||||||
|
<th>Created</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.requestsAssigned}' var='request' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="requestDetails.jsp?R_Request_ID=<c:out value='${request.r_Request_ID}'/>"><c:out value='${request.documentNo}'/></a></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${request.summary}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${request.statusName}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${request.salesRepName}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${request.created}'/> <c:out value='${request.createdByName}'/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,241 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=rfqs.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: rfqDetails.jsp,v 1.2 2006/05/06 00:41:32 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store RfQ Dateils
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My RfQ Details</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<!-- Set RfQ ID and get RfQ -->
|
||||||
|
<c:set target='${info}' property='id' value='${param.C_RfQ_ID}' />
|
||||||
|
<c:set var='rfqResponse' value='${info.rfQResponse}' />
|
||||||
|
<c:if test='${empty rfqResponse}'>
|
||||||
|
<c:set target='${info}' property='message' value='No RfQ Response' />
|
||||||
|
<c:redirect url='rfqs.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<c:set var='rfq' value='${rfqResponse.rfQ}' />
|
||||||
|
<c:if test='${empty rfq}'>
|
||||||
|
<c:set target='${info}' property='message' value='RfQ not found' />
|
||||||
|
<c:redirect url='rfqs.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My RfQ Details: <c:out value='${rfq.name}'/></h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<form action="rfqServlet" method="post" enctype="application/x-www-form-urlencoded" name="RfQResponse">
|
||||||
|
<fieldset>
|
||||||
|
<legend>RfQ Summary</legend>
|
||||||
|
<input name="C_RfQ_ID" type="hidden" value="<c:out value='${rfqResponse.c_RfQ_ID}'/>"/>
|
||||||
|
<input name="C_RfQResponse_ID" type="hidden" value="<c:out value='${rfqResponse.c_RfQResponse_ID}'/>"/>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Details</th>
|
||||||
|
<th>Response</th>
|
||||||
|
<th>Work Start</th>
|
||||||
|
<th colspan="4">Delivery</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="oddRow lineItem">
|
||||||
|
<c:out value='${rfq.name}'/>
|
||||||
|
<br/>
|
||||||
|
<input name="Name" type="text" id="Name" value="<c:out value='${rfqResponse.name}'/>">
|
||||||
|
</td>
|
||||||
|
<td class="oddRow lineItem">
|
||||||
|
<c:out value='${rfq.description}'/>
|
||||||
|
<br/>
|
||||||
|
<textarea name="Description" rows="3" id="Description"><c:out value='${rfqResponse.description}'/></textarea>
|
||||||
|
</td>
|
||||||
|
<td class="oddRow lineItem">
|
||||||
|
<c:out value='${rfq.help}'/>
|
||||||
|
<c:if test='${rfq.pdfAttachment}'>
|
||||||
|
<br>
|
||||||
|
<a href="rfqServlet/RfQ_<c:out value='${rfq.c_RfQ_ID}'/>.pdf?C_RfQ_ID=<c:out value='${rfq.c_RfQ_ID}'/>" target="_blank"><img src="pdf.gif" alt="Get Report" width="30" height="30" border="0"></a>
|
||||||
|
</c:if>
|
||||||
|
<br/>
|
||||||
|
<textarea name="Help" rows="3" id="Help"><c:out value='${rfqResponse.help}'/></textarea> </td>
|
||||||
|
<td class="oddRow lineItem">
|
||||||
|
By <fmt:formatDate value='${rfq.dateResponse}' dateStyle='short'/>
|
||||||
|
<br/>
|
||||||
|
<fmt:formatDate value='${rfqResponse.dateResponse}' dateStyle='short'/>
|
||||||
|
<br>Total: <input name="Price" type="text" id="Price" value="<fmt:formatNumber value='${rfqResponse.price}' type='currency' currencySymbol=''/>" size="15">
|
||||||
|
</td>
|
||||||
|
<td class="oddRow lineItem">
|
||||||
|
<fmt:formatDate value='${rfq.dateWorkStart}' dateStyle='short'/>
|
||||||
|
<br/>
|
||||||
|
<input name="DateWorkStart" type="text" id="DateWorkStart" value="<fmt:formatDate value='${rfqResponse.dateWorkStart}' dateStyle='short'/>" size="12">
|
||||||
|
</td>
|
||||||
|
<td class="oddRow lineItem">
|
||||||
|
<fmt:formatDate value='${rfq.dateWorkComplete}' dateStyle='short'/>
|
||||||
|
<br/>
|
||||||
|
<input name="DateWorkComplete" type="text" id="DateWorkComplete" value="<fmt:formatDate value='${rfqResponse.dateWorkComplete}' dateStyle='short'/>" size="12">
|
||||||
|
</td>
|
||||||
|
<td class="oddRow lineItem">
|
||||||
|
-
|
||||||
|
<br/>
|
||||||
|
-
|
||||||
|
</td>
|
||||||
|
<td class="oddRow lineItem">
|
||||||
|
<c:out value='${rfq.deliveryDays}'/>
|
||||||
|
<br/>
|
||||||
|
<input name="DeliveryDays" type="text" id="DeliveryDays" value="<c:out value='${rfqResponse.deliveryDays}'/>" size="4" maxlength="4">
|
||||||
|
</td>
|
||||||
|
<td class="oddRow lineItem">
|
||||||
|
days
|
||||||
|
<br/>
|
||||||
|
days
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<legend>Line Items</legend>
|
||||||
|
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>#</th>
|
||||||
|
<th>Product</th>
|
||||||
|
<th colspan="2">Line Details</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${rfqResponse.lines}' var='line' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<c:set var='rfqLine' value='${line.rfQLine}' />
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' /> lineItem">
|
||||||
|
<c:out value="${rfqLine.line}" />
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> lineItem">
|
||||||
|
<c:out value='${rfqLine.productDetailHTML}' escapeXml='false'/>
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> lineItem">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Timeline</legend>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>Work Start</th>
|
||||||
|
<th colspan="4">Delivery</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<fmt:formatDate value='${rfqLine.dateWorkStart}' dateStyle='short'/>
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<fmt:formatDate value='${rfqLine.dateWorkComplete}' dateStyle='short'/>
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
-
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<c:out value='${rfqLine.deliveryDays}'/>
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
days
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<input name="DateWorkStart_<c:out value='${line.c_RfQResponseLine_ID}'/>" type="text" id="DateWorkStart" value="<fmt:formatDate value='${line.dateWorkStart}' dateStyle='short'/>" size="12">
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<input name="DateWorkComplete_<c:out value='${line.c_RfQResponseLine_ID}'/>" type="text" id="DateWorkComplete" value="<fmt:formatDate value='${line.dateWorkComplete}' dateStyle='short'/>" size="12">
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
-
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<input name="DeliveryDays_<c:out value='${line.c_RfQResponseLine_ID}'/>" type="text" id="DeliveryDays" value="<c:out value='${line.deliveryDays}'/>" size="4" maxlength="4">
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
days
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<legend>Line Quantities</legend>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>UOM</th>
|
||||||
|
<th>Quantity</th>
|
||||||
|
<c:if test='${not rfq.quoteTotalAmtOnly}'>
|
||||||
|
<th>Price</th>
|
||||||
|
<th>Discount</th>
|
||||||
|
</c:if>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${line.qtys}' var='qty'>
|
||||||
|
<c:set var='rfqQty' value='${qty.rfQLineQty}'/>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />">
|
||||||
|
<c:out value='${rfqQty.uomName}'/>
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> quantity">
|
||||||
|
<c:out value='${rfqQty.qty}'/>
|
||||||
|
</td>
|
||||||
|
<c:if test='${not rfq.quoteTotalAmtOnly}'>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount">
|
||||||
|
<input name="Price_<c:out value='${qty.c_RfQResponseLineQty_ID}'/>" type="text" id="Price" value="<fmt:formatNumber value='${qty.price}' type='currency' currencySymbol=''/>" size="15">
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> amount">
|
||||||
|
<input name="Discount_<c:out value='${qty.c_RfQResponseLineQty_ID}'/>" type="text" id="Discount" value="<c:out value='${qty.discount}'/>" size="15">
|
||||||
|
</td>
|
||||||
|
</c:if>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
</fieldset>
|
||||||
|
</td>
|
||||||
|
<td class="<c:out value='${rowClass}' /> lineItem wideText">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Product Description</legend>
|
||||||
|
<c:out value='${rfqLine.description}'/>
|
||||||
|
<br/>
|
||||||
|
<textarea class="wideText" name="Description_<c:out value='${line.c_RfQResponseLine_ID}'/>" rows="3" id="Description"><c:out value='${line.description}'/></textarea>
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<legend>Product Details</legend>
|
||||||
|
<c:out value='${rfqLine.help}'/>
|
||||||
|
<br>
|
||||||
|
<textarea class="wideText" name="Help_<c:out value='${line.c_RfQResponseLine_ID}'/>" rows="3" id="Help"><c:out value='${line.help}'/></textarea>
|
||||||
|
</fieldset>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
</fieldset>
|
||||||
|
<div class="buttons">
|
||||||
|
<input type="checkbox" name="IsComplete" value="IsComplete" id="IsComplete"> Complete
|
||||||
|
<br/>
|
||||||
|
<input name="Submit" type="submit" id="Submit" value="Submit">
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,61 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=rfqs.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: rfqs.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2004 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store RfQs
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My RfQs</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My RfQ's</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Desciption</th>
|
||||||
|
<th>Details</th>
|
||||||
|
<th>Response by</th>
|
||||||
|
<th>Work Start</th>
|
||||||
|
<th>Delivery</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.rfQs}' var='rfq' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><a href="rfqDetails.jsp?C_RfQ_ID=<c:out value='${rfq.c_RfQ_ID}'/>"><c:out value='${rfq.name}'/></a></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${rfq.description}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${rfq.help}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${rfq.dateResponse}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${rfq.dateWorkStart}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${rfq.dateWorkComplete}'/> - <c:out value='${rfq.deliveryDays}'/> days</td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1 @@
|
||||||
|
User-agent: *
|
|
@ -0,0 +1,54 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=shipments.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: shipments.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Orders
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Shipments</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Shipments</h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Document No</th>
|
||||||
|
<th>Status</th>
|
||||||
|
<th>Date</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.shipments}' var='shipment' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${shipment.documentNo}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${shipment.docStatusName}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${shipment.movementDate}'/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,3 @@
|
||||||
|
/** Adempiere Web Store (c) Jorg Janke */
|
||||||
|
/** $Id$ */
|
||||||
|
|
|
@ -0,0 +1,272 @@
|
||||||
|
/** Adempiere Web Store (c) Jorg Janke */
|
||||||
|
/** $Id$ */
|
||||||
|
|
||||||
|
html{
|
||||||
|
}
|
||||||
|
body{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #000000;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
#page{
|
||||||
|
}
|
||||||
|
#main {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
#menu{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.menuDetail{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.menuDetail:hover{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.menuMain{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.menuMain:hover{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.menuSub{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.menuSub:hover{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#content {
|
||||||
|
position: absolute;
|
||||||
|
left: 0px;
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
vertical-align: top;
|
||||||
|
padding: 5px;
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
#vendorUse{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.contentTable{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
width: 100%;
|
||||||
|
padding: 2px;
|
||||||
|
}
|
||||||
|
.internalTable{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
width: 100%;
|
||||||
|
padding: 2px;
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
.adTable{
|
||||||
|
width: 100%;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
.oddRow{
|
||||||
|
background-color: #EEEEEE;
|
||||||
|
}
|
||||||
|
.evenRow{
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.amount{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.quantity{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.numeric{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
#footer{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#footerParam4{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#footerParam5{
|
||||||
|
text-align: center;
|
||||||
|
display:inline;
|
||||||
|
}
|
||||||
|
#footerParam6{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#header{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#headerIcon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#headerIcon img{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#headerContent {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#headerMenu {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: x-large;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
font-size: large;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
h3 {
|
||||||
|
font-size: medium;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
h4 {
|
||||||
|
font-size: medium;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
h5 {
|
||||||
|
font-size: medium;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
h6 {
|
||||||
|
font-size: larger;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
hr {
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
#menu a {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#menu a:hover {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
th, legend {
|
||||||
|
color: #EEEEEE;
|
||||||
|
border: 1px;
|
||||||
|
border-color: #CCCCCC;
|
||||||
|
border-style: outset;
|
||||||
|
background-color: #006699;
|
||||||
|
text-align: left;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
caption {
|
||||||
|
text-align: left;
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
.error{
|
||||||
|
border: 1px solid #FF4A4A;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
form{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
fieldset{
|
||||||
|
border: 0px solid #AAAAAA;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
label{
|
||||||
|
clear: left;
|
||||||
|
width: 35%;
|
||||||
|
float: left;
|
||||||
|
text-align: right;
|
||||||
|
margin-right: 0.8em;
|
||||||
|
display: block;
|
||||||
|
font-weight: bold;
|
||||||
|
vertical-align: baseline;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
input{
|
||||||
|
/* color: #781351;*/
|
||||||
|
/* background: #fee3ad;*/
|
||||||
|
/* border: #000000;*/
|
||||||
|
}
|
||||||
|
select{
|
||||||
|
color: #000000;
|
||||||
|
background: #ffffff;
|
||||||
|
border: 1px solid #CCCCCC;
|
||||||
|
}
|
||||||
|
.mandatory{
|
||||||
|
background:#FFFF99;
|
||||||
|
}
|
||||||
|
input.disabled{
|
||||||
|
border: 0px;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
.buttons{
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
.Cbasket{
|
||||||
|
font-size: 9px;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
#imgButton{
|
||||||
|
border-style:outset;
|
||||||
|
}
|
||||||
|
#imgButtonPressed{
|
||||||
|
border-style:inset;
|
||||||
|
}
|
||||||
|
#status{
|
||||||
|
background-color: #fff8dc;
|
||||||
|
color: #000000;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#validationInfo{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#visaBox{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#amexBox{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.availProduct{
|
||||||
|
/* comment out next line to show the Availability column */
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
label#productSearch{
|
||||||
|
width:150px;
|
||||||
|
float: left;
|
||||||
|
text-align: right;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.nobr{
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.wideText{
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
.lineItem{
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.entryNote{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #666666;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.emphasized{
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.disabledMsg{
|
||||||
|
display: none;
|
||||||
|
font-style: italic;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#fileLoad{
|
||||||
|
display: none;
|
||||||
|
}
|
|
@ -0,0 +1,380 @@
|
||||||
|
/** Adempiere Web Store (c) Jorg Janke */
|
||||||
|
/** $Id: standard.css,v 1.6 2006/05/15 23:02:35 mdeaelfweald Exp $ */
|
||||||
|
|
||||||
|
html{
|
||||||
|
}
|
||||||
|
body{
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
color: #333333;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
#page{
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
#main {
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
clear: both;
|
||||||
|
width: 100%;
|
||||||
|
border: 0px;
|
||||||
|
border-collapse: collapse;
|
||||||
|
|
||||||
|
}
|
||||||
|
#menu{
|
||||||
|
vertical-align: top;
|
||||||
|
text-align: left;
|
||||||
|
background: #ffffff url("fade.jpg") no-repeat fixed;
|
||||||
|
width: 129px;
|
||||||
|
float: left;
|
||||||
|
padding-top: 5px;
|
||||||
|
}
|
||||||
|
#content {
|
||||||
|
vertical-align: top;
|
||||||
|
left: 130px;
|
||||||
|
right: 0px;
|
||||||
|
margin-right: 0px;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
border-color: #CCCCCC;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px 0px 1px 1px;
|
||||||
|
padding: 5px;
|
||||||
|
position: absolute;
|
||||||
|
min-width: 730px;
|
||||||
|
}
|
||||||
|
#vendorUse{
|
||||||
|
vertical-align:top;
|
||||||
|
text-align:right;
|
||||||
|
width: 0px;
|
||||||
|
float: right;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.contentTable{
|
||||||
|
width: 100%;
|
||||||
|
border: 1px;
|
||||||
|
border-spacing: 2px;
|
||||||
|
padding: 2px;
|
||||||
|
border-color: #CCCCCC;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.internalTable{
|
||||||
|
width: 100%;
|
||||||
|
padding: 2px;
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
.adTable{
|
||||||
|
width: 100%;
|
||||||
|
border: 1px;
|
||||||
|
border-spacing: 1px;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
.oddRow{
|
||||||
|
background-color: #EEEEEE;
|
||||||
|
}
|
||||||
|
.evenRow{
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.amount{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.quantity{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.numeric{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
#footer{
|
||||||
|
background-color:#FFFFFF;
|
||||||
|
width: 100%;
|
||||||
|
border: 0px;
|
||||||
|
border-collapse: collapse;
|
||||||
|
padding: 3px;
|
||||||
|
white-space: nowrap;
|
||||||
|
min-width: 730px;
|
||||||
|
}
|
||||||
|
#footerParam4{
|
||||||
|
width: 130px;
|
||||||
|
text-align: left;
|
||||||
|
display:inline;
|
||||||
|
float: left;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
#footerParam5{
|
||||||
|
text-align: left;
|
||||||
|
display:inline;
|
||||||
|
float: left;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
#footerParam6{
|
||||||
|
text-align: right;
|
||||||
|
display:inline;
|
||||||
|
float: right;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
#header{
|
||||||
|
background-color:#FFFFFF;
|
||||||
|
background-image: url("AdempiereSKY.jpg");
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
height: 75px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
#headerIcon {
|
||||||
|
width: 130px;
|
||||||
|
text-align: left;
|
||||||
|
float: left;
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
#headerIcon img{
|
||||||
|
width: 130px;
|
||||||
|
height: 75px;
|
||||||
|
border-style: none;
|
||||||
|
border-width: 0px;
|
||||||
|
}
|
||||||
|
#headerContent {
|
||||||
|
text-align: left;
|
||||||
|
margin-right: 240px;
|
||||||
|
white-space: nowrap;
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
left: 131px;
|
||||||
|
}
|
||||||
|
#headerMenu {
|
||||||
|
text-align: right;
|
||||||
|
width: 240px;
|
||||||
|
float: right;
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #000066;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
color: #003366;
|
||||||
|
font-size: x-large;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
color: #333333;
|
||||||
|
font-size: large;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
h3 {
|
||||||
|
color: #006699;
|
||||||
|
font-size: medium;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
h4 {
|
||||||
|
color: #6600CC;
|
||||||
|
font-size: medium;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
h5 {
|
||||||
|
color: #660099;
|
||||||
|
font-size: medium;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
h6 {
|
||||||
|
font-size: larger;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
hr {
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
th {
|
||||||
|
color: #EEEEEE;
|
||||||
|
border: 1px;
|
||||||
|
border-color: #CCCCCC;
|
||||||
|
border-style: outset;
|
||||||
|
background-color: #006699;
|
||||||
|
text-align: left;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
caption {
|
||||||
|
color: #660099;
|
||||||
|
text-align: left;
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
.menuDetail{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-left: 20px;
|
||||||
|
padding-top: 0;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.menuDetail:hover{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-left: 20px;
|
||||||
|
padding-top: 0;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
.menuMain{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 16px;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
.menuMain:hover{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 16px;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: underline;
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
.menuSub{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
padding-left: 10px;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.menuSub:hover{
|
||||||
|
color: #006699;
|
||||||
|
font-family: Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
padding-left: 10px;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
.error{
|
||||||
|
border: 1px solid #FF4A4A;
|
||||||
|
color: #FF0000;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
form{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
fieldset{
|
||||||
|
border: 1px solid #AAAAAA;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
legend{
|
||||||
|
color: #003366;
|
||||||
|
background: #EEEEEE;
|
||||||
|
border: 1px solid #999999;
|
||||||
|
padding: 2px 6px;
|
||||||
|
}
|
||||||
|
label{
|
||||||
|
clear: left;
|
||||||
|
width: 35%;
|
||||||
|
float: left;
|
||||||
|
text-align: right;
|
||||||
|
margin-right: 0.8em;
|
||||||
|
display: block;
|
||||||
|
font-weight: bold;
|
||||||
|
vertical-align: baseline;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
input{
|
||||||
|
/* color: #781351;*/
|
||||||
|
/* background: #fee3ad;*/
|
||||||
|
/* border: #000000;*/
|
||||||
|
}
|
||||||
|
select{
|
||||||
|
color: #000000;
|
||||||
|
background: #ffffff;
|
||||||
|
border: 1px solid #CCCCCC;
|
||||||
|
}
|
||||||
|
.mandatory{
|
||||||
|
background:#FFFF99;
|
||||||
|
}
|
||||||
|
input.disabled{
|
||||||
|
border: 0px;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
.buttons{
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
.Cbasket{
|
||||||
|
font-size: 9px;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
#imgButton{
|
||||||
|
border-style:outset;
|
||||||
|
}
|
||||||
|
#imgButtonPressed{
|
||||||
|
border-style:inset;
|
||||||
|
}
|
||||||
|
#status{
|
||||||
|
background-color: #fff8dc;
|
||||||
|
color: #000000;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#validationInfo{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#visaBox{
|
||||||
|
width: 40%;
|
||||||
|
float:left;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
#amexBox{
|
||||||
|
width: 40%;
|
||||||
|
float:right;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.availProduct{
|
||||||
|
/* comment out next line to show the Availability column */
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
label#productSearch{
|
||||||
|
width:150px;
|
||||||
|
float: left;
|
||||||
|
text-align: right;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.nobr{
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.wideText{
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
.lineItem{
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.entryNote{
|
||||||
|
font-size: small;
|
||||||
|
color: #666666;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.emphasized{
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.disabledMsg{
|
||||||
|
display: none;
|
||||||
|
font-style: italic;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.tableNav
|
||||||
|
{
|
||||||
|
vertical-align: top;
|
||||||
|
text-align: left;
|
||||||
|
width: 100%;
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=template.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: template.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Template
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - My Template</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>My Template </h1>
|
||||||
|
<c:if test='${not empty info.info}'>
|
||||||
|
<p><b><c:out value='${info.message}'/></b></p>
|
||||||
|
</c:if>
|
||||||
|
<table class="contentTable">
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Date</th>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items='${info.template}' var='asset' varStatus='status'>
|
||||||
|
<jsp:useBean id="status" type="javax.servlet.jsp.jstl.core.LoopTagStatus" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="<%= status.getCount() %2 == 0 %>">
|
||||||
|
<c:set var="rowClass" value="evenRow"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:set var="rowClass" value="oddRow"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<tr>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${asset.name}'/></td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><c:out value='${asset.description}'/> </td>
|
||||||
|
<td class="<c:out value='${rowClass}' />"><fmt:formatDate value='${asset.guaranteeDate}'/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
<p> </p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,74 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: test_1.jsp,v 1.2 2006/05/06 00:41:33 mdeaelfweald Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Store Interest Area
|
||||||
|
-->
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/>- My Test Area</title>
|
||||||
|
</head>
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content"><h1>WebStore Links</h1>
|
||||||
|
<p>Add Product to Web Store: <a href="/wstore/basketServlet?M_Product_ID=128">test Az</a> - <a href="/wstore/basketServlet?M_Product_ID=123">test Oak</a></p>
|
||||||
|
<p>Create Request for Sales Rep: <a href="/wstore/request.jsp?SalesRep_ID=102">test GU </a> - <a href="/wstore/request.jsp?SalesRep_ID=101">test GA</a></p>
|
||||||
|
<h1>EL Test</h1>
|
||||||
|
<p>\${1.2 + 2.3} = ${1.2 + 2.3}</p>
|
||||||
|
<h1>Test for Each</h1>
|
||||||
|
<c:forEach var="i" begin="1" end="10" step="1"> <c:out value='${i}'/> <br />
|
||||||
|
</c:forEach>
|
||||||
|
<h1>Form</h1>
|
||||||
|
<form name="form1" method="post" action="">
|
||||||
|
<p>
|
||||||
|
<input name="myField" type="text" id="myField">
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<textarea name="myText" id="myText"></textarea>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<select name="myList" size="1" id="myList">
|
||||||
|
<option value="1">1</option>
|
||||||
|
<option value="2">2</option>
|
||||||
|
<option value="3">3</option>
|
||||||
|
</select>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<input type="submit" name="Submit" value="Submit">
|
||||||
|
</p>
|
||||||
|
</form>
|
||||||
|
<h1>Table</h1>
|
||||||
|
<table border="1" cellspacing="2" cellpadding="2" summary="Summary">
|
||||||
|
<caption>
|
||||||
|
caption
|
||||||
|
</caption>
|
||||||
|
<tr>
|
||||||
|
<th scope="col">c1</th>
|
||||||
|
<th width="10" nowrap scope="col">c2</th>
|
||||||
|
<th scope="col">c3</th>
|
||||||
|
<th scope="col">c4</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>c1</td>
|
||||||
|
<td width="10" nowrap>c2</td>
|
||||||
|
<td>c3</td>
|
||||||
|
<td>c4</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>c1</td>
|
||||||
|
<td width="10" nowrap>c2</td>
|
||||||
|
<td>c3</td>
|
||||||
|
<td>c4</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<p> </p></div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
|
@ -0,0 +1,203 @@
|
||||||
|
<%@ include file="/WEB-INF/jspf/page.jspf" %>
|
||||||
|
<c:if test='${empty webUser || !webUser.loggedIn}'>
|
||||||
|
<c:redirect url='loginServlet?ForwardTo=update.jsp'/>
|
||||||
|
</c:if>
|
||||||
|
<html>
|
||||||
|
<!--
|
||||||
|
- Author: Jorg Janke
|
||||||
|
- Version: $Id: update.jsp,v 1.3 2006/05/07 18:11:51 jjanke Exp $
|
||||||
|
- Adempiere ERP & CRM Smart Business Solution - Copyright (c) 1999-2003 Jorg Janke
|
||||||
|
- - -
|
||||||
|
- Web Update
|
||||||
|
-->
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<%@ include file="/WEB-INF/jspf/head.jspf" %>
|
||||||
|
<title><c:out value='${ctx.name}'/> - Update</title>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function validateEMail()
|
||||||
|
{
|
||||||
|
if(document.UpdateEMail.EMail.value == document.UpdateEMail.EMailNew.value)
|
||||||
|
{
|
||||||
|
alert("Change of EMail requires Old and New EMail addresses.")
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if(document.UpdateEMail.EMailNew.value != document.UpdateEMail.EMailConfirm.value)
|
||||||
|
{
|
||||||
|
alert("New EMail Address and Confirm New EMail Address do not match.");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
function validatePassword()
|
||||||
|
{
|
||||||
|
if(document.UpdatePassword.Password.value == document.UpdatePassword.PasswordNew.value)
|
||||||
|
{
|
||||||
|
alert("Change of Password required Old and New Passwords");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if(document.UpdatePassword.PasswordNew.value != document.UpdatePassword.PasswordConfirm.value)
|
||||||
|
{
|
||||||
|
alert("New Password and Confirm New Password do not match.");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
function validateAddress()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body><div id="page">
|
||||||
|
<%@ include file="/WEB-INF/jspf/header.jspf" %>
|
||||||
|
<div id="main">
|
||||||
|
<%@ include file="/WEB-INF/jspf/menu.jspf" %>
|
||||||
|
<%@ include file="/WEB-INF/jspf/vendor.jspf" %>
|
||||||
|
<div id="content">
|
||||||
|
<h1>User Information</h1>
|
||||||
|
<form action="updateServlet" method="post" enctype="application/x-www-form-urlencoded" name="UpdateEMail" target="_top" onSubmit="return validateEMail()">
|
||||||
|
<fieldset>
|
||||||
|
<legend><cws:message txt="Change EMail"/></legend>
|
||||||
|
<input name="AD_Client_ID" type="hidden" value='<c:out value="${initParam.#AD_Client_ID}" default="0"/>'/>
|
||||||
|
<input name="Source" type="hidden" value=""/>
|
||||||
|
<input name="Info" type="hidden" value=""/>
|
||||||
|
<input name="Mode" type="hidden" value="email"/>
|
||||||
|
<script language="Javascript">
|
||||||
|
document.UpdateEMail.Source.value = document.referrer;
|
||||||
|
document.UpdateEMail.Info.value = document.lastModified;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<label><cws:message txt="Old EMail Address"/></label>
|
||||||
|
<input class="mandatory" size="40" value='<c:out value="${webUser.email}"/>' name="EMail" maxlength="60" type="text"/>
|
||||||
|
<input name="validated" type="checkbox" value="validated" disabled
|
||||||
|
<c:if test='${webUser.EMailVerified}'> checked</c:if>> Address validated
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label title="Must be a valid EMail Address!!"><cws:message txt="New EMail Address"/></label>
|
||||||
|
<input class="mandatory" size="40" value='' name="EMailNew" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label><cws:message txt="Confirm New EMail Address"/></label>
|
||||||
|
<input class="mandatory" size="40" value='' name="EMailConfirm" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<c:if test="${not empty webUser.saveErrorMessage}">
|
||||||
|
<div class="error"><c:out value="${webUser.saveErrorMessage}"/></div>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<div class="buttons">
|
||||||
|
<input type="reset" name="Reset" value="Reset">
|
||||||
|
<input name="AddressConfirm" type="hidden" value="N">
|
||||||
|
<input type="submit" name="Submit" value="Submit New EMail Address"/>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<form action="updateServlet" method="post" enctype="application/x-www-form-urlencoded" name="UpdatePassword" target="_top" onSubmit="return validatePassword()">
|
||||||
|
<fieldset>
|
||||||
|
<legend><cws:message txt="Change Password"/></legend>
|
||||||
|
<input name="AD_Client_ID" type="hidden" value='<c:out value="${initParam.#AD_Client_ID}" default="0"/>'/>
|
||||||
|
<input name="Source" type="hidden" value=""/>
|
||||||
|
<input name="Info" type="hidden" value=""/>
|
||||||
|
<input name="Mode" type="hidden" value="password"/>
|
||||||
|
<script language="Javascript">
|
||||||
|
document.UpdatePassword.Source.value = document.referrer;
|
||||||
|
document.UpdatePassword.Info.value = document.lastModified;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<label id="LBL_Password" for="Password"><cws:message txt="Existing Password"/></label>
|
||||||
|
<input class="mandatory" size="20" type="password" id="ID_Password" value="" name="Password" maxlength="40"/>
|
||||||
|
<font color="#FF0000"> <c:out value="${webUser.passwordMessage}"/></font>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_PasswordNew" for="PasswordNew"><cws:message txt="New Password"/></label>
|
||||||
|
<input class="mandatory" size="20" id="ID_PasswordNew" value="" name="PasswordNew" maxlength="40" type="password"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_PasswordConfirm" for="PasswordConfirm"><cws:message txt="Confirm New Password"/></label>
|
||||||
|
<input class="mandatory" size="20" id="ID_PasswordConfirm" value="" name="PasswordConfirm" maxlength="40" type="password"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<c:if test="${not empty webUser.saveErrorMessage}">
|
||||||
|
<div class="error"><c:out value="${webUser.saveErrorMessage}"/></div>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<div class="buttons">
|
||||||
|
<input type="reset" name="Reset" value="Reset">
|
||||||
|
<input type="submit" name="Submit" value="Submit New Password"/>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<form action="updateServlet" method="post" enctype="application/x-www-form-urlencoded" name="UpdateAddress" target="_top" onSubmit="return validateAddress()">
|
||||||
|
<fieldset>
|
||||||
|
<legend><cws:message txt="Change Contact Information"/></legend>
|
||||||
|
|
||||||
|
<input name="AD_Client_ID" type="hidden" value='<c:out value="${initParam.#AD_Client_ID}" default="0"/>'/>
|
||||||
|
<input name="Source" type="hidden" value=""/>
|
||||||
|
<input name="Info" type="hidden" value=""/>
|
||||||
|
<input name="Mode" type="hidden" value="address"/>
|
||||||
|
<script language="Javascript">
|
||||||
|
document.UpdateAddress.Source.value = document.referrer;
|
||||||
|
document.UpdateAddress.Info.value = document.lastModified;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<label id="LBL_Name" for="Name">Name</label>
|
||||||
|
<input class="mandatory" size="40" id="ID_Name" value="<c:out value='${webUser.name}'/>" name="Name" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Company" for="Company">Company</label>
|
||||||
|
<input size="40" id="ID_Company" value="<c:out value='${webUser.company}'/>" name="Company" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Title" for="Title">Title</label>
|
||||||
|
<input size="40" id="ID_Title" value='<c:out value="${webUser.title}"/>' name="Title" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Address" for="Address">Address</label>
|
||||||
|
<input class="mandatory" size="40" id="ID_Address" value="<c:out value='${webUser.address}'/>" name="Address" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Address2" for="Address2">Address2</label>
|
||||||
|
<input size="40" id="ID_Address2" value='<c:out value="${webUser.address2}"/>' name="Address2" maxlength="60" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<cws:location countryID='${webUser.countryID}' regionID='${webUser.regionID}' regionName='${webUser.regionName}'
|
||||||
|
city='${webUser.city}' postal='${webUser.postal}'/>
|
||||||
|
|
||||||
|
<label id="LBL_Phone" for="Phone">Phone</label>
|
||||||
|
<input size="20" id="ID_Phone" value='<c:out value="${webUser.phone}"/>' name="Phone" maxlength="20" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<label id="LBL_Fax" for="Fax">Fax</label>
|
||||||
|
<input size="20" id="ID_Fax" value='<c:out value="${webUser.fax}"/>' name="Fax" maxlength="20" type="text"/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<c:if test="${not empty webUser.saveErrorMessage}">
|
||||||
|
<div class="error"><c:out value="${webUser.saveErrorMessage}"/></div>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<div class="buttons">
|
||||||
|
<input type="reset" name="Reset" value="Reset">
|
||||||
|
<input name="AddressConfirm" type="hidden" id="AddressConfirm" value="N">
|
||||||
|
<input type="submit" name="Submit" id="Submit" value="Submit New Contact Information"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
<div id="processingDiv" style="display:none"><strong>Processing ...</strong></div>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<div align="center">Enter all <b class="mandatory">mandatory</b> data, for any specific section. </div>
|
||||||
|
|
||||||
|
<p> </p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="/WEB-INF/jspf/footer.jspf" %>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1003 B |