Hi Ulrich, try {'foo':'bar'}.foo in a python interpreter :-) If you want attribute access you have to make a class and define __getattr__() in it. Regards Tino --On Samstag, 19. Mai 2001 13:06 +0200 Ulrich Wisser <u.wisser@publisher.de> wrote:
At 00:00 19.05.2001 +0200, magnus/Websys@websys.no wrote:
Like this:
<dtml-in "script(param=param)" mapping> <dtml-var foo> </dtml-in>
thanks! That worked!
But why do I have to say mapping? Other Scripts or Objects don't have to.
Regards
Ulrich -- Searchengine Know How - Webpromotion - Optimization - Internal Search World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg http://www.publisher.de Tel: +46-8-53460905 Fax: +46-8-534 609 06
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )