nerdErg Simple Suggestions Plugin

  • Tags: /
  • Latest: 0.2
  • Last Updated: 28 November 2013
  • Grails version: 2.0 > *
1 vote
Dependency:
compile ":simple-suggestions:0.2"
Custom repositories:
mavenRepo "http://thog.nerderg.com:8070/nexus/content/groups/public/"

 Documentation  Source  Issues

Summary

This is a simple, by convention, suggestion service to provide suggestions to auto complete controls.

Just point the auto complete JS URL at suggest/subject (+)?term=bla and you get a JSON list of suggestion strings back.

You can add suggestion handlers to the service as a closure, or just add a text file named subject (+).txt with an itemper line to be searched for matches. The simple search returns a result if an item string contains the term anywhere.

See docs for details.

Installation

grails install-plugin simple-suggestions