The documentation says that the transport.read.url can be specified as a function. Could you please tell me the syntax for doing this using UI for JSP?
<
kendo:dropDownList
name
=
"module"
dataTextField
=
"domainValue"
dataValueField
=
"domainId"
optionLabel
=
"Please Select..."
id
=
"module"
>
<
kendo:dataSource
>
<
kendo:dataSource-transport
>
<
kendo:dataSource-transport-read
url
=
getTestModuleUrl
()
contentType
=
"application/json"
/>
</
kendo:dataSource-transport
>
</
kendo:dataSource
>
</
kendo:dropDownList
>
A string is expected for the url but if I do that, then the string is taken literally, and not as a function. Could you please tell me the correct syntax?
Thank you.