O'Reilly logo

ICEfaces 1.8 by Rainer Eschen

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

Autocomplete

If you have a form and a certain field allows only predefined values, you normally use a combobox that the user can select an entry from. But there are situations where you want to offer more flexibility, or the amount of data is too high to use a combobox. For such situations, an autocomplete add-on to a simple edit field is a good solution.

The edit field is used like a standard edit field, but with the first character you type in, a search function starts its work in the background. It collects all matching entries from a data pool (for example, a database table) and presents these in a list underneath the edit field. If the number of hits exceeds the number of rows to present, only the top-rated entries are shown. If you select ...

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