> 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?
You're not going to be able to do this. CF won't let you start execution of
something in one script execution, then finish it in another script
execution. While your parent custom tag (which starts and ends the child
tag) is one script, it's being executed twice.
>From a parser's perspective, this makes perfect sense. There's no guarantee
that your custom tag will ever execute in end execution mode, so the parser
can't figure out ahead of time that everything will be OK.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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