loop_context_vars and nested loops

"cfaust-dougot" <[email protected]> Tue, 20 Oct 2009 14:50:43 -0400
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============0095983869644040445==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01CA51B6.3A3A7F80"

This is a multi-part message in MIME format.

------_=_NextPart_001_01CA51B6.3A3A7F80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
=20
I was wondering if it's at all possible to get utilize the =
loop_context_vars of a parent loop within a nested loop?
=20
For example, something like this?
=20
<TMPL_LOOP NAME=3D"LoopOne">
 <TMPL_LOOP NAME=3D"NestedLoop">
  <TMPL_IF NAME=3D"__ParentFirst__">This would be true for the duration =
of NestedLoop for the 1st loop of LoopOne</TMPL_IF>
 </TMPL_LOOP>
</TMPL_LOOP>
=20
=20
TIA!!

------_=_NextPart_001_01CA51B6.3A3A7F80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD>=0A=
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A=
<META content=3D"MSHTML 6.00.6001.18319" name=3DGENERATOR></HEAD>=0A=
<BODY>=0A=
<DIV><FONT face=3DArial color=3D#000000 size=3D2>Hi,</FONT></DIV>=0A=
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV><FONT face=3DArial size=3D2>I was wondering if it's at all possible =
to get utilize the loop_context_vars of a parent loop within a nested =
loop?</FONT></DIV>=0A=
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV><FONT face=3DArial size=3D2>For example, something like =
this?</FONT></DIV>=0A=
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV>&lt;TMPL_LOOP NAME=3D"LoopOne"&gt;<BR>&nbsp;&lt;TMPL_LOOP =
NAME=3D"NestedLoop"&gt;<BR>&nbsp;&nbsp;&lt;TMPL_IF =
NAME=3D"__ParentFirst__"&gt;This would be true for the duration of =
NestedLoop for the 1st loop of =
LoopOne&lt;/TMPL_IF&gt;<BR>&nbsp;&lt;/TMPL_LOOP&gt;<BR>&lt;/TMPL_LOOP&gt;=
</DIV>=0A=
<DIV>&nbsp;</DIV>=0A=
<DIV>&nbsp;</DIV>=0A=
<DIV>TIA!!</DIV></BODY></HTML>
------_=_NextPart_001_01CA51B6.3A3A7F80--


--===============0095983869644040445==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
--===============0095983869644040445==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Html-template-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/html-template-users

--===============0095983869644040445==--