You could either call addStyleName in the backing Java class, or use a <div> around your widget and have multiple CSS classes there. But yes, as far as I can see, uibinder assumes set<something> for properties on a widget.
-- Arthur Kalmenson On Thu, Dec 17, 2009 at 3:25 AM, Itzik Yatom <itzik...@hotmail.com> wrote: > When adding the attribute styleName to an UiBinder XML element, GWT > translates it to setStyleName method call. > The problem is when using a custom Composite class that already has > called to setStyleName method, UiBinder supersedes the Composite > style. > I wish that UIBinder would call to addStyleName instead but I > understand that it's based on the entity bean approach. > Is there a way to overcome that? > > Thanks > Itzik > > -- > > 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-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.