Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Eclipse RAP RWT Theming
Eclipse RAP RWT Theming [message #902927] Tue, 21 August 2012 08:47 Go to next message
Tomas Kramaric is currently offline Tomas KramaricFriend
Messages: 8
Registered: August 2012
Junior Member
I have a question concerning RAP RWT Theming - skining or application style(theming) in Eclipse RAP can be done by extension to branding by applying our own CSS style, defining to which EntryPoint it should be applied.

My question is: I have main Workbench APP let say in bundle/plugin A. Before Workbench window is populated I am using JAAS Security (to secure access to my App, by puting correct user name+ pass in LoginDialog). JAAS Security is let say bundle/plugin B. When I apply branding to plugin A, this is even applied to plugin B (which has loginDialog window). If I make another branding - lets say i want to have different look for LoginDialog window & different for WorkbenchWindow, I make branding in plugin B (with different CSS style applied).

Behaviour is following: branding of plugin B is applied 1st, because LoginDialog from pluginB is called, then main app start from pluginA - but second branding is never applied (looks that 1st branding from plugin B override also branding from plugin A).

I would really appreciate some help, how to make different RWT theming for different parts of RAP application. Does anybody have some experience with this ?

Thank you in advance

Tomas Kramaric
Re: Eclipse RAP RWT Theming [message #903544 is a reply to message #902927] Fri, 24 August 2012 08:41 Go to previous message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

>
> I would really appreciate some help, how to make different RWT theming
> for different parts of RAP application. Does anybody have some
> experience with this ?
>

As you noted, you can have one branding for one entry-point. If you want
to use different CSS theming values for parts of your application,
custom variants are the best way to do it.

http://eclipse.org/rap/developers-guide/devguide.php?topic=rwt/theming.html#variants

Does that answer your question?

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:RAP on OSGi/Virgo in a cluster
Next Topic:JPA with Eclipselink MySQL jdbc in Eclipse RAP/RCP
Goto Forum:
  


Current Time: Thu Apr 25 01:40:40 GMT 2024

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

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

Back to the top