Use of #identityHash as element id

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Use of #identityHash as element id

Esteban A. Maringolo
Hi,

Does the use of an object identityHash as an html element id cause any problems?

Best regards,

--
Esteban A. Maringolo
[hidden email]
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Use of #identityHash as element id

Lukas Renggli
> Does the use of an object identityHash as an html element id cause any problems?

In Squeak the number of identity hashes is quite low. In VisualWorks
the situation is slightly better. It is a matter of probability that
you won't end up with conflicts. In GemStone you might want to use the
unique object id.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Use of #identityHash as element id

Sebastian Sastre-2
In reply to this post by Esteban A. Maringolo
Hi Esteban,

        I'm using a counter that gives me the #nextId for elements. Is
simple and works

        cheers,

Sebastian


 

> -----Mensaje original-----
> De: [hidden email]
> [mailto:[hidden email]] En nombre
> de Esteban A. Maringolo
> Enviado el: MiƩrcoles, 09 de Enero de 2008 11:57
> Para: Seaside - general discussion
> Asunto: [Seaside] Use of #identityHash as element id
>
> Hi,
>
> Does the use of an object identityHash as an html element id
> cause any problems?
>
> Best regards,
>
> --
> Esteban A. Maringolo
> [hidden email]
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside