Hi
I am working with firefox3.6 and smartclient 7.0rc1 and
I have a problem with selectItem with clientOnly datasource,
when I load the page, testData caches and did not show correct data, select list didn’t updated and show old values here is my code:
isc.DataSource.create({
ID:"jobDS",
clientOnly:true,
testData:[],
fields:[
{name:"id", primaryKey:"true"},
{name:"name"}
]
});
//rpc call, data[0].jobs loaded from db
jobDS.testData = data[0].jobs;
isc.DynamicForm.create({
ID:"jobForm",
numCols:5,
autoDraw:true,
fields:[
{wrapTitle:false, name: "jobId", title:"jobs", colSpan:"5",
editorType:"select", optionDataSource:"jobDS", valueField: "id", displayField: "name",
validators: [{
type:"requiredIf",
expression:"return true",
errorMessage: "jobid is required"
}]}
can anyone help me to clear cache?