Is there a way to set GWT to include style names i

2019-09-10 22:05发布

问题:

I use CssResource extensively, and now my generated html is full of GWXSHFKADAish class names. I get all of the advantages of that, but for debugging it'd be helpful to add a flag that would turn .selected into GWXSTY_selected. Is there any way to do this?

回答1:

When you set

<set-configuration-property name="CssResource.style" value="pretty"/>

in your .gwt.xml file, then the resulting class names will contain the original class name.