The same in qx.ui.core.Widget, property "dropDataTypes".
Please add "nullable: true".
Maybe a better solution is to automaticly set nullable to true if no
init-value is given?
Erich
Erich Konicek schrieb:
> Please can somebody add "nullable: true" to the "value" property in
> qx.ui.form.ListItem.
>
> (" You should define at least one of the attributes |init|, |nullable|
> or |inheritable|. Otherwise, the first call to the getter would stop
> with an exception because the computed value is not (yet) defined.")
>
> Patch attached.
>
> Thank you,
> Erich
>
Index: /entw/qooxdoo/frontend/framework/source/class/qx/ui/core/Widget.js
===================================================================
--- /entw/qooxdoo/frontend/framework/source/class/qx/ui/core/Widget.js (revision 8027)
+++ /entw/qooxdoo/frontend/framework/source/class/qx/ui/core/Widget.js (working copy)
@@ -1541,7 +1541,9 @@
/** Contains the support drop types for drag and drop support */
- dropDataTypes : {},
+ dropDataTypes : {
+ nullable : true
+ },
/** A command called if the widget should be excecuted (a placeholder for buttons, ...) */
-------------------------------------------------------------------------
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