Custom theme can be applied only via URL [message #101883] |
Mon, 11 August 2008 10:42 |
|
Hi all,
I tried to define my own theme using css file and register it via
org.eclipse.rap.ui.themes & put the id in the branding ext. point but it
doesn't work.
But if I put the theme id in the URL it works as expected.
Any idea why ?
Any help would be greatly appreciated.
Regards,
Setya
|
|
|
Re: Custom theme can be applied only via URL [message #102008 is a reply to message #101883] |
Tue, 12 August 2008 09:01 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi Setya,
Setya wrote:
> I tried to define my own theme using css file and register it via
> org.eclipse.rap.ui.themes & put the id in the branding ext. point but it
> doesn't work.
> But if I put the theme id in the URL it works as expected.
>
> Any idea why ?
Brandings are bound to a servlet name. You have to use the servlet name
specified in the branding instead of the default "rap" to activate your
branding.
Have a look at the branding in the demo project. The servlet name is
"tea" and you activate it using http://localhost:9090/tea instead of
http://localhost:9090/rap.
Best Regards, Ralf
|
|
|
|
Re: Custom theme can be applied only via URL [message #102116 is a reply to message #102039] |
Tue, 12 August 2008 10:50 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi Setya,
Setya wrote:
> I have to put 'demo' in the Servlet Name field of RAP App Launcher
> instead of 'rap' but then the URL produced is
> http://127.0.0.1:55945/demo?startup=demo because I also put 'demo' in
> Entry Point field. Although it runs fine is there any way I can change
> it to http://127.0.0.1:55945/demo via launcher ?
If your "demo" is your default entry point, you can skip it in the URL.
This is currently not possible with the RAP launcher, but it makes no
difference, whether the default entry point is explicitly appended to
the URL or implicitly chosen. I think that for a development
environment, explicit is generally preferable.
Best regards, Ralf
|
|
|
Powered by
FUDForum. Page generated in 0.03845 seconds