This is a multi-part message in MIME format.
------=_NextPart_000_0004_01C05AAE.84F5BB40
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hi all,
I'm looking for a way to nest a set of enclosing custom tags inside another
set of enclosing custom tags. I can't get it to work and I've added an
example with three templates: testmotherchild, mother and child. The idea is
that the closing tag of the child should be called in the closing tag of the
mother and the opening tag of the child in the opening tag of the mother.
Using includes this behaviour would be easy. So it should be possible in a
Custom Tag setting. Any ideas?
Marc
**test template**
<cf_mother>
Some code
</cf_mother>
**mother.cfm**
<cfif thisTag.executionmode eq "start">
<cfoutput>motherstart</cfoutput>
<cf_child>
<cfelse>
<cfoutput>motherend</cfoutput>
</cf_child>
</cfif>
**child.cfm**
<cfif thisTag.executionmode eq "start">
<cfoutput>childstart</cfoutput>
<cfelse>
<cfoutput>childend</cfoutput>
</cfif>
__________________<theFactor.e>______________________
_____________________ .e> _______________________
mr M.Schipperheyn MBA
Technical Director_______ [EMAIL PROTECTED]
_____________________ .e> _______________________
Friesestraatweg 215a____________
P.o. Box 2010______________ tel: +31 (0)50 5757888
9704 CA Groningen__________fax: +31 (0)50 5757889
The Netherlands____________ http://www.thefactore.com
_____________________ .e> _______________________
____ Premium Partner for Allaire. Multimedia development
_ with Macromedia Director, Authorware & Flash.
____< The future is technological, but it will not be a world of gray steel.
>
------=_NextPart_000_0004_01C05AAE.84F5BB40
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial size=3D2>Hi=20
all,</FONT></SPAN></DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial size=3D2>I'm =
looking for a=20
way to nest a set of enclosing custom tags inside another set of =
enclosing=20
custom tags. I can't get it to work and I've added an example with three =
templates: testmotherchild, mother and child. The idea is that the =
closing tag=20
of the child should be called in the closing tag of the mother and the =
opening=20
tag of the child in the opening tag of the mother.</FONT></SPAN></DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial size=3D2>Using =
includes this=20
behaviour would be easy. So it should be possible in a Custom Tag =
setting. Any=20
ideas?</FONT></SPAN></DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2>Marc</FONT></SPAN></DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial size=3D2>**test =
template**</FONT></SPAN></DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2><cf_mother></FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial size=3D2>Some=20
code</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2></cf_mother></FONT></SPAN></DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2>**mother.cfm**</FONT></SPAN></DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial =
size=3D2><cfif=20
thisTag.executionmode eq=20
"start"><BR> <cfoutput>motherstart</cfoutput><BR>&nbs=
p;<cf_child></FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2><cfelse><BR> <cfoutput>motherend</cfoutput&g=
t;<BR> </cf_child><BR></cfif></FONT></SPAN></DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2>**child.cfm**</FONT></SPAN></DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial =
size=3D2><cfif=20
thisTag.executionmode eq "start"></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2> <cfoutput>childstart</cfoutput></FONT></SPAN><=
/DIV>
<DIV> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2><cfelse></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2> <cfoutput>childend</cfoutput></FONT></SPAN></D=
IV>
<DIV> </DIV>
<DIV><SPAN class=3D755351308-30112000><FONT face=3DArial=20
size=3D2></cfif></FONT></SPAN></DIV>
<P><FONT size=3D2><FONT face=3DArial><BR><FONT=20
color=3D#ffffff>__________________</FONT><FONT=20
color=3D#808080><</FONT>theFactor.<FONT color=3D#800080>e</FONT><FONT =
color=3D#808080>></FONT><FONT=20
color=3D#ffffff>______________________<BR></FONT><BR><FONT=20
color=3D#800080>_</FONT><FONT =
color=3D#808080>___________________</FONT><FONT=20
color=3D#800080>_</FONT><FONT color=3D#808080> .</FONT><FONT=20
color=3D#800080>e</FONT><FONT color=3D#808080>> </FONT><FONT=20
color=3D#800080>_</FONT><FONT =
color=3D#808080>_____________________</FONT><FONT=20
color=3D#800080>_<BR></FONT>mr M.Schipperheyn MBA<BR>Technical =
Director<FONT=20
color=3D#ffffff>_______ =
</FONT><FONT=20
color=3D#800080>[EMAIL PROTECTED]<BR>_</FONT><FONT=20
color=3D#808080>___________________</FONT><FONT =
color=3D#800080>_</FONT><FONT=20
color=3D#808080> .</FONT><FONT color=3D#800080>e</FONT><FONT=20
color=3D#808080>> </FONT><FONT color=3D#800080>_</FONT><FONT=20
color=3D#808080>_____________________</FONT><FONT =
color=3D#800080>_</FONT><FONT=20
color=3D#808080> </FONT> <BR>Friesestraatweg 215a<FONT=20
color=3D#ffffff>____________ </FONT><BR>P.o. Box 2010<FONT=20
color=3D#ffffff>______________ </FONT>tel: +31 (0)50 5757888<BR>9704 CA=20
Groningen<FONT color=3D#ffffff>__________</FONT>fax: +31 (0)50 =
5757889<BR>The=20
Netherlands<FONT color=3D#ffffff>____________ </FONT><FONT=20
color=3D#800080>http://www.thefactore.com<BR>_</FONT><FONT=20
color=3D#808080>___________________</FONT><FONT =
color=3D#800080>_</FONT><FONT=20
color=3D#808080> .</FONT><FONT color=3D#800080>e</FONT><FONT=20
color=3D#808080>> </FONT><FONT color=3D#800080>_</FONT><FONT=20
color=3D#808080>_____________________</FONT><FONT=20
color=3D#800080>_<BR><BR></FONT><FONT color=3D#ffffff>____ </FONT><FONT=20
color=3D#800080> </FONT><FONT color=3D#808080>=20
</FONT></FONT></FONT><FONT face=3DArial><FONT color=3D#808080><FONT =
size=3D1>Premium=20
Partner for Allaire. Multimedia development <BR></FONT></FONT><FONT =
size=3D1><FONT=20
color=3D#ffffff> _ </FONT><FONT =
color=3D#808080>=20
&=
nbsp; with=20
Macromedia Director, Authorware & Flash.<BR></FONT></FONT><FONT=20
color=3D#800080><FONT size=3D2><BR></FONT></FONT><FONT size=3D2><FONT=20
color=3D#ffffff>____</FONT><FONT color=3D#808080 size=3D1>< The =
future is=20
technological, but it will not be a world of gray steel. ></FONT>=20
</FONT></FONT><BR></P>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_0004_01C05AAE.84F5BB40--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists