On 12/10/09, fmk11 <[email protected]> wrote: > > Hi, > > I'm following the new Dev Guide for UiBinder, but I'm encountering a > problem with the @Resource annotation. Specifically, I'm getting > compile errors on "@Resource" .. anyone knows what needs to be > imported? It does not seems to be defined in ClientBundle. > > I'm inheriting "<inherits name="com.google.gwt.resources.Resources" / > >" in my .gwt.xml but that does not seems to help. > > > Thanks in advance, > > PS: This is the relevant piece of code: > > public interface Resources extends ClientBundle { > > @Resource("/stylesheets/colors.css") > Style colors(); > > public interface colors extends CssResource { > String brickRedBg(); > String brickRedFg(); > String lightOrgangeBg(); > String lightOrgangeFg(); > String offWhiteBg(); > String offWhiteFg(); > String steelBlueBg(); > String steelBlueFg(); > String glaciarBlueBg(); > String glaciarBlueFg(); > String grayBg(); > String grayFg(); > String petrolBg(); > String petrolFg(); > String limeBg(); > String limeFg(); > } > } > > -- > > 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. > > >
-- 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.
