Configure ZK Pivottable JSP Tag"

From Documentation
 
Line 28: 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

Configure ZK Pivottable JSP Tag



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

Configuration

  1. 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
  2. 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



Last Update : 2013/07/01

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.