Attributes |
Name | Required | Request-time | Type | Description |
emptyOptionValue | false | true | java.lang.String |
The value for the option when select target is not
filled by AJAX response.
Default: EMPTY
|
emptyOptionName | false | true | java.lang.String |
The display text for the option when select target is
not filled by AJAX response.
Default: EMPTY
|
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 select box 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 target select
field.
|
source | true | true | java.lang.String |
The initial select field that will form the basis for
the search via AJAX.
|
target | true | true | java.lang.String |
Select field where value of AJAX search will be
populated.
|
parameters | true | true | java.lang.String |
A comma-separated list of parameters to pass to the
server-side action or servlet.
|
eventType | false | true | java.lang.String |
Specifies the event type to attach to the source field(s).
|
executeOnLoad | false | true | boolean |
Indicates whether the target select/dropdown should be
populated when the object is initialized (this is
essentially when the form loads).
Default: false
|
defaultOptions | false | true | java.lang.String |
A comma-separated list of values of options to be marked
as selected by default if they exist in the new set of
options.
|
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.
|
errorFunction | false | true | java.lang.String |
Function to execute if there is a server exception
(non-200 HTTP response).
|
parser | false | true | java.lang.String |
The response parser to implement.
Default: ResponseHtmlParser
|