[Zope] Putting a <dtml-in> tag into a <dtml-in> tag

Tim Hicks tim@sitefusion.co.uk
Thu, 5 Apr 2001 13:22:31 +0100


----- Original Message -----
From: "Gitte Wange" <gitte@mmmanager.org>
To: <zope@zope.org>
Sent: Thursday, April 05, 2001 1:08 PM
Subject: [Zope] Putting a <dtml-in> tag into a <dtml-in> tag


> Hmmm confusing subject :-)
>
> What I need to do is this:
> Get some data out of my database (in a <dtml-in> tag)
> While iterating through this data, I need to get some more data out out
> my database (another <dtml-in> tag.
> I tried to call the second sql method with a <dtml-var> from the first
> sql method but I get an error.
>
> So how do I collect some data from my database with a result from the
> first sql method ?
>

Wouldn't it be easier to put all the 'data collection' within one zsql
method?

tim