createUniqueId() guarantees a unique id for the document, but makes no guarantees about uniqueness within the global namespace ($wnd). I think it would be a worthwhile addition to create such a method in the future, though.
On Thu, Jan 7, 2010 at 4:12 AM, Thomas Broyer <t.bro...@gmail.com> wrote: > > > On Jan 7, 12:23 am, John Tamplin <j...@google.com> wrote: > > > > What about the case of multiple instances of the same module? > > How about simply using Document.get().createUniqueId() ? > > -- > http://groups.google.com/group/Google-Web-Toolkit-Contributors >
-- http://groups.google.com/group/Google-Web-Toolkit-Contributors