DOM.createUniqueId() instead of UUID?

57 views
Skip to first unread message

membersound

unread,
Mar 16, 2013, 6:42:08 PM3/16/13
to google-we...@googlegroups.com
Hi,

as GWT does not emulate the UUID, can I use DOM.createUniqueId() safely as an alternative?
It will be used to give Objects unique id's that are then placed into a CellTable, and the KeyProvider will use these id's.

Thanks

Thomas Broyer

unread,
Mar 16, 2013, 7:08:39 PM3/16/13
to google-we...@googlegroups.com
createUniqueId is only unique for the lifetime of the app on the client-side: it's just a global JS variable used as a counter and appended to a fixed prefix.

Kody

unread,
Mar 16, 2013, 8:56:09 PM3/16/13
to google-we...@googlegroups.com
OK thanks, that's sufficient for my case.


2013/3/17 Thomas Broyer <t.br...@gmail.com>
--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/8xI9M4vjJoo/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages