[Zope] dtml syntax help needed

Dieter Maurer dieter@handshake.de
Fri, 27 Jun 2003 01:22:17 +0200


Kelley, Sean wrote at 2003-6-25 16:07 -0700:
 > I am returning a list of records from a zsql method with dtml-in
 > I want to query another zsql method during each iteration of the outer
 > dtml-in to get a value from another database based on the login just
 > displayed in the first dtml-in
 > (at least this is how I think it would go from a dtml standpoint)

You must pass the argument to the inner ZSQL Method via a keyword parameter.

    ... innerSQLMethod(emp=...) ...

Use the "prefix" attribute to "dtml-in" to facilitate access to
the current loop value.


Dieter