Class Index | File Index

Classes


Class Exanpe.SelectLoader

Represents a SelectLoader.
Defined in: exanpe-t5-lib.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Exanpe.SelectLoader(id, targetId, url)
Constructor
Field Summary
Field Attributes Field Name and Description
 
id
Select source id
 
Current request
 
Target select id
 
url
url to submit to
Method Summary
Method Attributes Method Name and Description
 
Called on Ajax update failure.
 
Called on Ajax update success.
 
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

Documentation generated by JsDoc Toolkit 2.0.0 on Mon Jan 09 2012 21:35:39 GMT+0100 (CET)