I don't know if what you are trying to do is possible.  Double checking
the manual may help.  

  <CF_testmoterhchild>  (will run 'start' code in tag)

  </CFtestmotherchild>   (will run 'end' code in tag)

   I just don't think there is a way to execute code from two tags 
using the above syntax.  You may want to try to simplify it into 
one tag.  


Marc Schipperheyn wrote:
> 
> 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>
> 


-- 
Jeff Houser | mailto:[EMAIL PROTECTED]
AIM: Reboog711  | ICQ: 5246969 | Phone: 860-229-2781
--
Instant Cold Fusion 4.5  | ISBN: 0-07-213238-8   
Due out 3rd Quarter 2001
--
DotComIt, LLC
database driven web data using ColdFusion, Lotus Notes/Domino
--
Half of the Alternative Folk Acoustic Duo called Far Cry Fly 
http://www.farcryfly.com | http://www.mp3.com/FarCryFly
--
Promise me no dead end streets, and I'll guarantee we'll have a road
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to