[Zope3-Users] unique integer id as a Token for ITerms ?

Gary Poster gary at zope.com
Wed Feb 21 13:30:01 EST 2007


On Feb 21, 2007, at 1:23 PM, Christophe Combelles wrote:

> Hello,
>
> When using a vocabulary, one needs to generate a token for each  
> term, then to be able to get the value again from the token.  
> (getTerm/getValue needed by ITerms)
>
> Is there a problem using the Unique Integer Id generated by the  
> IntIds utility directly as the token?

not at all, if the vocabulary item is appropriate for an intid  
(usually, but not necessarily, this means a persistent object)



More information about the Zope3-users mailing list