[Zope] Variable Passing Question?

Dieter Maurer dieter@handshake.de
Thu, 5 Sep 2002 21:02:46 +0200


Jason Burke writes:
 > ...
 > How do I pass a namespace variable to a python script from a
 > DTML document. The zope book says to do this...
 > 
 > <dtml-call expr="updateInfo(color='brown', pattern='spotted')">
 > 
 > But these values are hardcoded
If "variable" is a DTML variable, then you can (e.g.) use:

   <dtml-call expr="updateInfo(color=variable, pattern='spotted')">


Dieter