Skip to main content


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 15:46 Go to next message
Thomas Kratz is currently offline Thomas KratzFriend
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 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
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/
Re: Trouble with the new Client API [message #1086520 is a reply to message #1086470] Wed, 14 August 2013 09:49 Go to previous message
Thomas Kratz is currently offline Thomas KratzFriend
Messages: 165
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:Adding a MouseMove Listener to a Remote Object-based Custom Widget
Next Topic:Can't Revert from Rap 2.1 to RAP 1.5
Goto Forum:
  


Current Time: Thu Apr 25 02:18:39 GMT 2024

Powered by FUDForum. Page generated in 0.02886 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top