Saturday, March 16, 2013

Re: DOM.createUniqueId() instead of UUID?

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.

On Saturday, March 16, 2013 11:42:08 PM UTC+1, membersound wrote:
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

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@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.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate