There is a bug in IE, try this in IE Developer Tools (tried it in IE8, on an 
about:blank page):
document.body.innerHTML="<span id=foo></span> bar"
document.body.innerHTML
It'll output "<SPAN id=foo></SPAN>bar" (notice that the space has 
disappeared).
That bug can be worked around though:
document.body.innerHTML="<span id=foo>foo</span> bar"
document.body.innerHTML
It now outputs "<SPAN id=foo>foo</SPAN> bar", and the space has been 
preserved.

UiBinder generates the first form and then uses HTMLPanel's 
addAndReplaceElement to replace the placeholder span with the widget's 
getElement(). So it looks like UiBinder could be "fixed" to output the 
second form.

-- 
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.

Reply via email to