The jQuery UI Plugin

The first item on the new list is really just an improvement on one of the original features. We did provide a way for people to volunteer to help on events, but it’s not very user friendly. So, we’ll tackle this one right away. We’ll add a button to the TekEvent show view that will allow logged-in users to volunteer to help on this event. When they click it, we’ll show them a nice confirmation dialog box, and if they confirm, we’ll add them to the volunteers collection for that event.

We’ll start with the button. At first, that would seem as simple as adding a <button> tag somewhere on our page. But there is some logic involved. We don’t want to show the button if the user is not logged in. Then if they are logged in, ...

Get Grails 2: A Quick-Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.