> > That is: "using Clientbundles/CssResources in reusable components".
Suppose your component has also ImageSources and CssResources and I want to inject mine such that I change the style and images... How do you accomplish that? Yeah well in that case I would have to redesign this in a way where I don't setPrimaryStyle inside UiBinder, but instead, in java. As for @external, I'm using it for simplification, I could have setPrimary style on every menuItem. As for name clash with a name like .xkjhfskjdh938 .gwt-menuItem, you have to want it to be able to do that, hehe. Your case is hard to solve since it's almost as if you wanted to reuse something and change something that isn't meant to be changed. Add some methods that will let you override the default setting :D And actually, that something I never tried, so can't really further on this. Anyway I didn't read everything, there was a LOT of things to read lol. I'm not saying that things couldn't be improved btw, I agree with the fact that there's no easy way to solve this. I'm just saying that there's some way to do it :D Cheers, On Thu, Aug 26, 2010 at 3:09 PM, Ed <[email protected]> wrote: > > I read through the newsgroup thread but I must say I don't agree with > > everything that was said there. CssResources are really great, just > > too bad that they were not retrofitted to the existing widgets. > > I agree with you, I also was a bit suprised that it wasn't fully used > by the GWT widgets, but I think it's not possible yet till some of > these issues as discussed in the topic discussion are solved. > Ed > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Christian Goudreau www.arcbees.com -- 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.
