AjaxTag Library
Tag autocomplete

Builds the JavaScript required to populate an input field as the user types.

Tag Information
Tag Classnet.sourceforge.ajaxtags.tags.AjaxAutocompleteTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

varfalsetruejava.lang.String Name of the JavaScript object created.
attachTofalsetruejava.lang.String Name of the JavaScript object to which autocompleter will attach. You must define 'var' attribute for this to work.
baseUrltruetruejava.lang.String URL of server-side action or servlet that processes search and returns list of values used in autocomplete dropdown.
sourcetruetruejava.lang.String Text field where label of autocomplete selection will be populated; also the field in which the user types out the search string.
targettruetruejava.lang.String Text field where value of autocomplete selection will be populated; you may set this to the same value as the source field.
parametersfalsetruejava.lang.String A comma-separated list of parameters to pass to the server-side action or servlet.
classNamefalsetruejava.lang.String CSS class name to apply to the popup autocomplete dropdown. Default: autocomplete
minimumCharactersfalsetruejava.lang.String Minimum number of characters needed before autocomplete is executed.
indicatorfalsetruejava.lang.String ID of indicator region that will show during AJAX request call.
appendSeparatorfalsetruejava.lang.String The separator to use for the target field when values are appended. Default: space
preFunctionfalsetruejava.lang.String Function to execute before AJAX is started. Should return string "cancel" to cancel AJAX execution.
postFunctionfalsetruejava.lang.String Function to execute after AJAX is finished, allowing for a chain of additional functions to execute. Note: this happens before user selects any option.
errorFunctionfalsetruejava.lang.String Function to execute if there is a server exception (non-200 HTTP response).
afterUpdatefalsetruejava.lang.String Function to execute after user has selected some option and source and target fields were updated with selected values.
parserfalsetruejava.lang.String The response parser to implement. Default: ResponseHtmlParser

No Variables Defined.

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.