[Zope] passing variable to dtml method -> sqlmethod

zopelist@robertson.net.nz zopelist@robertson.net.nz
Fri, 23 Aug 2002 13:18:30 +1200 (NZST)


Greetings. I have a Z SQL Method that calls a select statement like so:

select * from chart
where <dtml-sqltest link op=eq type=nb optional multiple>

I am calling this from a DTML method that formats the results.

I need to call the method several times on a page, passing different
values for link.
I can send a value from the DTML method to the SQL method, but cannot work
out how to send it from the dtml page.
Do I have to start writing scripts here?

Help appreciated.

Don