id's in HTMLPanels have to be unique within an application for every
HTMLPanel every time you use it. so, for example, if you go to a database
and get some HTML returned, say
<div id=name>Fred</div>

 then

getElementById("name").getInnerHTML()

will return 'Fred'

But from then on, every getElementById("name").getInnerHTML() will return
'Fred', even if you create a new instance of the same class, even if you
create an instance of a completely different class

I reported this behaviour for version 1.4 for RootPanel back in 2007
(issue#1937). Nothing has happened about it but I was recommended to use
HTMLPanel. This has now become ususable, too.

Is it worth adding a new issue, or will the v1.4 issue cover it?

Or is it supposed to do that now?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to