Wednesday, July 24, 2013

Re: HtmlPanel, custom tag and binder


I think you just can't do such a thing (using 'tr' as the tag)

The problem is that when parsing <tr><td><span id='gwt-uid-67-></span></td></tr> as innerHTML, the <tr> and <td> and simply dropped, so the HTMLPanel's root element actually becaomes the <span id='gwt-uid-67'>.

Try it for yourself: http://jsfiddle.net/7FhnW/

But if the <span id='gwt-uid-xxxx'> elements are preserved why does LazyDomElement can't find them via Document.get().getElementById()? 

-- J.

--
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/groups/opt_out.
 
 

No comments:

Post a Comment