Tag Archives: tutorial

How to customize the display of the GrailsUI Datepicker

I recently needed to customize the datepicker to only allow selections on specific dates. GrailsUI and YUI make customizing the display of dates in the datepicker super easy. One of the things I love most about YUI is the rich set of examples and the rich API docs for all of the [...]


Posted in grails, grails plugins | Also tagged , , | Leave a comment

360 Degrees of Form Processing with Grails and GrailsUI Modal Dialogs

Daniel Honig is an independent architect/developer/consultant living in New York City. Daniel is a contributor to GrailsUI and is writing this post as a guest for the benefit of GrailsUI users.
So recently I was reviewing some work that was done for us by a few developers of our team and discovered that we had some very ugly code that used an iframe inside of a gui dialog for a form submission. This resulted in the dialog appearing with scroll bars and other undesirable behavior.
Why was it that they had chosen to use an iframe instead of  just  using [...]


Posted in grails plugins, javascript | Also tagged , , , , , | 10 Comments

GrailsUI Component Accessibility Example: Switching Tabs in TabView

Recently, someone asked a very good question on the Grails mailing lists about GrailsUI. How can someone add a button within each tab in a tabView that switches to the next tab? Well, there is nothing within the GrailsUI API that allows such custom behavior, so it’s not like you can just add [...]


Posted in Uncategorized | Also tagged , , , | 4 Comments

Adding Row Expansion to the GrailsUI dataTable

One of the coolest features of the GrailsUI dataTable is its ability to turn on row expansion. In order to have enough data to do this, we need to know a URL for the dataTable to load on row click. We also need to turn the rowExpansion feature on in the tag. [...]


Posted in Uncategorized | Also tagged , | 11 Comments

Using GrailsUI dataTable tag

The GUI dataTable is the most complicated tag to set up, because there is a lot of data configuration required. You have to correctly set up the column definitions in the tag, and you have to set up the controller to serve up the proper data.
Let’s start from scratch with the basic book / [...]


Posted in uncategorized | Also tagged | Comments closed
Check out the latest GroovyMag to see an interview with me about the 1.1 release of GrailsUI: