My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

ZKGrails: ZK plugin for Grails

ZKGrails 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.

Every 4 months, each major version of ZKGrails will be released. It is licensed under LGPL. It's always opensourced and free for commercial use.

Countdown: ZK for Grails 2

  • Latest Milestone: ZKGrails 2.0.0.M8 via the LTS channel (ZK 6.0.1).
  • For early access, a private bi-weekly build as well as 1.0.x series are now available through the LTS subscription.
  • Latest Public Milestone: ZKGrails 2.0.0.M7 (Grails 2.0)
  • Latest stable: ZKGrails 1.0.6 (ZK 5.0.9 / Grails 1.2+ and 1.3+ )

Would like to try this similar functionality in pure Java? Try ZK addon for Spring Roo.

Peer Support

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

Commercial Support

The annual subscription for ZKGrails LTS (Long-Term Support) including the urgent bug fixing service is available here.

Install Script

As of version 2.0, you can now use the install script to enable grails create-zk-app command.

$ wget http://zkgrails.googlecode.com/files/install.sh? -O- | sh

$ grails create-zk-app <your project>

You can have a setting of grails.zk.version in $HOME/.grails/settings.groovy to specify the version of ZK and ZK-Hibernate plugin. If not specified, the default is "2.0.0".

// .grails/settings.groovy

grails.zk.version = "2.0.0.M8"

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.zip

Install the EE version

You 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 Start

Type

$ grails create-zul index

will give you

  • grails-app/zul/index.zul linked with indexComposer
  • grails-app/composers/IndexComposer.groovy, the composer class.

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

  • 4-May-2012 ZKGrails 2.0.0.M8 with ZK 6.0.1 has been released.
  • 4-Apr-2012 ZKGrails 2.0.0.M7 has been released.
  • 28-Mar-2012 ZKGrails 2.0.0.M6 has been released.
  • 23-Feb-2012 ZKGrails 2.0.0.M5 has been released.
  • 15-Feb-2012 ZKGrails 2.0.0.M4 has been released.
  • 13-Feb-2012 ZKGrails 2.0.0.M3 has been released.
  • 7-Feb-2012 ZKGrails 2.0.0.M2 has been released. We are moving towards the GA!
  • 18-Oct-2011 ZKGrails 1.0.6 has been released. This version has no bug fixing. It is an update to support ZK 5.0.9. Release Notes.
  • 22-Aug-2011 ZKGrails 1.0.5 has been released. This version contains minor bug fixes for the 1.0 series. Release Notes.
  • 23-May-2011 ZKGrails 1.0.4 has been released. This version ships with the hotfix release ZK 5.0.7.1. It also contains a feature to better support editing ZUL in ZK Studio Release Notes.
  • 12-May-2011 We are releasing two versions of ZKGrails today. ZKGrails 1.0.3 (Release Notes) is the third maintenance release for 1.0 series, and ZKGrails 1.1-M1 (Release Notes) is the first milestone of the 1.1 series. Both ship with ZK 5.0.7.
  • 25-Feb-2011 ZKGrails 1.0.2 has been released. This is the second maintenance release for 1.0 series and it ships with ZK 5.0.6 Release Notes.
  • 21-Dec-2010 ZKGrails 1.0.1 has been released. This is the first maintenance release for 1.0 series Release Notes.
  • 2-Nov-2010 ZKGrails 1.0 has been released. This version ships with ZK 5.0.5 and the new Breeze theme Release Notes.
  • 21-Oct-2010 ZKGrails 1.0-RC3 has been released. This is the last release candidate for 1.0 series. Release Notes.
  • 18-Oct-2010 ZKGrails 1.0-RC2 has been released. This is the second release candidate for 1.0 series. Release Notes.
  • 12-Oct-2010 ZKGrails 1.0-RC1 has been released. This is the first release candidate for 1.0 series. Release Notes.
  • 1-Oct-2010 ZKGrails 1.0-M5 has been released. This version includes ZK 5.0.4. Release Notes.
  • 14-May-2010 ZKGrails 1.0-M4 has been released. This version includes ZK 5.0.2. Release Notes.
  • 5-Apr-2010 ZKGrails 1.0-M3 has been released. This version includes ZK 5.0.1. Release Notes.
  • 23-Mar-2010 ZKGrails 0.7.8 has been released. This maintenance release includes ZK 3.6.4. Release Notes.
  • 5-Feb-2010 ZKGrails 1.0-M2 has been released. This version includes ZK 5.0. Release Notes.
  • 26-Jan-2010 ZK 5 has been released. ZKGrails 1.0-M2 will be the first milestone to support it.
  • ...
  • 19-Aug-2008 ZK Plugin for Grails version 0.5 has been released.

News Archive

Copyright 2008-2012 The ZKGrails Project

Powered by Google Project Hosting