I get the same error if I use {style.defaultStyle}. Could you clarify why {style.panel-default} is not a valid value?
On Saturday, 15 August 2015 20:37:57 UTC+1, Thomas Broyer wrote:
-- Thanks.
On Saturday, 15 August 2015 20:37:57 UTC+1, Thomas Broyer wrote:
Have you tried using {style.defaultStyle} in your attribute? {style.panel-default} is not a valid value AFAICT, but maybe it'd be detected only later (and is hidden by the current error)
On Wednesday, August 5, 2015 at 11:28:37 AM UTC+2, DaveC wrote:Hi,I have the following UiBinder:
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent ">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui" >
<ui:style type="com.saaconsultants.gwt.ui.test.client.Main.Style" >
.panel-default {
background: grey;
}
</ui:style>
<g:HTMLPanel addStyleNames="{style.panel-default}" >Hello World!</g:HTMLPanel>
</ui:UiBinder>and CssResource:
public interface Style extends CssResource {
@ClassName("panel-default")
String defaultStyle();
}When I compile the above code I get an error stating "The following obfuscated style classes were missing from the source CSS file: panel-default: Fix by adding .panel-default{}".Any idea what I'm doing wrong?Cheers,Dave
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment