Hi,

Every object in the ZODB has an id, so you should only need to control the id 
actually given to them. In CPSDefault, a CPS Document gets it's id from the 
computeId script, so overriding that might have the desired effect.

Not sure this is the best approach to your problem, though.

Jonathan

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de danieltellez
Envoyé : mardi 3 juillet 2007 19:06
À : [email protected]
Objet : [CPS-devel] autoinc field 

Hello !!

Is there any way to declare an autogenerated "id" in a layout/schema ??
I mean, like an "autoinc" in a mysql field.

thanks in advance.

-- 
Daniel Téllez Sabán. 
Yerbabuena Software. Dpto I+D.
[EMAIL PROTECTED]
http://www.yerbabuena.es
Tlf/Fax: 902 995 246 Móvil: 615 051 283

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to