[Zope] dynamic function binding problem in python product

zope-mailinglist zope-mailinglist <zope-mailinglist@mopa.at>
Mon, 23 Apr 2001 23:27:12 +0200


Hello

I don't know if i'm on the right way, maybe there is a totally different way
to achieve this.

I want to call a function (manage_propertiesForm) with a specific argument
but if i put an argument into the action key of a manage_options item it
doesnt appear in the management tabs
i don't know why ??

I want to create the manage_options on the fly and pass arguments to the
same dtml file
so i tried to do it with this line:

manage_conForm=(lambda cat="contact" : manage_propertiesForm(category=cat))

then I get a "missing doc string" error because every function needs a
docstring ...
so my question:
is there another way to create a function which calls another function with
a specific argument ?

maybe with exec ?

but i