Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    CKeditor with valuesManager

    I'm using SmartClient LGPL v8.3. I followed wiki (http://wiki.smartclient.com/display/...martClient+8.2) and added ckeditoritem as part of valuesManager.
    Code:
    {title:"Introduction", pane:isc.DynamicForm.create({
      valuesManager: my_vm,
      dataSource: my_ds,
      fields: [{name:"introduction", type:"CKeditorItem"}],
      colWidths: ['100%'], height: '100%'
    })},
    In my test, I found that my_vm.setValue() seems not working as expected. In firebug, I ran

    Code:
    my_vm.setValue('introduction', 'Hello')
    I can see CKeditor content is changed to 'Hello'. However, the following
    Code:
    my_vm.getValue('introduction')
    still returns the original value. And no matter what I typed in CKeditor window, my_vm.getValue('introduction') always returns the original value. The same setValue() and getValue() command for another field (textarea) worked fine.

    Did I miss something or is it a bug?

    BTW, this is an attempt to upgrade from v7.0rc2 to v8.3. Fckeditor (not CKeditor) has no problem with v7.2rc.
    Last edited by KevinC; 22 Jan 2013, 18:29.
Working...
X