[Zope] Newbie-ish dtml-with vs dtml-in question
Dieter Maurer
dieter@handshake.de
Fri, 7 Dec 2001 01:32:42 +0100
Russell Hires writes:
> ...
> The
> problem I'm having is that I can call a ZSQL method, and pull a variable out
> of it using dtml-in, and I get a nice iteration over that variable. But in
> the case of one of my variables, I just want to pull it out, without
> iteration. I've tried to do it with both dmtl-call and dtml-with, but they
> don't do what I want, and I get a key error for that variable.
<dtml-let result=SQL_Method>
<dtml-with expr="result[0]">
<dtml-var your_column>
</dtml-with>
</dtml-let>
Dieter