23 May
2000
23 May
'00
9:23 a.m.
I'm trying to pass a keyword argument to a function (in this case Catalog), but to generate it from variables. The following doesn't work, but it illustrates my idea: <dtml-in "Catalog(_.getitem(search_in) = _.getitem(search_for))"> The obvious way to do this in python would be to use the 'exec' command - but that doesn't seem to work in zope. Is there any way to do this in zope? -Ed -- Andrew Edmondson