Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Request.js add some codes in RAP1.3 and UICallBackServiceHandler without any response(RAP Request.js _lastTransport )
Request.js add some codes in RAP1.3 and UICallBackServiceHandler without any response [message #547300] Fri, 16 July 2010 09:07 Go to next message
lyp  is currently offline lyp Friend
Messages: 17
Registered: July 2010
Junior Member
Hi Ivan and all experts,

The RAP version I am using is RAP1.3.

I found that the file of "org\eclipse\swt\Request.js" in "org.eclipse.rap.rwt.q07_1.3.0.20100615-1704.jar" adds some codes below:

// [if] Dispose the last transport before creating the new one
// see bug 301261
if( this._lastTransport != null ) {
this._lastTransport.getRequest().dispose();
this._lastTransport.dispose();
}

When my rap application is running, I found that org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler without any response, the server side cannot push data to client automatically, so I need to use the mouse to click on UI interface each time to trigger a UI refresh.
I can reproduce this problem every time.

But when I delete these codes, it works fine, the UICallBackServiceHandler work normally.the client UI data received from the server side can automatically refresh.

Best Regards
Re: Request.js add some codes in RAP1.3 and UICallBackServiceHandler without any response [message #547313 is a reply to message #547300] Fri, 16 July 2010 09:43 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi lyp,

as Yury already mentioned, bug:
317616: KeyListener breaks UICallback on IE, Chrome, Safari
https://bugs.eclipse.org/bugs/show_bug.cgi?id=317616
has been fixed in CVS HEAD and 1.3 maintenance branch.

Best,
Ivan

On 07/16/2010 12:07 PM, lyp wrote:
> Hi Ivan and all experts,
>
> The RAP version I am using is RAP1.3.
>
> I found that the file of "org\eclipse\swt\Request.js" in
> "org.eclipse.rap.rwt.q07_1.3.0.20100615-1704.jar" adds some codes below:
>
> // [if] Dispose the last transport before creating the new one
> // see bug 301261
> if( this._lastTransport != null ) {
> this._lastTransport.getRequest().dispose();
> this._lastTransport.dispose();
> }
>
> When my rap application is running, I found that
> org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler without
> any response, the server side cannot push data to client
> automatically, so I need to use the mouse to click on UI interface
> each time to trigger a UI refresh.
> I can reproduce this problem every time.
>
> But when I delete these codes, it works fine, the
> UICallBackServiceHandler work normally.the client UI data received
> from the server side can automatically refresh.
>
> Best Regards
Re: Request.js add some codes in RAP1.3 and UICallBackServiceHandler without any response [message #547330 is a reply to message #547313] Fri, 16 July 2010 10:42 Go to previous message
lyp  is currently offline lyp Friend
Messages: 17
Registered: July 2010
Junior Member
Hi Yury, Ivan:
Thanks a lot, this is exactly what I needed!
The problem is solved.

Best Regards.
Previous Topic:The problem of TableViewer
Next Topic:Request.js add some codes in RAP1.3 and UICallBackServiceHandler without any response
Goto Forum:
  


Current Time: Mon Mar 04 15:52:22 GMT 2024

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

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

Back to the top