I have a form that looks like this:
When I execute the click method I get the following error in the Developer's Console:
11:53:39.046:MUP5:WARN:Log:Error:
''null' is null or not an object'
in http://localhost:8080/dayport/pages/index.jsp
at line 1272
DataSource.performSCServerOperation(_1=>Obj)
DataSource.sendDSRequest(_1=>Obj)
DataSource.performDSOperation(_1=>"update", _2=>undef, _3=>undef, _4=>undef)
Canvas.$wp(_1=>"update", _2=>undef, _3=>undef, _4=>undef)
Canvas.updateData(_1=>undef, _2=>undef, _3=>undef)
"return this.$wp("update",_1,_2,_3)"
[a]ButtonItem.click(form=>[DynamicForm ID:isc_DynamicForm_87], item=>[ButtonItem ID:isc_ButtonItem_90 name:saveChanges], Obj)
FormItem.$17u(_1=>"click")
"this.convertToMethod(_1);return this[_1](this.form,this,isc.EH.lastEvent)"
FormItem.handleClick()
[o]IButton.click(Obj, undef)
"return this.canvasItem.handleClick()"
What would be the likely causes of this.
thanks,
pf
Code:
this.form = isc.DynamicForm.create({
width: "100%",
height: "*",
numCols: 1,
wrapCells: true,
dataSource: "journalAnnotationDS",
fields: [{name: "id", visible: false},
{name: "note", length: 4000,
width: 700, height: "100%", showTitle: false},
{name: "saveChanges", title: "save changes",
type: "button",
align: "center",
click: "form.updateData()"}
]
});
11:53:39.046:MUP5:WARN:Log:Error:
''null' is null or not an object'
in http://localhost:8080/dayport/pages/index.jsp
at line 1272
DataSource.performSCServerOperation(_1=>Obj)
DataSource.sendDSRequest(_1=>Obj)
DataSource.performDSOperation(_1=>"update", _2=>undef, _3=>undef, _4=>undef)
Canvas.$wp(_1=>"update", _2=>undef, _3=>undef, _4=>undef)
Canvas.updateData(_1=>undef, _2=>undef, _3=>undef)
"return this.$wp("update",_1,_2,_3)"
[a]ButtonItem.click(form=>[DynamicForm ID:isc_DynamicForm_87], item=>[ButtonItem ID:isc_ButtonItem_90 name:saveChanges], Obj)
FormItem.$17u(_1=>"click")
"this.convertToMethod(_1);return this[_1](this.form,this,isc.EH.lastEvent)"
FormItem.handleClick()
[o]IButton.click(Obj, undef)
"return this.canvasItem.handleClick()"
What would be the likely causes of this.
thanks,
pf
Comment