I have a similar question:

I was quite intrigued to see the @external annotation here -- anyone
point at more documentation?
All I found was this: 
http://code.google.com/p/google-web-toolkit/wiki/CssResource#External_and_legacy_scopes

>From that documentation, it seems to imply only that the generated
CssResource will not be obfuscated, and one can still gain
programmatic access to the name.

It does not mean that one could refer to a CssResource *outside* of
the <ui:style> scope though -- correct?

Is it possible to have a single <module>.css file defined that would
allow the one to combine the following techniques:
   - use in .ui.xml  (I think that the answer is basically yes, use
<ui:style @src="My.css"/>  <g:Widget addStyleNames="{style.someStyle}"/
>
   - use in .java classes
   - use in .html resources (files included in the war directory)

So -- I guess I'm really looking for some way to get something like
this to work:  <ui:style @src="<some path>/war/My.css"/>

Any suggestions / comments on this?

> > You can also change styles in the ui.xml file directly inside a <ui:style>
> > tag, like so:
>
> > <ui:style>
> >   @external gwt-SuggestBox;
> >   @external gwt-SuggestBoxPopup;
>
> >   .gwt-SuggestBox {
> >    ...
> >   }
>
> >   .gwt-SuggestBoxPopup {
> >    ...
> >   }
>
> > </ui:style>
>
> > (Note the @external - you need that for predefined styles)
>
> > kathrin

-- 
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.

Reply via email to