| Package | Description |
|---|---|
| de.agilecoders.wicket.extensions.markup.html.bootstrap.form.typeahead |
| Modifier and Type | Method and Description |
|---|---|
Dataset |
Dataset.withEngine(de.agilecoders.wicket.jquery.util.Json.RawValue engine)
The engine used to render suggestions.
|
Dataset |
Dataset.withFooter(String footer)
The footer rendered before suggestions in the dropdown menu.
|
Dataset |
Dataset.withHeader(String header)
The header rendered before suggestions in the dropdown menu.
|
Dataset |
Dataset.withLimit(int limit)
The key used to access the value of the datum in the datum object.
|
<T> Dataset |
Dataset.withLocal(List<T> local)
A static list of datums.
|
Dataset |
Dataset.withName(String name)
The string used to identify the dataset.
|
Dataset |
Dataset.withPrefetch(Prefetch prefetch)
Prefetched data is fetched and processed on initialization.
|
Dataset |
Dataset.withRemote(Remote remote)
Can be a URL to fetch suggestions from when the data provided by local and prefetch is insufficient or, if more configurability is needed, a remote options object.
|
Dataset |
Dataset.withTemplate(String template)
The template used to render suggestions.
|
Dataset |
Dataset.withValueKey(String valueKey)
The key used to access the value of the datum in the datum object.
|
| Constructor and Description |
|---|
Typeahead(String markupId,
Dataset config)
Constructor.
|
Typeahead(String markupId,
org.apache.wicket.model.IModel<T> model,
Dataset config)
Constructor.
|
Copyright © 2011–2014 AgileCoders. All rights reserved.