public class AutoCompleteTextFieldString extends org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteTextField<String>
Warning: if you get troubles with Tomcat, you need to adjust the server.xml file (
| Modifier and Type | Class and Description |
|---|---|
static class |
AutoCompleteTextFieldString.ComparisonMode
Comparison mode
|
| Constructor and Description |
|---|
AutoCompleteTextFieldString(String id,
org.apache.wicket.model.IModel<String> model,
List<String> choices,
AutoCompleteTextFieldString.ComparisonMode mode)
Constructor
|
AutoCompleteTextFieldString(String id,
org.apache.wicket.model.IModel<String> model,
List<String> choices,
AutoCompleteTextFieldString.ComparisonMode mode,
int minLength,
int maxChoices)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChoice(String choice)
Add a choice at the suggestion list
|
protected Iterator<String> |
getChoices(String input) |
getChoiceRenderer, newAutoCompleteBehavior, onComponentTag, onInitializeconvertInput, getConvertEmptyInputStringToNull, isInputNullable, onBeforeRender, setConvertEmptyInputStringToNulladd, add, checkRequired, clearInput, convertValue, error, getConvertedInput, getDefaultLabel, getDefaultLabel, getForm, getInput, getInputAsArray, getInputName, getModel, getModelObject, getModelValue, getRawInput, getType, getValidatorKeyPrefix, getValidators, getValue, hasRawInput, inputAsInt, inputAsInt, inputAsIntArray, inputChanged, internalOnModelChanged, invalid, isMultiPart, isRequired, isValid, newValidatable, newValidationError, onDetach, onDisabled, onInvalid, onRequired, onValid, processChildren, processInput, remove, reportRequiredError, setConvertedInput, setLabel, setModel, setModelObject, setModelValue, setRequired, setType, shouldTrimInput, trim, updateAutoLabels, updateCollectionModel, updateModel, valid, validate, validateRequired, validateValidators, visitComponentsPostOrder, visitFormComponentsPostOrdergetWebPage, getWebRequest, getWebResponse, getWebSessionadd, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onConfigure, onEvent, onModelChanged, onModelChanging, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrappublic AutoCompleteTextFieldString(String id, org.apache.wicket.model.IModel<String> model, List<String> choices, AutoCompleteTextFieldString.ComparisonMode mode)
id - IDmodel - Modelchoices - Choicesmode - Comparison modepublic AutoCompleteTextFieldString(String id, org.apache.wicket.model.IModel<String> model, List<String> choices, AutoCompleteTextFieldString.ComparisonMode mode, int minLength, int maxChoices)
id - IDmodel - Modelchoices - Choicesmode - Comparison modeminLength - Min processing length (default 0)maxChoices - Max choices (default Integer.MAX_VALUE)protected Iterator<String> getChoices(String input)
getChoices in class org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteTextField<String>public void addChoice(String choice)
choice - The choice to addCopyright © 2009–2014 IRD. All rights reserved.