Friday, May 24, 2013

Re: How to override gwt styles in uibinder?



On Friday, May 24, 2013 3:52:54 AM UTC+2, V.B. wrote:
Hi Thomas,
   In your post above you mention "@external .gwt-*;". You also use the same trick in this StackOverflow question. But, I have never been able to make that work. Instead I have to have @external for every gwt type that I need to override, which is quite a hassle. (Note: in your post above you don't have the leading period. I have tried it both ways just to be sure.)

When I try to use "@external .gwt-*;" I get errors of this flavor:
[ERROR]  Line 69: The annotation @CssResource.ClassName is disallowed for this location
[ERROR]  Line 70: Syntax error on token "*", delete this token

The generated lines in question look like this:
  @ClassName("gwt-*")
  String gwt*();

Am I doing something wrong?

You're using InterfaceGenerator (to me, it's a "one shot" tool to help in migrating to CssResource, not something to use as part of your build process) 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment