Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Trouble with the new Client API
Trouble with the new Client API [message #1085960] Tue, 13 August 2013 11:46 Go to next message
Thomas Kratz is currently offline Thomas Kratz
Messages: 160
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 11: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 04:44 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 355
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/
Re: Trouble with the new Client API [message #1086520 is a reply to message #1086470] Wed, 14 August 2013 05:49 Go to previous message
Thomas Kratz is currently offline Thomas Kratz
Messages: 160
Registered: July 2009
Senior Member
Thanks Tim for your support.
I just filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=415040
Previous Topic:Rotated Text in RAP
Next Topic:RAP/EMF Integration
Goto Forum:
  


Current Time: Sun Apr 20 02:58:58 EDT 2014

Powered by FUDForum. Page generated in 0.01603 seconds