Tuesday, June 1, 2010

Re: How do you share css resources across multiple modules?

Hi,

You can add <stylesheet src='your.css'/> to the *.gwt.xml.


On 28 Maio, 15:37, Tobias Herrmann <t.herrm...@alkacon.com> wrote:
> No, that is not what I was looking for. I know how to use the same
> CssResource across several widgets.
> In my case, I need to share the same resource across several modules,
> not compiled together but one after the other.
>
> Mark schrieb:> I am not sure if this is exactly what you want to do - but have a look
> > at this page:
> >http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideUiBin...
>
> > On 28 Mai, 16:25, tobirius <t.herrm...@alkacon.com> wrote:
>
> >> Hi all,
>
> >> In my application I need to include several gwt modules into a page.
> >> They all inherit from the same base module which provides some
> >> CssResources.
> >> Is it possible to inject the css of these resources only once using it
> >> across all included modules?
> >> Currently I need to inject the same styles for each module as the
> >> obfuscated class names differe from one module to the other.
> >> Is there any way to ensure the same class names at different compile
> >> times?
>
> >> Greetings, Tobias
>
>

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment