Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » UICallback and dialog events
UICallback and dialog events [message #111053] Sat, 01 November 2008 10:48 Go to next message
Boris Stepanov is currently offline Boris StepanovFriend
Messages: 68
Registered: July 2009
Member
Hi all!

I have http service which used to generate html, I also have editor
containing browser widget and URL linking to http service. Service can
ask user some information during generation html (login, password, etc)
and it shows dialog for this aim.

So, when I open editor, browser sends request to service and it starts
to generate html, but I don't see dialog because UI doesn't know about
changes and cannot show anything. I add UICallback.activate and
UICallback.deactivate to my entry point and now I can see dialog. Dialog
is opened from code in Display.syncExec.

All events don't work. I cannot close dialog using any buttons (cancel,
ok, close button in the right top corner), my modify listeners also
don't work.

What is the reason of the problem?

Thanks.
Re: UICallback and dialog events [message #111586 is a reply to message #111053] Fri, 07 November 2008 07:47 Go to previous message
Boris Stepanov is currently offline Boris StepanovFriend
Messages: 68
Registered: July 2009
Member
Hi again!

It is very important for me to resolve this problem! I've debugged this
problem two days, but don't find solution.

I can make and attach simple snippet. One Browser widget (In my
application it is inside editor), one HttpServiceHandler, Browser should
have URL linked to HttpServiceHandler alias, service show any dialog
using display.syncExec. After that when dialog will be shown you can
click on OK, Cancel or Close button but they won't do anything.

I think that all events are switched off on the client side and it
occurs when dialog.open method is invoked. I tried to see requests and
response using HTTP sniffer and I found that in Firefox when I change
window size, UI is updated and events are sended to server. The same
actions do nothyng for IE.

Any help is welcome.

Thanks.


> Hi all!
>
> I have http service which used to generate html, I also have editor
> containing browser widget and URL linking to http service. Service can
> ask user some information during generation html (login, password, etc)
> and it shows dialog for this aim.
>
> So, when I open editor, browser sends request to service and it starts
> to generate html, but I don't see dialog because UI doesn't know about
> changes and cannot show anything. I add UICallback.activate and
> UICallback.deactivate to my entry point and now I can see dialog. Dialog
> is opened from code in Display.syncExec.
>
> All events don't work. I cannot close dialog using any buttons (cancel,
> ok, close button in the right top corner), my modify listeners also
> don't work.
>
> What is the reason of the problem?
>
> Thanks.
Previous Topic:Help required on Upload Widget
Next Topic:WrapData of Section and its description
Goto Forum:
  


Current Time: Tue Jan 31 21:40:53 GMT 2023

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

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

Back to the top