O'Reilly logo

Grails 2: A Quick-Start Guide by Ben Klein, Dave Klein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required