[Zope] long name as ID

BKJ at telefonica.net BKJ at telefonica.net
Tue May 9 09:08:28 EDT 2006


Hi Sergio!

You can change the ID to tittle, adding the following line to your 
archetype:

Ex:

schema = schema
	
----> at_rename_after_creation = True     <------ 
	
content_icon = .....


Bye!



----Mensaje original----
De: sofrosine at gmail.com
Recibido: 09/05/2006 13:16
Para: <Zope at zope.org>
Asunto: [Zope] long name as ID

Hi all,

I have developed an archetype based product named msf_folder, and it
stores the id with a very long string like
msf_folder.2006-05-09.8558117482, instead of the title I have written.
Is this a normal behaviour? How can I change the ID to the title I
have given it?

Thanks
Sergio
_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )







More information about the Zope mailing list