[Zope-dev] Return variables from a DTML Method
Dieter Maurer
dieter@handshake.de
Thu, 30 Nov 2000 23:23:55 +0100 (CET)
bentzion@bellatlantic.net writes:
> I want to change some ZClass properties by getting return results
> from a DTML Method. Something like this: <dtml-call
> "myzclass.propertysheets.get('Basic').manage_changeProperties(dtmlM
> eth(this(),_))">. How do I get the dtmlMeth to return a Mapping?
> (or should I be doing this a different way?)
<dtml-return "{ 'a' : 1, 'b': 2, ....}">
There will be people that say, you should not do such things
in DTML.
Dieter