On Mon, Dec 03, 2007, grahamperrin wrote:
>
>A problem with short names of objects, I wonder whether it's a conflict with
>a product. 
>
>When I add an object (say, a page or a folder) I specify a short name; but
>whatever I enter is ignored; a default short name is given. 

I'll give this a try since nobody else has yet.  I may be wrong in which
case hopefully I'll learn something.

In the class definition you will find an option, _at_rename_after_creation,
which controls this when creating object through the web (TTW).  Setting
this to False should prevent the id being changed.

As I understand it, this has no effect if one is creating objects directly
from python, and one must then set the id field explicitly.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

The only logical reason to take guns away from responsible people is to
give irresponsible people an edge in the perpetration of their crimes
against us. -- The Idaho Observer, Vol. 1, No. 2 February 1997

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to