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 16:04 Go to next message
bogdan toma is currently offline bogdan toma
Messages: 38
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 10:16 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 379
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 14:24 Go to previous message
bogdan toma is currently offline bogdan toma
Messages: 38
Registered: February 2010
Member
Deleted.

[Updated on: Wed, 27 November 2013 09: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: Wed Jul 23 05:54:49 EDT 2014

Powered by FUDForum. Page generated in 0.03747 seconds