Trouble with the new Client API [message #1085960] |
Tue, 13 August 2013 15:46 |
Thomas Kratz Messages: 165 Registered: July 2009 |
Senior Member |
|
|
Hi, I tried to ask this a while ago, but as I came back to my problem it's still there.
I tried to create a widget based on select2.js with the new client api. What I see is, that when I have multiple widgets on screen, more or less reproducible onRender of some widgets does not get called, but then it gets called on a later post request for e.g. when i resize.
I created a simple example to show the problem and I really hope you can afford a longer minute to check it out. Its really a nice thing having this dropdown, and I hope it could make it into the rap community. Let me know if I can be of assistance.
The example is on https://github.com/eiswind/select2-rap. Just checkout, set targetplatform, launch as rwt.
You'll hopefully see that the second widget appears on resize. There are some console logs in there from them I just see that on render is not being called.
Cheers
Thomas (holiday coding session)
[Updated on: Tue, 13 August 2013 15:47] Report message to a moderator
|
|
|
Re: Trouble with the new Client API [message #1086470 is a reply to message #1085960] |
Wed, 14 August 2013 08:44 |
Tim Buschtoens Messages: 396 Registered: July 2009 |
Senior Member |
|
|
Hi.
If you are (relatively) sure that "render" is not fired if it should
please open a bug to track this issue. If it's a bug we might get it
into a Service Release.
Greetings,
Tim
Am 13.08.2013 17:46, schrieb Thomas Kratz:
> Hi, I tried to ask this a while ago, but as I came back to my problem
> it's still there.
>
> I tried to create a widget based on select2.js with the new client api.
> What I see is, the if I have multiple widgets on screen, more or less
> reproducable onRender of some widgets does not get called, but then it
> gets called on a later post request for e.g. when i resize.
>
> I created a simple example to show the problem and I really hope you can
> afford a longer minute to check it out. Its really a nice thing having
> this dropdown, and I hope it could make it into the rap community. Let
> me know if I can be of assistance.
>
> The example is on https://github.com/eiswind/select2-rap. Just checkout,
> set targetplatform, launch as rwt.
>
> You'll hopefully see that the second widget appears on resize. There are
> some console logs in there from them I just see that on render is not
> being called.
>
> Cheers
> Thomas (holiday coding session)
>
>
--
Tim Buschtöns
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03455 seconds