You can easily do recursion with <cfinclude> you just need to manage a
stack. This was discussion on BACFUG recently, see
http://mail.vfive.com/cgi-bin/ezmlm-cgi?1:mss:8970:200207:lkhpedlenceoek
dnajco.

Matt Liotta
President & CEO
Montara Software, Inc.
http://www.montarasoftware.com/
V: 415-577-8070
F: 415-341-8906
P: [EMAIL PROTECTED]

> -----Original Message-----
> From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 25, 2002 5:50 AM
> To: CF-Talk
> Subject: RE: local vs. request
> 
> > I try to avoid Custom Tags as much as possible.. takes twice the
time
> > to run compared to a Regular Include....by defining its own space.
> > Unless its something low level(CFX) CF cant do.. why bother?
> 
> One word - Recursion!
> 
> You can't recurce (effectively) with a CFINCLUDE, but using a CF_ or
> CFMODULE you can do it quite easily
> 
> As long as you're not passing loads of information as attributes, then
> it's perfectly acceptable
> 
> A classic example of this is a site map as a tree, if you don't know
how
> many levels the data goes to (with parents and children) and it's
> dynamic, then using a Custom Tag is the simplest solution
> 
> If you're worried about the speed, then cache the layout and just
> re-load it when there's a change
> 
> Philip Arnold
> Technical Director
> Certified ColdFusion Developer
> ASP Multimedia Limited
> Switchboard: +44 (0)20 8680 8099
> Fax: +44 (0)20 8686 7911
> 
> www.aspmedia.co.uk
> www.aspevents.net
> 
> An ISO9001 registered company.
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> **********************************************************************
> 
> 
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to