Wtools Plugin

  • Tags : /
  • Latest : 0.1
  • Last Updated: 23 July 2013
  • Grails version : 2.0 > *
0 vote
Dependency :
compile ":wtools:0.1"

Documentation Source Issues

Summary

This plugin is auto refresh browser for editing gsp page.

Installation

grails install-plugin wtools

Description

Usage

This plugin is auto refresh for browser.

  1. Gsp page insert tag at header section.
<wtools:refresh this="${this}" />

2. open web browser gsp page

ex) Editing 'book/list.gsp' open web browser 'http://localhost:8080/test/book/list'

3. After gsp page editing and saving… play coding~~~

Config

This plugin required jQuery javascript library. Attribute 'timeout' is assured gsp page compile time by tomcat.

  • 'Config.groovy' file setting:
wtools.timeout = 1000
  • attribute :
<wtools:refresh this="${this}" timeout="1000" />
  • default:
500 msec