[Zope] Nested DTML-IN ?
Stephen Pitts
smpitts@midsouth.rr.com
Wed, 19 Apr 2000 11:40:11 -0500
> <dtml-in query_A>
> <dtml-in query_B>
> <dtml-var sequence-item_A(sequence-item_B)>
> </dtml-in>
> </dtml-in> ???
>
> So I think the questions I'm asking is
>
> 1. How do I reference individual members of a sequence-item
> 2. And how to do so in a nested dtml-in
Use <dtml-let> to change the names of the sequence-items like this:
<dtml-in query_A>
<dtml-let a_seqitem="_['sequence-item']">
<dtml-in query_B>
<dtml-var a_seqitem>
<dtml-var sequence-item>
</dtml-in>
</dtml-let>
</dtml-in>
--
Stephen Pitts
smpitts@midsouth.rr.com