Maybe selectedTabCenter is out of scope here or doesn't have a value at compile time yet?
-- Jan Vladimir Mostert BEngSci MyCee Technologies On Wed, Feb 16, 2011 at 10:54 PM, pete <superp...@geekcity.de> wrote: > Hallo, > > I have a problem with some ClientBundle / CssResource I try to > declare. > > In my ClientBundle I have > > @Source("images/SelectedTabCenter.png") > ImageResource selectedTabCenter(); > > in my Css-file I have > > @def headerHeight value('selectedTabCenter.getHeight', 'px'); > > @sprite .tabSelectedBack { > gwt-image: "selectedTabCenter"; > } > > Now I get a compilation error: > > [ERROR] [xxx] - Generator > 'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator' > threw an exception while rebinding 'xxx.XXXBundle' > > If I set the @def headerHeight to a fixed value, like 100px, it > compiles. Do I have a syntax error in here? I copied the code from > another of my widgets that works without a problem and just adjusted > the names, so by the pretty unclear exception I can't make out, what > is wrong... > > Any help is highly appreciated :-) > > Greetings, > Pete > > -- > 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-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.