My favorites | Sign in
Project Logo
                
Show all Featured wiki pages:
LoadOnDemand ReleaseNote076
People details
Project owners:
  chanwit
Project contributors:
radimast, stera77

ZKGrails: ZK plugin for Grails

This project is originated by Flyisland and now being maintained here. Current milestone release is ZKGrails is 1.0-M1, which supports ZK 5.0-RC and Grails 1.2-M3. This is the first release under LGPL.

Install from ZKGrails repository

Put 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 $USER_HOME/.grails/settings.groovy)

Install

Type $ grails install-plugin zk to install from the main Grails repository.

or $ grails install-plugin http://zkgrails.googlecode.com/files/grails-zk-1.0-M1.zip

Quick Start

Type $ 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

Support

You can use the mailing list here for both support and development discussion.









Hosted by Google Code