Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Branding functionality
Branding functionality [message #42006] Thu, 16 August 2007 20:55 Go to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Hi,

in order to "brand" your product, we've introduced some branding
functionalities which can be found in the org.eclipse.rap.ui.branding
extension point.

You need to adapt your existing plugin.xml files because two of the
schema definitions have changed:

* org.eclipse.rap.ui.theme has no more its default attribute
* org.eclipse.rap.ui.entrypoint now needs an id in order to identify it


Greets
Benny
Re: Branding functionality [message #42451 is a reply to message #42006] Tue, 21 August 2007 08:01 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Benny,

Thanks, this is what I've been waiting for.

- What's body element for ?
- If I want user to access my app using parameter ?foo=bar, where to put
the parameter specification ?


Regards,

Setya
Re: Branding functionality [message #42511 is a reply to message #42451] Tue, 21 August 2007 09:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: b.muskalla.gmx.net

Hi,

Setya wrote:
> Benny,
>
> Thanks, this is what I've been waiting for.
>
> - What's body element for ?

The body element will be used as body of your initial startup page. Just
put a valid html fragment into the body field and restart the server. Be
sure the template is
a) valid
b) only has content which is valid inside a body tag regarding the W3
HTML4 spec

> - If I want user to access my app using parameter ?foo=bar, where to put
> the parameter specification ?

It's not possible and I don't think that we'll work on this for 1.0 as
this would affect the API of RAP. But I think it should be somehow
possible from outside to redirect such requests to the right url.

>
>
> Regards,
>
> Setya
>

Greets
Benny
Re: Branding functionality [message #42540 is a reply to message #42511] Tue, 21 August 2007 10:42 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Benny,

> The body element will be used as body of your initial startup page. Just
> put a valid html fragment into the body field and restart the server. Be
> sure the template is
> a) valid
> b) only has content which is valid inside a body tag regarding the W3
> HTML4 spec

So in the body element I should specify the path to the html file which
content conforms to your explanation above ?

>> - If I want user to access my app using parameter ?foo=bar, where to put
>> the parameter specification ?

> It's not possible and I don't think that we'll work on this for 1.0 as
> this would affect the API of RAP. But I think it should be somehow
> possible from outside to redirect such requests to the right url.

So what's parameter element in entrypoint ext. point for ?

Best Regards,

Setya
Re: Branding functionality [message #42571 is a reply to message #42540] Tue, 21 August 2007 10:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: b.muskalla.gmx.net

Setya wrote:
> Benny,
>
>> The body element will be used as body of your initial startup page.
>> Just put a valid html fragment into the body field and restart the
>> server. Be sure the template is
>> a) valid
>> b) only has content which is valid inside a body tag regarding the W3
>> HTML4 spec
>
> So in the body element I should specify the path to the html file which
> content conforms to your explanation above ?

Yep.

>
>>> - If I want user to access my app using parameter ?foo=bar, where to
>>> put the parameter specification ?
>
>> It's not possible and I don't think that we'll work on this for 1.0 as
>> this would affect the API of RAP. But I think it should be somehow
>> possible from outside to redirect such requests to the right url.
>
> So what's parameter element in entrypoint ext. point for ?

The paramter is the value for the startup request parameter.

localhost:9090/rap?startup=foo --> entrypoint with paramter 'foo'
localhost:9090/rap?startup=bar --> entrypoint with paramter 'bar'

Greets
Benny
>
> Best Regards,
>
> Setya
>
Re: Branding functionality [message #42695 is a reply to message #42571] Wed, 22 August 2007 09:10 Go to previous message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Benny,

Thank you very much for your help.

Best Regards,

Setya
Previous Topic:Factory methods for Colors, Fonts, and Images
Next Topic:M6 released
Goto Forum:
  


Current Time: Fri Jun 09 13:53:29 GMT 2023

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

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

Back to the top