Path to the application .vm
-file - .vmi
are not reachable.
Ajax settings e.g. {dataType: 'json'}
, http://api.jquery.com/jQuery.ajax/, additional intrexx properties: urlParameters
The upFuncPart
or any HTMLElement of the application page.
JSON
ajaxAppVTL("test.vm", {
dataType: "json",
success: function(dataJSON) {
// e.g. dataJSON response is:
// {"myobject":{"property1":"propertyValue1"}}
alert(dataJSON.myobject.property1);
}
}, ix.util.getHtml("<GUID>"));
Text
ajaxAppVTL("test.vm", {
dataType: "text",
data: {
fr_param1: Browser.getValue(ix.util.getHtml("<GUID_FROM_FIELD>"))
},
success: function(data) {
Browser.setValue(ix.util.getHtml("<GUID_STATIC_TEXTFIELD>"), data);
}
}, ix.util.getHtml("<GUID_FROM_ANY_FIELD>"));
Sends a request to the provided application resource
.vm
-file underneathinternal/application/resource/APPGUID/
.