Growler

  • Authors: Matthew Taylor
0 vote
Dependency:
compile ":growler:0.2"

 Documentation

Summary

Installation

grails install-plugin growler

Description

Uses jquery plugin, and the jGrowl jquery plugin to allow Growl-like notifications from remote function calls.

You must add this in your HEAD for dependencies:

<g:javascript library="jquery" plugin="jquery"/>
<growler:resources />

This is currently just an BETA release to get things rolling. You can do something like this:

<g:remoteLink 
    controller="foo" action="bar" 
    growl="true"
>growl link</g:remoteLink>

And the server response is rendered within a jGrowl notification. This should work for remoteForms as well, because this plugin modifies the g:remoteFunction logic.

Please feel free to help out with issues listed here.