How to invoke a generic SQL query defined through a business component
UPDATE TABLE SET FIELD1=VALUE WHERE FIELD2 = :VAR_NAMEvar url = contextPath+"/executesql/executequery?appId=XXX&applicationId=XXX&compId=YYY";
vo[‘varName'] = ...;
var json = Ext.encode(vo);
var response = new SyncRequest().send(url,'POST',json,'application/json');
if (response!=null && response!='') {
var risp = Ext.decode(response);
}PreviousHow to get or set a value from the graphics controlNextHow to remove spaces to the left and right of a text
Last updated