[Zope] nested loops in zope
Tony McDonald
tony.mcdonald@ncl.ac.uk
Tue, 11 Jun 2002 16:28:27 +0100
On 11/6/02 4:05 pm, "Juergen R. Plasser / Hexagon" <plasser@hexagon.at>
wrote:
> Hi Tony!
>
> Much better than mine! (even though I RTFM and knew this prefix attr)
>
> Thnx,
> Juergen
>
> --On Dienstag, 11. Juni 2002 15:54 +0100 Tony McDonald
> <tony.mcdonald@ncl.ac.uk> wrote:
>
>> # 2:
>> <dtml-in "" prefix="bing">
>> <dtml-in "" prefix="bong">
>>
>> <dtml-var bing_variable>
>>
>> </dtml-in>
>> </dtml-in>
>
Cheers Juergen!
Just thought that folks might like the ZPT version (which I'm spending all
my noodle-power on grokking at the mo')
<tal:outerloop repeat="bing ...">
<tal:innerloop repeat="bong ...">
<p tal:content="bing/variable">Bing Variable</p>
</tal:innerloop>
</tal:outerloop>
...now watch ChrisW come up with something cleaner and meaner! :)
Tone.
--
Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/
The Medical School, Newcastle University Tel: +44 191 243 6140
A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope