Configure ZK Spreadsheet JSF Component

From Documentation
Revision as of 11:31, 19 November 2010 by Ashishd (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Configure ZK Spreadsheet JSF Component



Downloads

  • Download ZK 5.0.5 or later release binaries.
  • Download ZK Spreadsheet 2.0 Beta3 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.au.http.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>
  • and finally add ZK Spreadsheet JSF component taglib into the web.xml as shown below
	<context-param>
		<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
		<param-value>/WEB-INF/jsfzss-taglib.xml</param-value>
	</context-param>