hello,
i’ve got a multi rpc request which slows down my application.
the requests starts when drawing a dynamic form which contains three selectItems with each have a different option data source.
the DC reports this request for EACH selectItem:
1.
{
{
actionURL:"php/requestWarengruppe.php",
showPrompt:false,
transport:"xmlHttpRequest",
useSimpleHttp:true,
promptStyle:"dialog",
params:{
WarenGruppeNr:"",
_operationType:"fetch",
_dataSource:"WarenGruppeDS"
},
httpMethod:"GET",
sendNoQueue:true,
callback:{
target:null
},
serverOutputAsString:true,
clientContext:{
dataValue:""
},
data:null
}
{
actionURL:"php/requestWarengruppe.php",
showPrompt:false,
transport:"xmlHttpRequest",
useSimpleHttp:true,
promptStyle:"dialog",
params:{
WarenGruppeNr:"Stifte",
_operationType:"fetch",
_dataSource:"WarenGruppeDS"
},
httpMethod:"GET",
sendNoQueue:true,
callback:{
target:null
},
serverOutputAsString:true,
clientContext:{
dataValue:"Stifte"
},
data:null
}
{
actionURL:"php/requestWarengruppe.php",
showPrompt:false,
prompt:"Finding records that match your criteria...",
transport:"xmlHttpRequest",
useSimpleHttp:true,
promptStyle:"dialog",
params:{
_operationType:"fetch",
_startRow:0,
_endRow:75,
_textMatchStyle:"startsWith",
_componentId:"isc_PickListMenu_81",
_dataSource:"WarenGruppeDS"
},
httpMethod:"GET",
sendNoQueue:true,
callback:{
target:null
},
willHandleError:true,
serverOutputAsString:true,
clientContext:{
requestIndex:1
},
data:null
}
{
actionURL:"php/requestWarengruppe.php",
showPrompt:false,
transport:"xmlHttpRequest",
useSimpleHttp:true,
promptStyle:"dialog",
params:{
WarenGruppeNr:"Stifte",
_operationType:"fetch",
_dataSource:"WarenGruppeDS"
},
httpMethod:"GET",
sendNoQueue:true,
callback:{
target:null
},
serverOutputAsString:true,
clientContext:{
dataValue:"Stifte"
},
data:null
}
sometimes the 2nd and 4th request are not send.
the multi request starts first after setting up a valueField (which contains the primary key of the displayField) AND a different displayField.