Short answer: it's an IE quirk.

Long answer:
__listener is an expando property on the DOM element to link the element 
back to its GWT widget counterpart (so that a DOM event can be routed to the 
widget and handled in your GWT code).
The issue is that in IE, properties and attributes are almost the same thing 
(even its getAttribute method actually gives you the property, unless you 
pass in some additional, IE-specific, argument). So when IE serializes the 
DOM to HTML, it will output the properties as attributes. And, last but not 
least, the UIObject#toString() method is defined to do a toString() on the 
DOM element, which generally serializes it in "pseudo HTML"; that's the 
reason you see some HTML code in the __listener "attribute" value.

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