Hi all, Although the doc<http://www.gwtproject.org/javadoc/latest/com/google/gwt/uibinder/client/UiChild.html> does say "...add a child widget to..." in my searching it seems as if you can also use UiChild with DOM elements that extend com.google.gwt.dom.client.Element class. Thomas Broyer gives a brief description here<https://groups.google.com/d/msg/google-web-toolkit/INTb5tmTyIE/J0hfkoOCXN0J>. Since it's Thomas I'm thinking this should indeed work, however for the life of me I can't get it to. It always ends up in "found unexpected child element: <div>" when the child is a div element.
>From the comments and the doc it seems that this is the setup you're supposed to have: @UiChild(tagname = DivElement.TAG) public void addDiv(DivElement div) { //note: I've even tried "adddiv" just to be sure //do something } and in uibinder: <my:customWidget> <div>foo</div> </my:customWidget> Do I just have code tunnel vision or is this not possible? Thanks in advance. -Seth -- 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+unsubscr...@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/groups/opt_out.