[Zope] ZSQL Method Question

Ping Lau pinglau@tm.net.my
Thu, 7 Oct 1999 19:21:47 -0500


Hello,

Can anyone explain how ZSQL Method makes info available to DTML?  For
example, getCustomer is a ZSQL Method and I used it in a DTML method:

<dtml-in "getCustomer(id=123)">
  <dtml-var id>
  <br>
   <dtml-var name>
</dtml-in>

I would like to know how id & name, which are fields of customer table,
magically become available.  Thanks.

Regards,
Ping