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
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )