| Attributes |
| Name | Required | Request-time | Type | Description |
| var | false | true | java.lang.String |
Name of the JavaScript object created.
|
| attachTo | false | true | java.lang.String |
Name of the JavaScript object to which autocompleter
will attach. You must define 'var' attribute for this to work.
|
| baseUrl | true | true | java.lang.String |
URL of server-side action or servlet that processes
search and returns list of values used in autocomplete
dropdown.
|
| source | true | true | java.lang.String |
Text field where label of autocomplete selection will be
populated; also the field in which the user types out
the search string.
|
| target | true | true | java.lang.String |
Text field where value of autocomplete selection will be
populated; you may set this to the same value as the
source field.
|
| parameters | false | true | java.lang.String |
A comma-separated list of parameters to pass to the
server-side action or servlet.
|
| className | false | true | java.lang.String |
CSS class name to apply to the popup autocomplete
dropdown.
Default: autocomplete
|
| minimumCharacters | false | true | java.lang.String |
Minimum number of characters needed before autocomplete
is executed.
|
| indicator | false | true | java.lang.String |
ID of indicator region that will show during AJAX
request call.
|
| appendSeparator | false | true | java.lang.String |
The separator to use for the target field when values
are appended.
Default: space
|
| preFunction | false | true | java.lang.String |
Function to execute before AJAX is started.
Should return string "cancel" to cancel AJAX execution.
|
| postFunction | false | true | java.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.
|
| errorFunction | false | true | java.lang.String |
Function to execute if there is a server exception
(non-200 HTTP response).
|
| afterUpdate | false | true | java.lang.String |
Function to execute after user has selected some option
and source and target fields were updated with selected
values.
|
| parser | false | true | java.lang.String |
The response parser to implement.
Default: ResponseHtmlParser
|