Re: Get value of GWT property at runtime

2011-03-25 Thread biophonc
Cheers! ... works perfect :) On Mar 15, 2:54 pm, Paul Robinson wrote: > Possibly not as simple as you wanted, but you can do something like this: > (1) Create base class com.foo.ThemeInfo and subclasses ThemeInfoOne and > ThemeInfoTwo > (2) Add this to your gwt.xml: > > > > > > > > > >

Re: Get value of GWT property at runtime

2011-03-25 Thread Raphael André Bauer
On Tue, Mar 15, 2011 at 2:54 PM, Paul Robinson wrote: > Possibly not as simple as you wanted, but you can do something like this: > (1) Create base class com.foo.ThemeInfo and subclasses ThemeInfoOne and > ThemeInfoTwo > (2) Add this to your gwt.xml: > > > > > > > > > > > (3) In your clien

Re: Get value of GWT property at runtime

2011-03-15 Thread Paul Robinson
Possibly not as simple as you wanted, but you can do something like this: (1) Create base class com.foo.ThemeInfo and subclasses ThemeInfoOne and ThemeInfoTwo (2) Add this to your gwt.xml: (3) In your client-side code: ThemeInfo info = GWT.create(ThemeInfo.class); and you'll get an i

Get value of GWT property at runtime

2011-03-15 Thread Raphael André Bauer
Hi, is there a simple way to get a gwt-property when the GWT app is running? e.g. I have: Then at compile time I get nice permutations for theme1 and theme2. Cool so far. For some agile flexible fine-tuning it would be nice to get the value of "theme". Something like GWT.getPermutationProper