java.lang.AssertionError: The style name 'margin-top' should be in
camelCase format
at com.google.gwt.dom.client.Style$.assertCamelCase$(Style.java:63)
at com.google.gwt.dom.client.Style$.setProperty$(Style.java:42)
at com.google.gwt.user.client.DOM.setStyleAttribute(DOM.java:1208)
When setting margin top in CSS, you use "margin-top", but when setting from javascript,
you must use "marginTop". GWT is doing some sanity checking on your style names to make
sure you're using the camel case version required for javascript.
In other words, you have a bug in your code: you should have specified "marginTop" in
your code, and not "margin-top".
Paul
--
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.