Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Splash screen hiding
Splash screen hiding [message #140816] Tue, 21 July 2009 12:52 Go to next message
Eclipse UserFriend
Originally posted by: robert.enyedi.numiton.com

Hi everyone,

I've browsed this newsgroup and found some posts dealing with the
display of a splash screen at application startup (on the client side).
I managed to implement this for my application - thanks for the help!

My problem is that the body that I set in the
org.eclipse.rap.ui.branding extension point remains there for the
lifetime of the application (view page source confirms this).

But how do you hide it? Can someone propose an elegant solution?

Thanks in advance,
Robert
Re: Splash screen hiding [message #140827 is a reply to message #140816] Tue, 21 July 2009 13:13 Go to previous messageGo to next message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Hi Robert,

couldn't you make your application full-size so that the "splash" is in
the background and is never visible again? Sames as it is done in
http://rap.eclipsesource.com/rapdemo/examples.

Regards,
Stefan.

Robert Enyedi schrieb:
> Hi everyone,
>
> I've browsed this newsgroup and found some posts dealing with the
> display of a splash screen at application startup (on the client side).
> I managed to implement this for my application - thanks for the help!
>
> My problem is that the body that I set in the
> org.eclipse.rap.ui.branding extension point remains there for the
> lifetime of the application (view page source confirms this).
>
> But how do you hide it? Can someone propose an elegant solution?
>
> Thanks in advance,
> Robert
Re: Splash screen hiding [message #140837 is a reply to message #140816] Tue, 21 July 2009 13:14 Go to previous messageGo to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Hi Robert,

You can implement and register your PhaseListener. The afterPhase method
could be used to invoke javascript code through the HtmlResponseWriter:

HtmlResponseWriter writer =
ContextProvider.getStateInfo().getResponseWriter();
writer.write("closeBranding();");

Where closeBranding() could be your own javascript function bundled with
your branded page.


Robert Enyedi wrote:
> Hi everyone,
>
> I've browsed this newsgroup and found some posts dealing with the
> display of a splash screen at application startup (on the client side).
> I managed to implement this for my application - thanks for the help!
>
> My problem is that the body that I set in the
> org.eclipse.rap.ui.branding extension point remains there for the
> lifetime of the application (view page source confirms this).
>
> But how do you hide it? Can someone propose an elegant solution?
>
> Thanks in advance,
> Robert
Re: Splash screen hiding [message #140911 is a reply to message #140827] Tue, 21 July 2009 15:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: robert.enyedi.numiton.com

Hi Stefan,

Sure, my application is already maximized and covers the splash. I just
wanted a way to completely hide something which isn't needed at all
after startup (a cosmetic fix, agreed).

Dmitry's solution looks sound. I will try it and post back the results.

Regards,
Robert

Stefan Roeck wrote:
> Hi Robert,
>
> couldn't you make your application full-size so that the "splash" is in
> the background and is never visible again? Sames as it is done in
> http://rap.eclipsesource.com/rapdemo/examples.
>
> Regards,
> Stefan.
>
> Robert Enyedi schrieb:
>> Hi everyone,
>>
>> I've browsed this newsgroup and found some posts dealing with the
>> display of a splash screen at application startup (on the client
>> side). I managed to implement this for my application - thanks for the
>> help!
>>
>> My problem is that the body that I set in the
>> org.eclipse.rap.ui.branding extension point remains there for the
>> lifetime of the application (view page source confirms this).
>>
>> But how do you hide it? Can someone propose an elegant solution?
>>
>> Thanks in advance,
>> Robert
Re: Splash screen hiding [message #1245493 is a reply to message #140816] Thu, 13 February 2014 22:25 Go to previous messageGo to next message
Barys Dubauski is currently offline Barys DubauskiFriend
Messages: 38
Registered: July 2009
Member
BTW, this used to work fine in RAP 2.0 without any extra workarounds. I.e. the splash screen body (set via branding extensions) was automatically removed once the application finished loading.

I'm seeing this "new" behavior myself as we are attempting to migrate RAP 2.0 -> 2.2

Is this a bug in 2.2?

[Updated on: Thu, 13 February 2014 22:26]

Report message to a moderator

Re: Splash screen hiding [message #1245494 is a reply to message #1245493] Thu, 13 February 2014 22:28 Go to previous message
Barys Dubauski is currently offline Barys DubauskiFriend
Messages: 38
Registered: July 2009
Member
Oops, didn't check the dates on this thread. This must have been a very old version of RAP. I'll open a new topic.
Previous Topic:Error 500 in Websphere: "class loading constraint violated"
Next Topic:Move Views
Goto Forum:
  


Current Time: Wed Apr 24 16:27:56 GMT 2024

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

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

Back to the top