In one way this is a good thing, if you ever wanted to nest cfoutputs. I've
actually never ran into a situation where I needed to nest cfoutputs (just
used cfloop), but there probably is a situation out there that would call
for it.
Brad
> -----Original Message-----
> From: Ken Beard [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 18, 2001 10:04 PM
> To: Fusebox
> Subject: inconsistency? was: The correct way
>
>
> I tell people this too.. but I have to make the
> exception of cfoutput blocks.. b/c if you surround an
> include with a cfoutput and have variables in #'s
> inside, they don't output. Anyone have a
> philosophical view on why this is so.. or is that
> "just the way it is"
>
> --- Nat Papovich <[EMAIL PROTECTED]> wrote:
> > Someone else can give you the whole rundown, but you
> > can't use
> > <cfinclude
> >
> template="/mysite/blocks/dsp_linklist.cfm?QueryType=Site>
> > with the variable in the end like QueryType.
> > All variables are available inside a cfincluded
> > template. The code is just
> > copy-pasted at runtime.
> >
> > NAT
> >
> > > -----Original Message-----
> > > From: Gary Morin [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, February 16, 2001 7:35 AM
> > > To: Fusebox
> > > Subject: The correct way
> > >
> > >
> > > Hi
> > >
> > > I trying to get my head around Fusebox, I've done
> > one or two small apps
> > > using it, but I still have problems figuring out
> > the correct flow.
> > >
> > > I'm currently working on a document management
> > project in which I
> > > use three
> > > circuits, each to display a report on various
> > aspects of a job.
> > > Each circuit
> > > has a main display page to display report data. On
> > this same page
> > > I need to
> > > display a list of links to related documents for
> > the current job. The code
> > > to display the linked documents will be the almost
> > the same for all three
> > > circuits, the only difference will be the where
> > clause, each circuit will
> > > require a different set of documents queried.
> > >
> > > If I was not using Fusebox, I wouldn't give it a
> > second thought, I would
> > > just use cfinclude and pass a parameter i.e.
> > <cfinclude
> > > template="dsp_linklist.cfm?QueryType=Site>
> > >
> > > But where I get confused with Fusebox is the flow
> > on calling pages, can I
> > > use <cfinclude
> >
> template="/mysite/blocks/dsp_linklist.cfm?QueryType=Site>
> > > from within dsp_reports.cfm pages
> > > If I do, in dsp_linklist.cfm I will have to use on
> > url.QueryType.
> > > If I do it
> > > this way do I just place CF_Formurl2attributes at
> > the top of it
> > > dsp_linklist.cfm.
> > >
> > > Or should I call it with Cfmodule.
> > >
> > > Or in should I place the cfinclude/cfmodule in the
> > circuit
> > > index.cfm as the
> > > next line after the dspl_report.cfm
> > >
> > > Or should I use <cflocation
> > > template="/mysite/index.cfm?fuseaction=Listlinks">
> > >
> > > Cheers
> > >
> > > Gary
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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