ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Integration of ZK with Google App Engine

tarunchhabra
29 Nov 2010 10:46:48 GMT
29 Nov 2010 10:46:48 GMT

Hi,

I tried the demo of the ZK direct RIA framework as I had read that it is compatible with Google App Engine. I downloaded the latest version and then was trying to create my first project using the How- To wiki:

http://books.zkoss.org/wiki/ZK_Installation_Guide/Setting_up_Servers/Google_App_Engine

but it the link explains how to configure the ZK project but doesn't tell how to create a Google App Engine project that has ZK support. I tried to manually do that but didn't really work. Can somebody please tell me how to make a GAE project with that support.

Thanks is advance

addermason
10 Jan 2011 03:04:04 GMT
10 Jan 2011 03:04:04 GMT

I will be posting a complete tutorial on it but here goes.
First make sure you have ZK installed as well as the Google Plugin.
Create a new app engine project (un check GWT)
Once the project is created right click on it, go to properties, and select "Project Facets"
You will get a message stating that facets are not enabled for this project.
Go ahead & enable facets.
When you do you will need to check the following items
Dynamic Web (2.5) if it says 3.0 make sure to left click & select 2.5
Finally check the box for ZK Supports.

That should be about all you need, however for google to run ZK properly you need to change the files as recommended in the tutorial you linked to.