Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » custom controls - firefox doesn't initiate AbstractWidgetLCA#renderChanges
custom controls - firefox doesn't initiate AbstractWidgetLCA#renderChanges [message #91942] Thu, 05 June 2008 10:21 Go to next message
Eclipse UserFriend
Dear All,

I'm busy with custom controls.

This is what I'm doing:

1. Implement my MyCustomControl like it was with google maps demo.
2. Then invoke myCustomControl.changeSomething.

As suggested, MyCustomControlLCA#renderChanges will ask myCustomControl
whether it has any changes or not.

3. Internet explorer: renderChanges is invoked automatically.
Firefox: renderChanges has not been invoked until I click to somewhere.

I'm scratching my head.
Re: custom controls - firefox doesn't initiate AbstractWidgetLCA#renderChanges [message #92032 is a reply to message #91942] Thu, 05 June 2008 17:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi Dimitry,

renderChanges is invoked for each widget with every request. Could
you provide some more details, ideally a code snippet, on how to
reproduce this?

Cheers,
Rüdiger


Dmitry Pryadkin wrote:
> Dear All,
>
> I'm busy with custom controls.
>
> This is what I'm doing:
>
> 1. Implement my MyCustomControl like it was with google maps demo.
> 2. Then invoke myCustomControl.changeSomething.
>
> As suggested, MyCustomControlLCA#renderChanges will ask myCustomControl
> whether it has any changes or not.
>
> 3. Internet explorer: renderChanges is invoked automatically.
> Firefox: renderChanges has not been invoked until I click to somewhere.
>
> I'm scratching my head.
Re: custom controls - firefox doesn't initiate AbstractWidgetLCA#renderChanges [message #92076 is a reply to message #92032] Fri, 06 June 2008 03:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi Rüdiger,

> renderChanges is invoked for each widget with every request. Could you
> provide some more details, ideally a code snippet, on how to reproduce
> this?

So the point is: how to tell the browser that it should issue a request?
Because, sometimes it doesn't do it. Meanwhile, the serverside has
changes to present.

I'm at my own investigation for a bit now. I suspect that it is all
because I have another asynchronous layer, other than ajax.
Re: custom controls - firefox doesn't initiate AbstractWidgetLCA#renderChanges [message #92158 is a reply to message #92076] Fri, 06 June 2008 12:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Dmitry,

I am not quite sure what you are trying to achive. To clerify, could
you send some code or share some more details?

Did you read the custom widgets tutorial? There you should find how
to send request to the server.

The UICallBack class provides means to tell the client that there
are changes on the server-side that should promoted to the client.

HTH
Rüdiger

Dmitry Pryadkin wrote:
> Hi Rüdiger,
>
>> renderChanges is invoked for each widget with every request. Could you
>> provide some more details, ideally a code snippet, on how to reproduce
>> this?
>
> So the point is: how to tell the browser that it should issue a request?
> Because, sometimes it doesn't do it. Meanwhile, the serverside has
> changes to present.
>
> I'm at my own investigation for a bit now. I suspect that it is all
> because I have another asynchronous layer, other than ajax.
Re: custom controls - firefox doesn't initiate AbstractWidgetLCA#renderChanges [message #92273 is a reply to message #92158] Sat, 07 June 2008 02:35 Go to previous message
Eclipse UserFriend
Hello Rüdiger,

I've read the tutorial. And it seems that UICallback is just what I need.

Thanks.


Rüdiger Herrmann wrote:
> Dmitry,
>
> I am not quite sure what you are trying to achive. To clerify, could you
> send some code or share some more details?
>
> Did you read the custom widgets tutorial? There you should find how to
> send request to the server.
>
> The UICallBack class provides means to tell the client that there are
> changes on the server-side that should promoted to the client.
Previous Topic:StyledText
Next Topic:New version of Upload Widget available
Goto Forum:
  


Current Time: Wed Jul 16 19:12:03 EDT 2025

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

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

Back to the top