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 Big Guns: The Searchable Plugin

So far, in this iteration we have implemented internal searches to add features for our users—and right nice features they are. But we’re hoping that more people than just the organizer and the existing volunteers will access this site. We want to make it easy for visitors to find an event in their area, or one related to their favorite technology. If we stumbled upon a site like this, the first thing we’d do is search for Groovy or Grails. Let’s add this type of search feature to TekDays.

We could create a search form with fields for all the searchable properties, and then we could use the Criteria Builder to dynamically build a query based on the user’s input—but that would be kind of lame. What we’ll ...

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