On 15 août, 04:40, Fratelli <[email protected]> wrote: > Hello, > > I'm using CssResource::ensureInjected() to inline my styles into the > host page. > > So the thing is: everything worked just fine until I started > redefining some GWT style classes (ie, gwt-TabBarItem). The changes > didn't apply because the names are being obfuscated in the host page, > but the predefined GWT widgets use the unobfuscated names. So I did > some reading, and thought that @external would do the trick. Say: > > @ClassName("gwt-TabBarItem") > public String tabBarItem(); > > But it doesn't. Now it tells me that it failed to resolve the > ClientBundle (CssBundle, in this case). > > What should I do?
@external *should* work (I mean, it works in my code, in several projects) but maybe your method confuses the generator (or you made a mistake in your CSS file). Why aren't you using a constant in your code for such cases? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
