Re: [Zope-dev] How to create a product with all_meta_types and the name of the product

2004-03-12 Thread Garito
Hi Chris! Want I want exactly is to create a product's object by his name programmatically not by the construction form Is this posible? Thanks!!! - Original Message - From: Chris Withers [EMAIL PROTECTED] To: Garito [EMAIL PROTECTED] Cc: Lista Oficial de Zope [EMAIL PROTECTED] Sent:

Re: [Zope-dev] How to create a product with all_meta_types and the name of the product

2004-03-12 Thread Chris Withers
Garito wrote: In the information retrieved by self.all_meta_types()['product']['action'] I can retrive the 'manage_addProduct' string, 'product' string but I don't retrieve manage_addMyProductManageAdd but I retrieve manage_addMyProductManageAddForm (this is the form of the constructor)

Re: [Zope-dev] How to create a product with all_meta_types and the

2004-03-12 Thread Max M
Garito wrote: Hi Chris! Want I want exactly is to create a product's object by his name programmatically not by the construction form Is this posible? You cannot know the name of the constructor function, unless you read the source. The constructors added to Zope during the product

Re: [Zope-dev] How to create a product with all_meta_types and the

2004-03-12 Thread Garito
Hi Max I understand what you explain but what about if I install a new product? Rewrite the factory? I think is not a good solution don't you think? Thanks!! - Original Message - From: Max M [EMAIL PROTECTED] To: Garito [EMAIL PROTECTED] Cc: Lista Oficial de Zope [EMAIL PROTECTED] Sent:

Re: [Zope-dev] How to create a product with all_meta_types and the

2004-03-12 Thread Max M
Garito wrote: Hi Max I understand what you explain but what about if I install a new product? Rewrite the factory? I think is not a good solution don't you think? No, but I don't see any way around it. I could be wrong, though I don't think so. -- hilsen/regards Max M, Denmark

[Zope-dev] How to create a product with all_meta_types and the name of the product

2004-03-11 Thread Garito
Hi all I would like to create a product knowing the name of these product. How to do it? I arrive to product but I don't know how to create it and set to de container With these code self['manage_addProduct']['product'].manage_addMyProductManageAdd(id, content) In the information