Configure ZK Pivottable JSP Tag"
From Documentation
(Created page with "{{ZKPivottableEssentialsPageHeader}} __TOC__ ===Downloads=== * Download [http://www.zkoss.org/download/zk.dsp ZK Framework] binaries. * Download [http://www.zkoss.org/downloa...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
__TOC__ | __TOC__ | ||
+ | |||
+ | Before using pivottable in your JSP pages, you would need to download a few library jars, and make some configuration changes to your project. | ||
===Downloads=== | ===Downloads=== | ||
Line 11: | Line 13: | ||
===Configuration=== | ===Configuration=== | ||
# Configure your JSP web application to use ZK Framework, ZK Pivottable, ZK JSP Tags Library | # Configure your JSP web application to use ZK Framework, ZK Pivottable, ZK JSP Tags Library | ||
− | #* | + | #* copy the binaries into WEB-INF/lib - OR - |
− | #* | + | #* copy the binaries into the shared library folder of your web server - OR - |
− | #* | + | #* copy the binaries into one of the folders pointed to by your web application's classpath |
# Add <javadoc>org.zkoss.zk.au.http.DHtmlUpdateServlet</javadoc> and its mapping into '''web.xml''' as shown below | # Add <javadoc>org.zkoss.zk.au.http.DHtmlUpdateServlet</javadoc> and its mapping into '''web.xml''' as shown below | ||
<source lang="xml"> | <source lang="xml"> | ||
− | + | <servlet> | |
− | + | <description>The asynchronous update engine for ZK</description> | |
− | + | <servlet-name>auEngine</servlet-name> | |
− | + | <servlet-class>org.zkoss.zk.au.http.DHtmlUpdateServlet</servlet-class> | |
− | + | </servlet> | |
− | + | <servlet-mapping> | |
− | + | <servlet-name>auEngine</servlet-name> | |
− | + | <url-pattern>/zkau/*</url-pattern> | |
− | + | </servlet-mapping> | |
− | |||
− | |||
</source> | </source> | ||
+ | |||
+ | == Sample Application == | ||
+ | |||
+ | Please goto [https://github.com/leeyt/ZKSmalltalk/tree/master/zkpvtjsp/ github] for the complete source code of the sample application. | ||
+ | |||
+ | To build the sample war file, please enter '''mvn war:war''' at project root. | ||
+ | |||
+ | '''Last update:''' {{REVISIONYEAR}}/{{REVISIONMONTH}}/{{REVISIONDAY}} | ||
{{ZKPivottableEssentialsPageFooter}} | {{ZKPivottableEssentialsPageFooter}} |
Latest revision as of 07:54, 1 July 2013
Before using pivottable in your JSP pages, you would need to download a few library jars, and make some configuration changes to your project.
Downloads
- Download ZK Framework binaries.
- Download ZK Pivottable binaries.
- Download ZK JSP Tags Library binaries.
Configuration
- Configure your JSP web application to use ZK Framework, ZK Pivottable, ZK JSP Tags Library
- copy the binaries into WEB-INF/lib - OR -
- copy the binaries into the shared library folder of your web server - OR -
- copy the binaries into one of the folders pointed to by your web application's classpath
- Add DHtmlUpdateServlet and its mapping into web.xml as shown below
<servlet>
<description>The asynchronous update engine for ZK</description>
<servlet-name>auEngine</servlet-name>
<servlet-class>org.zkoss.zk.au.http.DHtmlUpdateServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>auEngine</servlet-name>
<url-pattern>/zkau/*</url-pattern>
</servlet-mapping>
Sample Application
Please goto github for the complete source code of the sample application.
To build the sample war file, please enter mvn war:war at project root.
Last update: 2013/07/1