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...")
 
m
Line 11: Line 11:
 
===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
#* copying the binaries into WEB-INF/lib - OR -
+
#* copy the binaries into WEB-INF/lib - OR -
#* copying the binaries into the shared library folder of your web server
+
#* copy the binaries into the shared library folder of your web server - OR -
#* copying the binaries into one of the folders pointed to by your web application's classpath
+
#* 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>
+
    <servlet>
  <description>
+
        <description>The asynchronous update engine for ZK</description>
  The asynchronous update engine for ZK</description>
+
        <servlet-name>auEngine</servlet-name>
  <servlet-name>auEngine</servlet-name>
+
        <servlet-class>org.zkoss.zk.au.http.DHtmlUpdateServlet</servlet-class>
  <servlet-class>
+
    </servlet>
  org.zkoss.zk.au.http.DHtmlUpdateServlet</servlet-class>
+
    <servlet-mapping>
  </servlet>
+
        <servlet-name>auEngine</servlet-name>
  <servlet-mapping>
+
        <url-pattern>/zkau/*</url-pattern>
  <servlet-name>auEngine</servlet-name>
+
    </servlet-mapping>
  <url-pattern>/zkau/*</url-pattern>
 
  </servlet-mapping>
 
 
</source>
 
</source>
 +
 +
'''Last update:''' {{REVISIONYEAR}}/{{REVISIONMONTH}}/{{REVISIONDAY}}
  
 
{{ZKPivottableEssentialsPageFooter}}
 
{{ZKPivottableEssentialsPageFooter}}

Revision as of 08:05, 10 May 2013

Configure ZK Pivottable JSP Tag



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>

Last update: 2013/05/10



Last Update : 2013/05/10

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