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:
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)
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
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:
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
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