Wednesday, September 15, 2010

CssResources and inheritance

Hi,

I wanted to post this to GWT contribs, but lets try this newsgroup
first.

I have create my own button widget (based on a A href='#' tag) that
allows me to specify the styles through a CssResource called
ButtonCss.

I needed many different type of buttons in one application so I
thought, well simple I just define the button styles multiple times in
different .css files and such through different entries in the
ClientBundle.

For example I have the following:

interface ButtonCss {
String button();
String disabled();
}

Resources extends ClientBundle {

}

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment