Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RWT in IFRAME
RWT in IFRAME [message #1210061] Mon, 25 November 2013 21:04 Go to next message
bogdan toma is currently offline bogdan tomaFriend
Messages: 39
Registered: February 2010
Member
Hello all,
I have the following situation:
I have an application done with RWT2.0. This application loads inside an iframe.
When the iframe is loading (not done loading), if i change the page in surrounding application (click on a link that redirects to some other page), for a short time the following message appears:
"The server seems to be temporarily unavailable!"
I think this is because the browser cancel the iframe request (since the element dissapears), but somehow the message is misleading.
My question is: can I do something about the message? Can I do something about the issue only from inside RWT application ?
Do i have to make the 2 applications communicate using some global variables?

I tested using Chrome 31.0.1650.57 m & Firefox25.0.1.
Thank you.
Re: RWT in IFRAME [message #1211690 is a reply to message #1210061] Tue, 26 November 2013 15:16 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

You can change the message as part of the localization[1], but I don't
think that's what you should do. If you use javascript to react to a
user clicking a link (I don't know right now how to do that, you will
have to research it yourself), you could just hide the iframe (setting
style.display to "none"). That's the best solution I can think of.

Greetings,
Tim

http://eclipse.org/rap/developers-guide/devguide.php?topic=internationalization.html&version=2.1

Am 25.11.2013 22:04, schrieb bogdan toma:
> Hello all,
> I have the following situation:
> I have an application done with RWT2.0. This application loads inside an
> iframe.
> When the iframe is loading (not done loading), if i change the page in
> surrounding application (click on a link that redirects to some other
> page), for a short time the following message appears:
> "The server seems to be temporarily unavailable!"
> I think this is because the browser cancel the iframe request (since the
> element dissapears), but somehow the message is misleading.
> My question is: can I do something about the message? Can I do something
> about the issue only from inside RWT application ? Do i have to make the
> 2 applications communicate using some global variables?
>
> I tested using Chrome 31.0.1650.57 m & Firefox25.0.1.
> Thank you.
>

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RWT in IFRAME [message #1212108 is a reply to message #1211690] Tue, 26 November 2013 19:24 Go to previous message
bogdan toma is currently offline bogdan tomaFriend
Messages: 39
Registered: February 2010
Member
Deleted.

[Updated on: Wed, 27 November 2013 14:17]

Report message to a moderator

Previous Topic:rowTemplates and horizontal cells
Next Topic:Browser widget has unexpected behavior using videos (YouTube)
Goto Forum:
  


Current Time: Sat Apr 20 02:43:51 GMT 2024

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

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

Back to the top