Configure ZK Spreadsheet JSF Component"
From Documentation
(Created page with '{{ZKSpreadsheetEssentialsPageHeader}} __TOC__ ==Downloads== * [http://www.zkoss.org/download/zk.dsp Download ZK] 5.0.5 or later release binaries. * [http://www.zkoss.org/downloa…') |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ZKSpreadsheetEssentialsPageHeader}} | {{ZKSpreadsheetEssentialsPageHeader}} | ||
+ | |||
+ | |||
+ | {{Deprecated|url=http://books.zkoss.org/wiki/ZK_Spreadsheet_Essentials}} | ||
+ | |||
+ | |||
__TOC__ | __TOC__ | ||
− | ==Downloads== | + | {{ZSS EE}} |
+ | |||
+ | ===Downloads=== | ||
* [http://www.zkoss.org/download/zk.dsp Download ZK] 5.0.5 or later release binaries. | * [http://www.zkoss.org/download/zk.dsp Download ZK] 5.0.5 or later release binaries. | ||
− | * [http://www.zkoss.org/download/zkspreadsheet.dsp Download ZK Spreadsheet] 2.0 | + | * [http://www.zkoss.org/download/zkspreadsheet.dsp Download ZK Spreadsheet] 2.0 or later release binaries. and config it to be used as your JSF web application library by either directly copying into WEB-INF/lib or putting them on your web application classpath |
− | ==Configuration== | + | ===Configuration=== |
* Configure downloaded ZK & ZK Spreadsheet binaries as your JSF web application libraries by either directly copying into WEB-INF/lib or putting them on your web application classpath | * Configure downloaded ZK & ZK Spreadsheet binaries as your JSF web application libraries by either directly copying into WEB-INF/lib or putting them on your web application classpath | ||
− | * Add <code>org.zkoss.zk.au.http.DHtmlUpdateServlet</code> and its mapping into web.xml as shown below | + | * Add <code>org.zkoss.zk.ui.http.DHtmlLayoutServlet</code> and <code>org.zkoss.zk.au.http.DHtmlUpdateServlet</code> and its mapping into web.xml as shown below |
<source lang="xml"> | <source lang="xml"> | ||
+ | <servlet> | ||
+ | <description>ZK loader for evaluating ZUML pages</description> | ||
+ | <servlet-name>zkLoader</servlet-name> | ||
+ | <servlet-class>org.zkoss.zk.ui.http.DHtmlLayoutServlet</servlet-class> | ||
+ | <!-- | ||
+ | Must. Specifies URI of the update engine (DHtmlUpdateServlet). It | ||
+ | must be the same as <url-pattern> for the update engine. | ||
+ | --> | ||
+ | <init-param> | ||
+ | <param-name>update-uri</param-name> | ||
+ | <param-value>/zkau</param-value> | ||
+ | </init-param> | ||
+ | <load-on-startup>1</load-on-startup><!-- MUST --> | ||
+ | </servlet> | ||
<servlet> | <servlet> | ||
<description> | <description> | ||
Line 21: | Line 42: | ||
</servlet-mapping> | </servlet-mapping> | ||
</source> | </source> | ||
− | + | =Version History= | |
− | + | {{LastUpdated}} | |
− | + | {| border='1px' | width="100%" | |
− | + | ! Version !! Date !! Content | |
− | + | |- | |
− | + | | | |
− | + | | | |
+ | | | ||
+ | |} | ||
+ | |||
+ | {{ZKSpreadsheetEssentialsPageFooter}} |
Latest revision as of 06:46, 22 August 2013
This article is out of date, please refer to http://books.zkoss.org/wiki/ZK_Spreadsheet_Essentials for more up to date information.
Available in ZK Spreadsheet EE only
Downloads
- Download ZK 5.0.5 or later release binaries.
- Download ZK Spreadsheet 2.0 or later release binaries. and config it to be used as your JSF web application library by either directly copying into WEB-INF/lib or putting them on your web application classpath
Configuration
- Configure downloaded ZK & ZK Spreadsheet binaries as your JSF web application libraries by either directly copying into WEB-INF/lib or putting them on your web application classpath
- Add
org.zkoss.zk.ui.http.DHtmlLayoutServlet
andorg.zkoss.zk.au.http.DHtmlUpdateServlet
and its mapping into web.xml as shown below
<servlet>
<description>ZK loader for evaluating ZUML pages</description>
<servlet-name>zkLoader</servlet-name>
<servlet-class>org.zkoss.zk.ui.http.DHtmlLayoutServlet</servlet-class>
<!--
Must. Specifies URI of the update engine (DHtmlUpdateServlet). It
must be the same as <url-pattern> for the update engine.
-->
<init-param>
<param-name>update-uri</param-name>
<param-value>/zkau</param-value>
</init-param>
<load-on-startup>1</load-on-startup><!-- MUST -->
</servlet>
<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>
Version History
Version | Date | Content |
---|---|---|
All source code listed in this book is at Github.