Configure ZK Pivottable JSP Tag"
From Documentation
m |
|||
(One intermediate revision 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 26: | Line 28: | ||
</servlet-mapping> | </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}} | '''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