package org.apache.wicket.extensions.ajax.markup.html.autocomplete;
An implementation of a textfield with the autoassist ajax behavior
AutoCompleteBehavior.
FIXME javadoc - constructors need proper descriptions
Note that you must add your own CSS to make the suggestion display properly,
see
DefaultCssAutocompleteTextField for an example.
auto complete behavior attached to this textfield
Construct.
- Parameters:
idmodeltypesettings
Construct.
- Parameters:
idobjectsettings
this(id, object, (Class<T>)null, settings);
this(id, (IModel<T>)null, settings);
this(id, (IModel<T>)null, renderer);
- Parameters:
idtyperenderer
- Parameters:
idmodelrenderer
Construct.
- Parameters:
idmodeltyperenderersettings
Factory method for autocomplete behavior that will be added to this textfield
- Parameters:
renderer
auto complete renderersettings
auto complete settings- Returns:
- auto complete behavior
private static final long serialVersionUID = 1L;
tag.put("autocomplete", "off"); Callback method that should return an iterator over all possible assist choice objects. These
objects will be passed to the renderer to generate output. Usually it is enough to return an
iterator over strings.