|
Project Information
Members
Featured
Downloads
Wiki pages
Links
|
ZKGrails: ZK plugin for GrailsZKGrails is a plugin for the next generation rapid Web development framework, Grails. Based on ZK, one of the leading RIA frameworks, ZKGrails adds and enhances its RIA development capabilities and seamlessly integrates it with Grails' infrastructures. This results in an advanced RIA framework featuring direct AJAX and convention-over-configuration.
Would like to try this similar functionality in pure Java? Try ZK addon for Spring Roo.
Peer SupportYou can use the mailing list here for both support and development discussion. Commercial SupportThe annual subscription for ZKGrails LTS (Long-Term Support) including the urgent bug fixing service is available here.
Install from ZKGrails repositoryPut the following lines into your application's grails-app/conf/BuildConfig.groovy: grails.plugin.repos.discovery.zkgrails="http://zkgrails.googlecode.com/svn/plugins" grails.plugin.repos.resolveOrder=['zkgrails','default','core'] Then type $ grails install-plugin zk. (You can also have a setting of ZKGrails repository in $HOME/.grails/settings.groovy) InstallType $ grails install-plugin zk to install from the main Grails repository. or $ grails install-plugin http://zkgrails.googlecode.com/files/grails-zk-1.0.zip Install the EE versionYou can also install the Enterprise edition by $ grails install-plugin zk-ee If you install it manually, you have to run both of the following commands: $ grails install-plugin http://zkgrails.googlecode.com/files/grails-zk-1.0.zip $ grails install-plugin http://zkgrails.googlecode.com/files/grails-zk-ee-1.0.zip Quick StartType $ grails create-zul index will give you
Then $ grails run-app, and point your browser to http://localhost:8080/<your app>/index.zul. As of version 0.7, auto reloading is fully supported. To create only a composer, you can type $ grails create-composer <name>. If you are going to create zul files manually, please use this template for your .zul files. AnnotateDataBinderInit is for data-binding support. DelegatingVariableResolver is for injecting Spring beans, and GroovyGrails is for making Grails classes work for you. <?xml version="1.0" encoding="UTF-8"?> <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?> <?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?> <?page zscriptLanguage="GroovyGrails"?> News
Copyright 2008-2011 The ZKGrails Project |
