Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Own favicon and title for application when using RAP business design
Own favicon and title for application when using RAP business design [message #635023] Mon, 25 October 2010 12:49 Go to next message
Sergey Kuznetsov is currently offline Sergey KuznetsovFriend
Messages: 29
Registered: July 2009
Junior Member
Is there a way for application to set it's own favicon and/or title when
opened in business design? Normal branding seems doesn't work in this case.

I'm playing with rwtdemo example and when it opened as

http://localhost:8080/rap

it has it's own title (as is in branding section), but if I use

http://localhost:8080/business?startup=default

I have "RAP Business Design" in title.

Thanks in advance,
Sergey.
Re: Own favicon and title for application when using RAP business design [message #635040 is a reply to message #635023] Mon, 25 October 2010 13:54 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2427
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Sergey,
look at "org.eclipse.rap.examples" plugin
(" /cvsroot/rt/org.eclipse.rap/runtime.ui/org.eclipse.rap.examp les ") for
an example how to do it.
You have to define your own branding:
<extension
point="org.eclipse.rap.ui.branding">
<branding
body="html/body.html"
defaultEntrypointId="org.eclipse.rap.examples.entryPoint"
favicon="icons/favicon.png"
id="org.eclipse.rap.examples.branding"
servletName="examples"
themeId="org.eclipse.rap.design.example.business.theme"
title="RAP Examples">
<presentationFactory

defaultLayoutId="org.eclipse.rap.design.example.business.layout "
id="org.eclipse.rap.design.example.business.factory">
<defaultStackPresentation
id="org.eclipse.rap.design.example.stack.view">
</defaultStackPresentation>
</presentationFactory>
</branding>
</extension>
HTH,
Ivan

On 10/25/2010 3:49 PM, Sergey Kuznetsov wrote:
> Is there a way for application to set it's own favicon and/or title
> when opened in business design? Normal branding seems doesn't work in
> this case.
>
> I'm playing with rwtdemo example and when it opened as
>
> http://localhost:8080/rap
>
> it has it's own title (as is in branding section), but if I use
>
> http://localhost:8080/business?startup=default
>
> I have "RAP Business Design" in title.
>
> Thanks in advance,
> Sergey.
>
>
Re: Own favicon and title for application when using RAP business design [message #635068 is a reply to message #635040] Mon, 25 October 2010 14:49 Go to previous message
Sergey Kuznetsov is currently offline Sergey KuznetsovFriend
Messages: 29
Registered: July 2009
Junior Member
Hi Ivan,

Thanks a lot. Exactly what I want.

Brg,
Sergey.

"Ivan Furnadjiev" <ivan@eclipsesource.com> wrote in message
news:ia41vv$euo$1@news.eclipse.org...
> Hi Sergey,
> look at "org.eclipse.rap.examples" plugin
> (" /cvsroot/rt/org.eclipse.rap/runtime.ui/org.eclipse.rap.examp les ") for an
> example how to do it.
> You have to define your own branding:
> <extension
> point="org.eclipse.rap.ui.branding">
> <branding
> body="html/body.html"
> defaultEntrypointId="org.eclipse.rap.examples.entryPoint"
> favicon="icons/favicon.png"
> id="org.eclipse.rap.examples.branding"
> servletName="examples"
> themeId="org.eclipse.rap.design.example.business.theme"
> title="RAP Examples">
> <presentationFactory
>
> defaultLayoutId="org.eclipse.rap.design.example.business.layout "
> id="org.eclipse.rap.design.example.business.factory">
> <defaultStackPresentation
> id="org.eclipse.rap.design.example.stack.view">
> </defaultStackPresentation>
> </presentationFactory>
> </branding>
> </extension>
> HTH,
> Ivan
>
> On 10/25/2010 3:49 PM, Sergey Kuznetsov wrote:
>> Is there a way for application to set it's own favicon and/or title when
>> opened in business design? Normal branding seems doesn't work in this
>> case.
>>
>> I'm playing with rwtdemo example and when it opened as
>>
>> http://localhost:8080/rap
>>
>> it has it's own title (as is in branding section), but if I use
>>
>> http://localhost:8080/business?startup=default
>>
>> I have "RAP Business Design" in title.
>>
>> Thanks in advance,
>> Sergey.
>>
>>
Previous Topic:Using Tomcat Sercurity Manager in RAP
Next Topic:Redirect browser after close workbench
Goto Forum:
  


Current Time: Thu Oct 10 05:01:34 GMT 2024

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

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

Back to the top