Sorry, I have a regression problem but it was NOT what I previously posted.
I beg your pardon!
the real problem is printed in the IE6 stacktrace where I noticed this 'fetchMissingValueReply':
FormItem.fetchMissingValueReply(_1=>Obj, _2=>"Si segnala la seguente eccezione:<br>"nu..."[82], _3=>Obj)
[c]Class.fireCallback(_1=>Obj, _2=>"dsResponse,data,dsRequest", _3=>Array[3], _4=>[StaticTextItem ID:isc_StaticTextItem_36 name:simulate], _5=>undef) on [Class RestDataSource]
Class.fireCallback(_1=>Obj, _2=>"dsResponse,data,dsRequest", _3=>Array[3], _4=>undef)
DataSource.fireResponseCallbacks(_1=>Obj, _2=>Obj, _3=>Obj, _4=>Obj)
DataSource.$38b(_1=>Obj, _2=>Obj, _3=>Obj, _4=>Obj, _5=>Obj)
DataSource.$377(_1=>Obj, _2=>Array[1], _3=>Obj)
DataSource.$379(rpcResponse=>Obj, jsonText=>"{"response":{"data":"Si segnala la segue..."[217], rpcRequest=>Obj)
** recursed on [c]Class.fireCallback
the docs for FormItem.fetchMissingValues seem clear: but I have this problem on a
editorType: "StaticTextItem",
which doesn't have a displayField defined!
It has a formatValue defined (and if I comment it out the error disappears).
setting fetchMissingValues: false solved the problem for me.
I hope this is a correct test case which explains the issue: please modify sample SmartClient_Explorer.html#validationType as:
js tab:
xml tab:
then click "set value" -> it fires a server fetch for the value
from SmartClient_SC_SNAPSHOT-2010-08-14_LGPL to SmartClient_SC_SNAPSHOT-2010-08-23_LGPL
IE6, Chrome 6, FF 3.6.8
I beg your pardon!
the real problem is printed in the IE6 stacktrace where I noticed this 'fetchMissingValueReply':
FormItem.fetchMissingValueReply(_1=>Obj, _2=>"Si segnala la seguente eccezione:<br>"nu..."[82], _3=>Obj)
[c]Class.fireCallback(_1=>Obj, _2=>"dsResponse,data,dsRequest", _3=>Array[3], _4=>[StaticTextItem ID:isc_StaticTextItem_36 name:simulate], _5=>undef) on [Class RestDataSource]
Class.fireCallback(_1=>Obj, _2=>"dsResponse,data,dsRequest", _3=>Array[3], _4=>undef)
DataSource.fireResponseCallbacks(_1=>Obj, _2=>Obj, _3=>Obj, _4=>Obj)
DataSource.$38b(_1=>Obj, _2=>Obj, _3=>Obj, _4=>Obj, _5=>Obj)
DataSource.$377(_1=>Obj, _2=>Array[1], _3=>Obj)
DataSource.$379(rpcResponse=>Obj, jsonText=>"{"response":{"data":"Si segnala la segue..."[217], rpcRequest=>Obj)
** recursed on [c]Class.fireCallback
the docs for FormItem.fetchMissingValues seem clear: but I have this problem on a
editorType: "StaticTextItem",
which doesn't have a displayField defined!
It has a formatValue defined (and if I comment it out the error disappears).
setting fetchMissingValues: false solved the problem for me.
I hope this is a correct test case which explains the issue: please modify sample SmartClient_Explorer.html#validationType as:
js tab:
Code:
isc.DynamicForm.create({
ID: "boundForm",
dataSource: "type"
});
isc.Button.create({
top: 60,
title: "set value",
click: "boundForm.setValue('intField', 15)"
});
Code:
isc.RestDataSource.create({
ID:"type",
fields:{
intField:{
name:"intField",
title:"Integer",
type:"integer",
editorType: "StaticTextItem",
formatValue: "return value"
}
}
})
from SmartClient_SC_SNAPSHOT-2010-08-14_LGPL to SmartClient_SC_SNAPSHOT-2010-08-23_LGPL
IE6, Chrome 6, FF 3.6.8
Comment