anybody knows? On Oct 12, 4:38 pm, wahaha <[email protected]> wrote: > ok,thanks,now i have made a mistake that we can not access style rules > directly in java code,we must use cssResource interface. > but there is another question: > ------------------------------------------------ > interface MyStyle extends CssResource { > String enabled(); > String disabled(); > } > ------------------------------------------------ > if the class name in ui.xml is "a-b-c",then how should we write the > method name? > > On Oct 12, 3:46 pm, Sarjith Pullithodi <[email protected]> wrote: > > > > > > > > > have you followed this way?? > > >http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Pr... > > > -- > > Sarjith > > > On Wed, Oct 12, 2011 at 1:01 PM, wahaha <[email protected]> wrote: > > > i write a style class in ui.xml: > > > > .test{ > > > color:red; > > > } > > > > then,i set a button's className as "test": > > > > btn.setStyleName("test",true); > > > > now,in the browser the button''s text is not red. > > > > -- > > > 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.
-- 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.
