Abstract
This plugin adds the ModalBox to your Grails applications.
ModalBox (http://code.google.com/p/modalbox/) is a JavaScript technique for creating modern (Web 2.0-style) modal dialogs or even wizards (sequences of dialogs) without using conventional popups and page reloads. It's inspired by Mac OS X modal dialogs. And yes, it may also be useful for showing larger versions of images. ![]()
Configuration
ModalBox Plugin needs the following attributes:
- url (required - the url to open)
- title (required - the title in the popup)
- width (required - the width of the popup)
- linkname (required - name name of the link)
You have to include <modalbox:modalIncludes /> in the head of your template to include the required css and javascript source.
Example:
<modalbox:modalIncludes />
<modalbox:createLink url="akopopup.gsp" title="Hello Grails!" width="600" linkname="This is the Link" />


