Please Notice: This class is DEPRECATED. The current behavior is documented here for backwards compatibility, but autocompletion is something that should be done manually by your own code.
The autocompleter tag is an enhanced inputText that includes information to create your favorite kind of autocompleter.

Autocompleters can pull values from a list included in the web page (local autocompleter) or using Ajax.
Local Autocompleter
This autocompleter includes the list of possible values in the same web page, which is a good idea if the number of options is small:
Include a method like this in the action class:
The jsp page:
The options attribute can be set to a List of String or a list of the same object class that will be injected (in this case, the Customer class). In the last case the field should be annotated with @Autocompleted and you should add a converter to your spring config:
With this configuration, the value of referencedBy will be automatically filled by querying the database for a "Customer.lastName" value, using the value submitted by the autocompleter field of the form.
Ajax Autocompleter
An Autocompleter that will ask for a list of values after each keypress, using Ajax. In this example, we will be using a multiple autocompleter where several values can be introduced separated by commas, semicolons or spaces.
The JSP page:
The Action class:
The spring file:
AutocompleteResolution will include any result that gets added into a HTML unordered list, highlighting the sections that are a match.