Qooxdoo and RAP [message #121760] |
Tue, 17 February 2009 15:27  |
Eclipse User |
|
|
|
Originally posted by: freddan85.gmail.com
Hi!
I'm developing a RAP application which, among other things, will contain
of two trees that supports drag and drop between each other. Since RAP
doesn't have support for drag and drop, I've made a custom widget using
the qooxdoo 0.7.4 API. I've managed to get the widget working by using
"regular trees" (qx.ui.tree.Tree), but I want the more user-friendly
VirtualTree (qx.ui.treevirtual.TreeVirtual). However, when I try to
declare a virtual tree I get the following error at runtime:
"Could not evaluate javascript response:
TypeError: qx.ui.treevirtual is undefined"
Is there any limitations in the qooxdoo api, or why isn't the
treevirtual working when the regular tree works fine?
I've looked at the code in qooxdoos demo browser, but I can't get it to
work even with their code. Their demo can be found at
http://demo.qooxdoo.org/0.7.4/demobrowser/#example~TreeVirtu al_6.html
Thanks for any help!
|
|
|
Re: Qooxdoo and RAP [message #121799 is a reply to message #121760] |
Wed, 18 February 2009 03:08  |
Eclipse User |
|
|
|
Hi,
I suppose that's because RAP doesn't contain all qooxdoo classes but
only those that are needed (to keep the qx lib small). You can look at
org.eclipse.rap.rwt.q07 to check the contained classes.
However, it should be possible to add additional qx classes using the
org.eclipse.rap.ui.resources extension point.
Regards,
Stefan.
Fredrik Häggbom schrieb:
> Hi!
>
> I'm developing a RAP application which, among other things, will contain
> of two trees that supports drag and drop between each other. Since RAP
> doesn't have support for drag and drop, I've made a custom widget using
> the qooxdoo 0.7.4 API. I've managed to get the widget working by using
> "regular trees" (qx.ui.tree.Tree), but I want the more user-friendly
> VirtualTree (qx.ui.treevirtual.TreeVirtual). However, when I try to
> declare a virtual tree I get the following error at runtime:
>
> "Could not evaluate javascript response:
> TypeError: qx.ui.treevirtual is undefined"
>
> Is there any limitations in the qooxdoo api, or why isn't the
> treevirtual working when the regular tree works fine?
>
> I've looked at the code in qooxdoos demo browser, but I can't get it to
> work even with their code. Their demo can be found at
> http://demo.qooxdoo.org/0.7.4/demobrowser/#example~TreeVirtu al_6.html
>
> Thanks for any help!
|
|
|
Powered by
FUDForum. Page generated in 0.05430 seconds