Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Grails ZK UI Plugin
Groovy Java Gosu
Failed to load latest commit information.
.settings 'init'
gen update to the zui.xsd for zk 6.5.1
grails-app recover release and rest-client-builder plugins
scripts
src implements override method to fix problems with grails 2.3.x, refs #126,
test/unit/org/grails/plugins/zkui import test annotation,refs pull 63
web-app/WEB-INF Use grails 2.0.3 for build plugin
.classpath 'init'
.gitignore ignore *.svn*
.project
LICENSE.txt add LICENSE
README.md use Markdown format for README
ZkuiGrailsPlugin.groovy
application.properties

README.md

Introduction

ZK UI plugin,the same as the ZKGrails plugin, seamlessly integrates ZK with Grails' infrastructures.

The difference is it uses the Grails' infrastructures more, such as gsp, controllers rather than zk's zul.

Getting Started

DOCTYPE

The html pages generated by gsp must generate the doc type as follows.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Importing resources

Add the tag to the head of the layout/main.gsp or any page that you want to use ZK UI Grails plug-ins.

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <z:resources/>

Hello World!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Hello World Demo</title>
    <z:resources/>
</head>

<body>
<z:window title="My First ZK UI Application" border="normal">
    Hello World!
</z:window>
</body>
</html>

Hello World

Documentation

The official docs are here

Something went wrong with that request. Please try again.