Previously in GWT 2.4 and below, this would work: UI Binder: <g:HTMLPanel ui:field="myPanel" />
Code: @UiField (provided=true) HTMLPanel myPanel; myPanel = new HTMLPanel("foobar"); In GWT 2.5, this now gives an error: (gwt source) // Make sure that, if there is a UiField for this panel, it isn't // (provided = true), as that isn't supported. if (uiField != null && uiField.isProvided()) { writer.die("UiField %s for HTMLPanel cannot be provided.", fieldName); } Just wondering why provided=true is no longer supported? AFAIK this was the purpose of provided=true in UiBinder? I've now changed the code to have UiBinder create an HTMLPanel for me and then add my widget to it, but this gives an extra unneeded wrapping div in my HTML... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-YBnu6Awi08J. To post to this group, send email to google-web-toolkit@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.