Christian Boulanger <[EMAIL PROTECTED]> writes:
> Current trunk is *very* instable at the moment...
The documentation for TreeVirtual indicates that its interface is not yet
stable. TreeVirtual has not yet been officially released.
I provided the deprecation ERROR:
> setState() is deprecated: Replace with nodeSetState() in mixin MNode
to notify all users of this experimental class that they would have to do
some manual changes to their code.
I didn't even know that showcase had been modified to use TreeVirtual. That
definitely needs to get fixed. I'm currently involved in some non-qooxdoo
work so I can't work on that immediately, but if someone else doesn't get to
it before I get back to qooxdoo stuff, I'll get that fixed.
Cheers,
Derrell
> showcase gives me:
>
> 038344 ERROR: qx.event.handler.EventHandler[53]: Failed to handle mouse event:
> TypeError - cellWidget.setState is not a function
> at qx.ui.table.DefaultHeaderCellRenderer:120
> at qx.ui.table.DefaultHeaderCellRenderer:99
> at qx.ui.table.TablePaneHeader:336
> at qx.ui.table.TablePaneScroller:638
> at qx.ui.core.Parent:936
> at qx.ui.core.Parent:891
> at qx.ui.core.Parent:934
> at qx.ui.core.Parent:936
> at qx.ui.core.Parent:891
> at qx.ui.core.Parent:934
> at qx.core.Object:291
> at qx.ui.table.Table:1795
> at qx.ui.core.Parent:936
> at qx.ui.core.Parent:891
> at qx.ui.core.Parent:934
> at qx.ui.core.Widget:842
> at qx.ui.core.Widget:269
> at qx.event.handler.EventHandler:1001
> at qx.event.handler.EventHandler:813
> at qx.lang.Function:165
> 043891 ERROR: qx.event.handler.EventHandler[53]: Failed to dispatch mouse
> event: Error - setState() is deprecated: Replace with nodeSetState() in mixin
> MNode
> at qx.ui.treevirtual.TreeVirtual:1034
> at showcase.Application:1583
> at qx.core.Target:285
> at qx.core.Target:242
> at showcase.Application:1384
> at qx.core.Target:285
> at qx.core.Target:242
> at qx.core.Target:188
> at qx.ui.treevirtual.SimpleTreeDataModel:883
> at qx.ui.treevirtual.SelectionManager:149
> at qx.ui.treevirtual.SelectionManager:184
> at qx.ui.table.SelectionManager:101
> at qx.ui.table.TablePaneScroller:945
> at qx.core.Target:285
> at qx.core.Target:297
> at qx.core.Target:242
> at qx.event.handler.EventHandler:974
> at qx.event.handler.EventHandler:813
> at qx.lang.Function:165
> 044766 ERROR: qx.event.handler.EventHandler[53]: Failed to dispatch mouse
> event: Error - setState() is deprecated: Replace with nodeSetState() in mixin
> MNode
> at qx.ui.treevirtual.TreeVirtual:1034
> at showcase.Application:1583
> at qx.core.Target:285
> at qx.core.Target:242
> at showcase.Application:1384
> at qx.core.Target:285
> at qx.core.Target:242
> at qx.core.Target:188
> at qx.ui.treevirtual.SimpleTreeDataModel:883
> at qx.ui.treevirtual.SelectionManager:149
> at qx.ui.treevirtual.SelectionManager:184
> at qx.ui.table.SelectionManager:101
> at qx.ui.table.TablePaneScroller:945
> at qx.core.Target:285
> at qx.core.Target:297
> at qx.core.Target:242
> at qx.event.handler.EventHandler:974
> at qx.event.handler.EventHandler:813
> at qx.lang.Function:165
>
> and colors look all funny!
>
> Thanks,
>
> Christian
>
>
> [EMAIL PROTECTED] wrote:
>> Siarhei Barysiuk <[EMAIL PROTECTED]> writes:
>>
>>
>>> Error was in TreeVirtual.js line 209:
>>> this.setCellFocusAttributes({ backgroundColor : "lightblue" });
>>>
>>> I changed this line to this.setCellFocusAttributes({ backgroundColor :
>>> "blue" }); and error was fixed.
>>>
>>
>> Sebastian, what happened to "lightblue"? That's one of the standard color
>> names. Was it mistakenly excluded?
>>
>> Derrell
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel