I am trying to add a select item (combobox) in the calendar event editor
But the DS is not loaded, I have this erros
I tried the same select item in other place and it works
Does anyone know how to solve my problem?
Thanks!
Code:
SelectItem claseName = new SelectItem("clase");
claseName.setTitle("Clase:");
claseName.setPickListWidth(250);
claseName.setOptionDataSource(ClaseDS.getInstance());
// DynamicForm form = new DynamicForm();
// form.setFields(claseName);
calendar.setEventEditorFields(claseName);
But the DS is not loaded, I have this erros
Code:
[ERROR] - 13:24:21.030:MUP9:WARN:SelectItem:isc_SelectItem_15:fetchData() called for a non-databound pickList. Ignoring
[ERROR] - 13:24:22.763:WARN:Log:TypeError: this.getOptionDataSource() is null
unnamed() @ pro/sc/modules/ISC_Forms.js:1985
unnamed(undef, null, undef) @ pro/sc/modules/ISC_Forms.js:1982
SelectItem.makePickList(_1=>undef, undefined=>null, undefined=>undef) @ pro/sc/modules/ISC_Forms.js:2089
unnamed() @ pro/sc/modules/ISC_Forms.js:1977
SelectItem.showPickList() @ pro/sc/modules/ISC_Forms.js:2066
SelectItem.handleClick(=>{Obj}, undefined=>undef, undefined=>undef, undefined=>undef) @/sc/modules/ISC_Forms.js:2059
DynamicForm.bubbleItemHandler(_1=>{Obj}, _2=>"handleClick", _3=>{Obj}) @ pro/sc/modules/ISC_Forms.js:647
DynamicForm.handleClick(_1=>{Obj}, _2=>undef) @ pro/sc/modules/ISC_Forms.js:656
[c]EventHandler.bubbleEvent(_1=>{Obj}, _2=>"click") @ pro/sc/modules/ISC_Core.js:1535
[c]EventHandler.handleClick(_1=>{Obj}) @ pro/sc/modules/ISC_Core.js:1383
EventHandler._handleMouseUp([object MouseEvent], undef) @ pro/sc/modules/ISC_Core.js:1370
[c]EventHandler.handleMouseUp(_1=>[object MouseEvent]) @ pro/sc/modules/ISC_Core.js:1361
[c]EventHandler.dispatch(_1=>isc_c_EventHandler_handleMouseUp, _2=>[object MouseEvent]) @ pro/sc/modules/ISC_Core.js:1598
anonymous([object MouseEvent]) @ pro/sc/modules/ISC_Core.js:38
unnamed() @
Does anyone know how to solve my problem?
Thanks!
Comment