Re: Serializing Enum with Marker Interface

2010-10-29 Thread Didier DURAND
Hi Mike, Probably an issue in the location of the various classes: can you tell us the packages that they belong to ? didier On Oct 29, 11:23 pm, Mike wrote: > I tried changing the line to: > > public enum Color implements IsConfigurable, Serializable > > and I'm still getting the same compile

Re: UiBinder initWidget fails

2010-10-29 Thread GWTNewbie
Issue resolved !! The FormPanel can have only 1 child widget. So the trick is to wrap the other widgets within a HorizontalPanel.. On Oct 29, 9:52 pm, GWTNewbie wrote: > Hello: > I have a GWT widget that subclasses the Composite, defined using > UiBinder. I also have a FormPanel within the widget

GWT2.1 : sample Data bound views

2010-10-29 Thread Jean-Francois L.
Hello, I just read about Data bound views in GWT 2.1 release http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#Editors I'm looking for a sample easy to understand Thanks for your help -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit

UiBinder initWidget fails

2010-10-29 Thread GWTNewbie
Hello: I have a GWT widget that subclasses the Composite, defined using UiBinder. I also have a FormPanel within the widget. However it appears that initWidget call fails for the widget. I have included the UiBinder definition, it would be great if someone could let me know if I am missing somethin

Re: Animate an images rotation

2010-10-29 Thread Brendan Kenny
Hi Stymie, I wrote a GWT module early this year to wrap up CSS3 2d transforms which should be exactly what you need. It supports Safari 3.2+, Chrome 5+, Firefox 3.5+, Opera 10.5+, and Internet Explorer 8. The code site is: http://code.google.com/p/gwt-ns/ and I wrote a tutorial with an example a

FireFox and Chrome cannot display my logo page

2010-10-29 Thread slledru
I have a Logo panel defined and simply displaying a PNG file. And it doesn't work on FireFox and Chrome. It works fine on IE. And I can't figure out how to attach my zp file so anyone can see what I am doing wrong. -- You received this message because you are subscribed to the Google Groups "Go

Re: 2.1 linker changes

2010-10-29 Thread Shawn Brown
> Later the log reports  "Emitting resource projectName.nocache.js" Just to clarify. Version 2.0.4 includes appName.nocache.js in the ArtifactSet passed into the link method of a class that extends AbstractLinker AND reports writing it to disk "Emitting resource appName.nocache.js" and writes it

Re: GWT 2.1 CELL TABLE

2010-10-29 Thread bradr
To do this, you have to override the CellTable's default style. Because CellTable uses a CssResource, which ultimately gets obfuscated when you compile, you have to create your own implementation and pass it to the CellTable in the constructor. Here is how I did it: Step 1) Create your own implem

Reference to undefined variable gwt_remote_ui_server_port

2010-10-29 Thread leslie
Eclipse Galileo Build id 20090920-1017 Java 5 Mac OS X 10.5.8 Tomcat 6 GWT 2.0.3 Hi I've attempted to move my eclipse workspace to another computer so I can continue to build my GWT on a different machine. But when I attempt to run the application I see the following error message: "Reference t

Re: Serializing Enum with Marker Interface

2010-10-29 Thread Mike
I tried changing the line to: public enum Color implements IsConfigurable, Serializable and I'm still getting the same compile error. Thanks! Mike On Oct 29, 3:57 pm, Patrick Tucker wrote: > The enum itself can implement Serializable > > On Oct 29, 2:41 pm, Mike wrote: > > > How can I make a

2.1 linker changes

2010-10-29 Thread Shawn Brown
Hi, On upgrade to 2.1, a linker I used to catch the projectName.nocache.js file that I need. I used to find it in the link method but now it doesn't appear in the ArtifactSet. @Override public ArtifactSet link(TreeLogger logger, LinkerContext context, ArtifactSet artifacts) throws

Re: gwt-maven-plugin from Google and Codehaus

2010-10-29 Thread Hilco Wijbenga
Hi David, On 29 October 2010 08:38, David Chandler wrote: > And yes, this is working for me and many others once > jdo2-api-2.3-ec.jar is installed in local repo. Are you using App > Engine and JDO in your project? If not, you can remove all the repos, > maven-gae-plugin, and appengine deps. Oka

Re: GWT + Spring 3.0 + hibernate references and easy guides

2010-10-29 Thread fabrizio straccia
thank you for your reply! Finally I have solved the problem following this article : http://www.javacodegeeks.com/2010/07/gwt-2-spring-3-jpa-2-hibernate-35.html for persistance layer i have used Hibernate/jpa . I hope this can help someone ;) On 22 Ott, 16:36, David Chandler wrote: > See > also

Re: Serializing Enum with Marker Interface

2010-10-29 Thread Patrick Tucker
The enum itself can implement Serializable On Oct 29, 2:41 pm, Mike wrote: > How can I make an enum that implements a marker interface serializable > in GWT 2.0? > > The below example: > > public interface IsConfigurable > { > > } > > public enum Color implements IsConfigurable > { >     BLUE, >

Re: gwt-TabLayoutPanelContent adding 6 px of padding

2010-10-29 Thread Patrick Tucker
I was looking at it from a lesser of 2 evils stand point. Developers who want the padding can easily add it. Developers who don't want it have to jump hoops to override the style. Seems like it shouldn't be there if that is the case... I was not aware of the postfix !important, it did the trick

Serializing Enum with Marker Interface

2010-10-29 Thread Mike
How can I make an enum that implements a marker interface serializable in GWT 2.0? The below example: public interface IsConfigurable { } public enum Color implements IsConfigurable { BLUE, RED; } Results in the following: [java] Compiling module com.colors [java]Validatin

Re: What Major Companies Use GWT???

2010-10-29 Thread Thomas Broyer
On 29 oct, 18:50, notcourage wrote: > Most C2B apps need to be crawlable. Though google search has a hard-to- > implement way to do this, a hybrid approach will work best: > traditional page generation for the "read only" pages and gwt for > certain "editors". gwt's lack of data binding & field

Re: GWT v2.1 MVP, STS/ROO, JDO, Objectify & App Engine

2010-10-29 Thread David Chandler
Thanks again, Jeff. GWT+GAE re-ignited my own enthusiasm for Web development prior to my joining Google. It's the platform I've been waiting for these past 2^4 years as a Web apps developer! Regarding Roo templates for Objectify POJO support, I think you mean that you'd like to contribute them? ;-

error with test classes in gwt packages

2010-10-29 Thread decitrig
I have my java source under src/ and my testing classes under test/, with the same package structure under each. After upgrading GPE and GWT recently, I'm getting errors about easymock and junit classes not being found in source packages. The app compiles & runs just fine, but it's annoying to have

Re: Update from 2.1.0 RC1 to 2.1.0 giving Widget XXX not a subclass of GWT's Widget class

2010-10-29 Thread alanmechy
Thanks Jeff, Apologies for overlooking that thread. Alan On Oct 29, 10:34 am, Jeff Larsen wrote: > They know about it and are working on a fix. > > You can shut off the error message (directions in this link). > > http://groups.google.com/group/google-web-toolkit/browse_thread/threa... > > On

Re: Announcing GWT 2.1

2010-10-29 Thread Alejandro D. Garin
Hi, The Cell Widgets documentation at: http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html at the bottom say: *To Update Data Range Changes from a Cell Widget:* 1. Create a subclass of AsyncListViewAdapter

Re: GWT v2.1 MVP, STS/ROO, JDO, Objectify & App Engine

2010-10-29 Thread Jeff Schwartz
Hi David, Thank you for your timely response. Kudos well deserved should always be offered. I and a number of developer friends look upon GWT not as an evolutionary product but as a revolutionary one. One friend in fact recently commented that she hasn't had this much fun coding since Visual Basic

GWT 2.1 CELL TABLE

2010-10-29 Thread bond
Hi, is possibile to remove the box around the single cell that appears when I click on a cell? Thanks very much Best regards -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegr

Re: GWT v2.1 MVP, STS/ROO, JDO, Objectify & App Engine

2010-10-29 Thread David Chandler
Hi Jeff, Thanks for the kudos. I have limited understanding of Roo, but I believe you can modify the code generation templates to use any data access layer you like. Having said that, your particular use case will be much easier in the next GWT point release as we plan to add RequestFactory suppor

GWT v2.1 MVP, STS/ROO, JDO, Objectify & App Engine

2010-10-29 Thread Jeff Schwartz
Hi, First off, let me begin by saying how excited I am about the latest release of GWT, especially in regard to its new MVP frameworks. Congratulations, Google, and great job! I have an existing GWT/App Engine project which is based on the previous GWT release and which doesn't use any sort of fr

Code for sample Contacts application out of date

2010-10-29 Thread cri
I downloaded the Contacts application from webpage "Large scale application development and MVP" (http://code.google.com/webtoolkit/ articles/mvp-architecture.html). It seems that this is somewhat out of date. For example, it makes use of HandlerManager which according to the Javadocs is deprecated

Re: gwt-TabLayoutPanelContent adding 6 px of padding

2010-10-29 Thread Jeff Larsen
You can also add !important to the end of your style definition and that'll override the inline padding: 3px 3px 3px 3px !important; should work (as an example). On Oct 29, 11:33 am, John LaBanca wrote: > The default styles won't work in every case.  For something like padding, > some users will

Re: Update from 2.1.0 RC1 to 2.1.0 giving Widget XXX not a subclass of GWT's Widget class

2010-10-29 Thread Jeff Larsen
They know about it and are working on a fix. You can shut off the error message (directions in this link). http://groups.google.com/group/google-web-toolkit/browse_thread/thread/684414e23255b8a7# On Oct 29, 12:25 pm, alanmechy wrote: > Hi > > I've just upgraded my Helios from GWT 2.1.0 RC1 to 2

Re: @ImageOptions doesn't resize lossy jpgs?

2010-10-29 Thread Potate
Will do. I just realized 2.1 final is out. I'll test again in 2.1 before submitting. On Oct 29, 12:34 pm, John LaBanca wrote: > Can you create a bug in issue tracker to track this?  It definitely seems > like a bug. > > Thanks, > John LaBanca > jlaba...@google.com > > > > > > > > On Fri, Oct 29,

Update from 2.1.0 RC1 to 2.1.0 giving Widget XXX not a subclass of GWT's Widget class

2010-10-29 Thread alanmechy
Hi I've just upgraded my Helios from GWT 2.1.0 RC1 to 2.1.0. I have a ui.xml file which has a reference to a class derived from com.google.gwt.user.client.ui.Composite. This has been in my project since 2.0.3 and worked just fine. However after updating from 2.1.0. RC1 to 2.1.0 I'm getting the abo

Re: Animate an images rotation

2010-10-29 Thread K. Adam Christensen
Hi, stymie writes: > I was wondering if there were any built in ways or libraries that > would allow me to continously rotate an image in a 360 degrees > circle.Been using google but have not come up with anything as of yet. You could extend GWT's Animation class to loop through 360 images to g

Re: DI, JUnit and GWT.create(bundle.class)

2010-10-29 Thread Tyler Holien
Dependency injection would work very well here. The article on MVP with Activities and Places has a really good example of using GWT.create() only in onModuleLoad() and then using manual dependency injection to pass in your dependencies without GIN. Here's the article: http://code.google.com/webto

Re: What Major Companies Use GWT???

2010-10-29 Thread notcourage
Most C2B apps need to be crawlable. Though google search has a hard-to- implement way to do this, a hybrid approach will work best: traditional page generation for the "read only" pages and gwt for certain "editors". gwt's lack of data binding & field validation make programming editors inconvenien

Re: Nested Views in MVP

2010-10-29 Thread PhilBeaudoin
And if you think, as a lot of people seems to do, that nesting presenters helps make your app cleaner, then you can look at MVP solutions built on top of GWT that natively support presenter nesting such as GWTP: http://gwtplatform.com Cheers, Philippe On Oct 29, 8:40 am, Thomas Broyer wrote:

Re: @ImageOptions doesn't resize lossy jpgs?

2010-10-29 Thread John LaBanca
Can you create a bug in issue tracker to track this? It definitely seems like a bug. Thanks, John LaBanca jlaba...@google.com On Fri, Oct 29, 2010 at 12:12 PM, Potate wrote: > oops, forgot to say this is GWT 2.1 RC1 > > On Oct 29, 12:10 pm, Potate wrote: > > This seems a bug to me. Can someo

Re: gwt-TabLayoutPanelContent adding 6 px of padding

2010-10-29 Thread John LaBanca
The default styles won't work in every case. For something like padding, some users will prefer the padding so the widget isn't against the edge of the panel, and some won't because they want the widget to fill the entire panel. Either way, there is no perfect answer that fits all apps. Thanks,

Re: GWT 2.1 Migration Experiment

2010-10-29 Thread John LaBanca
@buzdin - We haven't seen any significant change in code size except in places were we've actually used the new APIs (ex. Cell Widgets, SafeHtml). I just compared the GWT 2.0.4 Showcase sample to the GWT 2.1 Showcase sample, and all code increases are accounted for by Showcase's refactor and use

Re: ScrollPanel steals focus from FlexTable

2010-10-29 Thread MickeyR
Cracking ! Works like a dream the scrollIntoView(). Many thanks, M. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: @ImageOptions doesn't resize lossy jpgs?

2010-10-29 Thread Potate
oops, forgot to say this is GWT 2.1 RC1 On Oct 29, 12:10 pm, Potate wrote: > This seems a bug to me. Can someone help me verify this? > > when using a jpg like >         @Source("images/Status-Verified.jpg") >         @ImageOptions(width=10) >         public ImageResource OrderStatusVerified(); >

@ImageOptions doesn't resize lossy jpgs?

2010-10-29 Thread Potate
This seems a bug to me. Can someone help me verify this? when using a jpg like @Source("images/Status-Verified.jpg") @ImageOptions(width=10) public ImageResource OrderStatusVerified(); the width parameter seems to have no effect. when using a png like @Source("imag

gwt-TabLayoutPanelContent adding 6 px of padding

2010-10-29 Thread Patrick Tucker
When I place an object into a TabLayoutPanel it adds the style gwt- TabLayoutPanelContent. This style adds 6 px of padding to my widget. In my style sheet I have already set the padding value I want it to have. Is there any way you guys can remove this from the SDK? I have to either modify the

Re: How to generate xhtml using GWT

2010-10-29 Thread Thomas Broyer
On 29 oct, 11:42, Jan wrote: > Hi all, > > I have a question regarding the markup, which gwt generates. > > If I use > > HTML test = new HTML(); > test.setHTML(""); > > The command test.getHTML() returns "", which is html but not > xhtml. (The function stands to its name) > However I would like

Re: Announcing GWT 2.1

2010-10-29 Thread Thomas Broyer
On 29 oct, 17:19, David Chandler wrote: > Hi arrival123, > > Google's gwt-maven-plugin is actually just a temporary fork of the > Codehaus gwt-maven-plugin. Configuration should be the same > ashttp://mojo.codehaus.org/gwt-maven-plugin-1.2/plugin-info.html. We > plan to contribute back the chan

Re: gwt FormPanel & servlet integration

2010-10-29 Thread Thomas Broyer
On 29 oct, 08:24, hbaydarov wrote: > I'm just writing a simple FormPanel and a servlet that handle it. > However, there is a problem while getting parameter from FormPanel. > What I want to say : > >     formPanel.setEncoding(FormPanel.ENCODING_MULTIPART); >     formPanel.setMethod(FormPanel.MET

Re: Nested Views in MVP

2010-10-29 Thread Thomas Broyer
On 29 oct, 06:52, DrG wrote: > Hi, > > I have been reading the excellent article > at:http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd... > > And love the new built in objects that facilitate the MVP design > paradigm.  My initial thought is great but how does this system c

Re: gwt-maven-plugin from Google and Codehaus

2010-10-29 Thread David Chandler
Hilco, There is one issue with the Expenses POM, but I don't think it's the one you're seeing on your project: http://code.google.com/p/google-web-toolkit/issues/detail?id=5497 Try workaround #1 in the issue, after which you should be able to remove the datanucleus.org repo from the Expenses POM

Re: Announcing GWT 2.1

2010-10-29 Thread David Chandler
Hi arrival123, Google's gwt-maven-plugin is actually just a temporary fork of the Codehaus gwt-maven-plugin. Configuration should be the same as http://mojo.codehaus.org/gwt-maven-plugin-1.2/plugin-info.html. We plan to contribute back the changes shortly. /dmc On Fri, Oct 29, 2010 at 12:15 AM,

Re: gwt FormPanel & servlet integration

2010-10-29 Thread David Chandler
hbaydarov, How are you submitting the form? On Fri, Oct 29, 2010 at 2:24 AM, hbaydarov wrote: > I'm just writing a simple FormPanel and a servlet that handle it. > However, there is a problem while getting parameter from FormPanel. > What I want to say : > >    formPanel = new FormPanel(); >    

Re: gwt-maven-plugin is designed for version 2.1-SNAPSHOT?

2010-10-29 Thread Giuseppe La Scaleia
To resolve this problem you must do this: org.codehaus.mojo gwt-maven-plugin 1.3.2.google true ${gwtVersion} com.selexsi.sitdpc.gui.Application Applicat

gwt-maven-plugin is designed for version 2.1-SNAPSHOT?

2010-10-29 Thread hezjing
Hi With the release of GWT 2.1, I think we should also update the Maven repositories to the following? google-maven-release-repository Google Maven Release Repository https://oss.sonatype.org/content/repositories/google-releases false google-gwt-repo http://google-web-toolkit.googlecode.c

Re: Nested Views in MVP

2010-10-29 Thread David Chandler
Gene, Thank you for your thoughtful questions. As you have observed, Activities and Places do not directly support nesting, but there are a couple different ways you can implement composite views: 1) An ActivityManager is responsible for swapping activities within one container widget; however, y

GWT 2.1 Migration Experiment

2010-10-29 Thread buz...@gmail.com
Hi, Downloaded GWT 2.1 distribution and recompiled one of our mid-sized (~1500 classes) Web apps, which is developed against 2.0 version. Compilation time has not changed. I managed to get the same timing However I see a significant increase in resulting obfuscated JavaScript size. The total size

Re: best practice for handling CSS themes

2010-10-29 Thread Jeff Larsen
On Oct 29, 2:03 am, wolfgang wrote: > I was facing the same question and my solution was to have my main > theme in a CSSResource file. > This resource file is injected during the loading procedure of the > app. > Since the layout of my app is defined through CSS, I only allow to > change a few

Re: JUnit testing GWT

2010-10-29 Thread chrisr
Hi Ignat, thank you for the tip. I do remember reading that there is a way to write gwt junit tests in a way that were much faster than the way I'm doing it now. I wonder if this is it. Is there some documentation for how to write unit tests of this variety? I searched but didn't come across an

Re: Route animation in google maps with GWT

2010-10-29 Thread Jan
Hi B, Thanks for your answers. I tried it like this: In the class shipAnimation in the method onSuccess(), which is called after successful rpc callback, i wrote the following code: LatLng[] animationPoints = new LatLng[1]; animationPoints[0]=start; Polyline animatedWay

gwt FormPanel & servlet integration

2010-10-29 Thread hbaydarov
I'm just writing a simple FormPanel and a servlet that handle it. However, there is a problem while getting parameter from FormPanel. What I want to say : formPanel = new FormPanel(); formPanel.setAction(ACTION_URL); formPanel.setEncoding(FormPanel.ENCODING_MULTIPART); formPanel.se

RichTextArea auto height

2010-10-29 Thread Peluko
Hello. Is possible to get a RichTextArea widget to grow vertically as text is filled in? Thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe fro

Nested Views in MVP

2010-10-29 Thread DrG
Hi, I have been reading the excellent article at: http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html And love the new built in objects that facilitate the MVP design paradigm. My initial thought is great but how does this system cope with Nested Views or Dock Panel

Re: About async calls...

2010-10-29 Thread John LaBanca
You don't need a Timer in this case. Remember that javascript is asynchronous, but not threaded, so you don't have to deal with reentry of an executing code block. The code could look like the following. You have separate methods to initialize the UI and to populate the UI. Populating the UI is

Re: About async calls...

2010-10-29 Thread Subhrajyoti Moitra
" When RPC request returns, populate the state of the app. If RPC request returns before the app it initialized, hold it until after the app is initialized."- John, how would u do this? Using a timer to monitor a "common-state-variable"? Thanks, Subhro. On Fri, Oct 29, 2010 at 5:46 PM, John LaBa

Re: About async calls...

2010-10-29 Thread John LaBanca
Waiting for the role to return and creating the app in onSuccess() is a perfectly valid solution. To do so, you would just move your Widget initialization code into onSuccess(). Alternatively, you can load the app first, then populate it when the RPC request returns. It would be a little more co

Re: Broken gwt-servlet.jar in the GWT 2.1 release

2010-10-29 Thread John LaBanca
gwt-servlet.jar has a dependency on javax.validation, but we do not bundle it because it would break maven support. If you include gwt-servlet-deps.jar (included in the GWT distro) in your war/WEB-INF/lib/ directory, it should fix the errors. If by the "old" one you mean the gwt-servlet.jar from

Re: Animate an images rotation

2010-10-29 Thread John LaBanca
As far as I know, there is no way to rotate an image in CSS. You would have to generate 360 versions of the image in photo editing software (or using Java's image library) , then bundle them up into a ClientBundle and extend Animation to animate the rotation. GWT doesn't have built in support for

Re: Route animation in google maps with GWT

2010-10-29 Thread Blagoja Chavkoski
I just want to say that for the statment (and no way that can be done) im wrong :) there is a GWT gear lib witch start multiple threads in a browser but this is totally diff then what is a real thread in a programming language :) but in any case it has the same mining.. On Fri, Oct 29, 2010 at 1:5

Re: Route animation in google maps with GWT

2010-10-29 Thread Blagoja Chavkoski
hi, This is the scenario u need to do..I implement this in a program used for a vehicle tracking... 1. get all the data u need to animate(all LatlLon positions) and store them in a arraylist 2. start one timer (gwt timer ) let me say witch will fire on every 100ms (U have to test what will be th

Re: Route animation in google maps with GWT

2010-10-29 Thread Jan
Hi Brian, Thanks for your answer. I tried some things with the array and timer and that staff. I tried with wait(), sleep() and also with a timer object. But everytime, there comes an error, that these things are not supported by gwt.. The easiest way would be to have the normal callback, which g

How to generate xhtml using GWT

2010-10-29 Thread Jan
Hi all, I have a question regarding the markup, which gwt generates. If I use HTML test = new HTML(); test.setHTML(""); The command test.getHTML() returns "", which is html but not xhtml. (The function stands to its name) However I would like to reuse the final markup of the webpage. So is it p

About async calls...

2010-10-29 Thread Pablo G.F
Hello: I´m building a webapp which, depending on the user, will show some options on the menu or other ones. For doing this, I invoke a Single Singed On method passing as arguments, the user and the application and getting as return value a string identifying the "role" of the user. As I´m using G

Broken gwt-servlet.jar in the GWT 2.1 release

2010-10-29 Thread AlexG
Hi @ all, just if you´re wondering, why you get javax.validation - Errors, the gwt-servlet.jar file. I coppied the "old" one in the war/WEB-INF/lib directory and my Project is working again. So please fix this bug, Google. Greets Alex -- You received this message because you are subscribed to

Re: How to organize a gae + gwt project into modules

2010-10-29 Thread Harald Pehl
I'm about writing a personal time recording app called TiRe. It consists of four projects: - tire-d8: The actual webapp which gets deployed on GAE/J. Contains also the GWT frontend. - tire-dao: DAO classes for accessing the datastore. - tire-model: The server side model. - tire-rest: Contains r

Re: JUnit testing GWT

2010-10-29 Thread Ignat Alexeyenko
Hi! In GWT you can write: - plain JUnit tests, - tests that are running inside browser (see GwtTestCase). You can hide instance of DataPicker behind HasValue interface. I.e. use: HasValue dataPicker instead of: DataPicker dataPicker This will allow you to create a mock for a dataPicker contro

Re: best practice for handling CSS themes

2010-10-29 Thread wolfgang
I was facing the same question and my solution was to have my main theme in a CSSResource file. This resource file is injected during the loading procedure of the app. Since the layout of my app is defined through CSS, I only allow to change a few things (like color, font-style, various sizes ...).