|
Re: Custom widget [message #106351 is a reply to message #106337] |
Thu, 25 September 2008 12:34 |
Eclipse User |
|
|
|
Originally posted by: ifurnadjiev.innoopract.com
Hi,
the DateTime widget is available in RAP 1.1.1. You can have a look at it.
Best,
Ivan
Gunnar Wurl wrote:
> Hi,
>
> I am trying to insert the qooxdoo DateChooser widget into a RAP
> application.
> I registered the
> qooxdoo-0.8-sdk/framework/source/class/qx/ui/control/DateCho oser.js
> from the qooxdoo sdk as an API-Resource. When trying to instantiate a
> qx.ui.control.DateChooser object the Browser tells me this:
>
> Could not evaluate javascript response:
>
> TypeError: qx.ui.control is undefined
>
> So I think I got the part with registering the APIResource wrong.
> What do I have to do to make it work?
>
>
|
|
|
|
Re: Custom widget [message #106378 is a reply to message #106365] |
Thu, 25 September 2008 13:00 |
Eclipse User |
|
|
|
Originally posted by: ifurnadjiev.innoopract.com
Hi Gunnar,
I suppose that the problem is that the qooxdoo DateChooser relays on
some qooxdoo classes like GridLayout, Date and so on which are striped
from the qx.js used in RAP. You need to register all related classes as
well.
Best,
Ivan
Gunnar Wurl wrote:
> Thanks Ivan,
>
> but my problem is more concerning implementing a custom widget, it is
> not the DateTime widget in special. I have a general problem in
> understanding what to do to implement an existing qooxdoo widget into
> a RAP application. The GMaps example works, and I can use the qooxdoo
> widgets which are in the RAP built, but no exterior widgets.
>
|
|
|
Re: Custom widget [message #106406 is a reply to message #106337] |
Thu, 25 September 2008 13:16 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Gunnar,
RAP uses a subset of qx 0.7.3. The error you get is because the 0.8
DateChooser references thing that are not available in 0.7.3.
I doubt that it is possible to get widgets from 0.8 running in 0.7.3.
HTH
Rüdiger
-----------------------------
Rüdiger Herrmann
Innoopract
http://innoopract.com
delivering eclipse technology
Gunnar Wurl wrote:
> Hi,
>
> I am trying to insert the qooxdoo DateChooser widget into a RAP
> application.
> I registered the
> qooxdoo-0.8-sdk/framework/source/class/qx/ui/control/DateCho oser.js from
> the qooxdoo sdk as an API-Resource. When trying to instantiate a
> qx.ui.control.DateChooser object the Browser tells me this:
>
> Could not evaluate javascript response:
>
> TypeError: qx.ui.control is undefined
>
> So I think I got the part with registering the APIResource wrong.
> What do I have to do to make it work?
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03475 seconds