Class Exanpe.SelectLoader
Represents a SelectLoader.
Defined in: exanpe-t5-lib.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Exanpe.SelectLoader(id, targetId, url)
Constructor
|
Field Attributes | Field Name and Description |
---|---|
Select source id
|
|
Current request
|
|
Target select id
|
|
url to submit to
|
Method Attributes | Method Name and Description |
---|---|
Called on Ajax update failure.
|
|
Called on Ajax update success.
|
|
executeRequest(value)
Triggers the select loading
|
Class Detail
Exanpe.SelectLoader(id, targetId, url)
Constructor
- Parameters:
- {String} id
- the id of the select to bind on
- {String} targetId
- the target select id
- {String} url
- the url to submit the selected value
Field Detail
id
Select source id
request
Current request
targetId
Target select id
url
url to submit to
Method Detail
afterUpdateFailure()
Called on Ajax update failure.
Does nothing by default, override to define your own action.
afterUpdateSuccess()
Called on Ajax update success.
Does nothing by default, override to define your own action.
executeRequest(value)
Triggers the select loading
- Parameters:
- {String} value
- the selected value