Thank you very much Thomas! This indeed seems to solve my problem :-) Kind regards, Peter
P.S. Please excuse my spelling mistakes. It was Friday and I was in a hurry :-/ On 12 Nov., 15:31, Thomas Broyer <[email protected]> wrote: > On 12 nov, 11:59, Peter <[email protected]> wrote: > > > > > I'fe got a problem with usingCSSclasses in my masks definitions. > > I implemented theCSSfiles as a resource (ClientBundle Interface) and > > made it accessible for the java classes and the myview.ui.xml files > > ( <ui:with field='res' type='xxx.xx.xx'/> ). > > > Now when I reference this class: > > <mywidget styleName="res.css.className"> > > > .. two things happen: > > - In the generated HTML the class name is replaced by a correct fully- > > qualified-name generated by GWT. > > - But thiscss-class is not available in the final, mergedCSSfile > > (generated by GWT) that is sent to the browser. I can check this in > > firebug. > > > So the first functionality of the GWT compilation works fine, but the > > second part doesn't. > > Suprisingly: I'm integrated twoCSSresources and the first one works > > fine.Onlythe second one doesn't. I checked any differences between > > those but couldn't find anything. > > > Can anybody help? Why could this be? What could I propably have > > missed? > > Probably the ensureInjected() call on your CssResource, that will > actually inject theCSSstylesheet into the document. -- 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.
