Yeah, I've had the same experience. I've ended up getting in the habit of putting a <cfoutput> block in almost all my files that I <cfinclude>. I skip the ones I know are not doing any output (db processing ect). ______________________________________________________
Bill Grover Supervisor MIS Phone: 301.424.3300 x3324 EU Services, Inc. FAX: 301.424.3696 649 North Horners Lane E-Mail: [EMAIL PROTECTED] Rockville, MD 20850-1299 WWW: http://www.euservices.com ______________________________________________________ > -----Original Message----- > From: Les Mizzell [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 15, 2003 1:02 PM > To: CF-Talk > Subject: RE: Includes inside a CFOUTPUT problem... > > > Yep, that's what I was getting ready to do.... > > Bummer, huh? > > :: -----Original Message----- > :: From: Ben Doom [mailto:[EMAIL PROTECTED] > :: Sent: Tuesday, July 15, 2003 12:56 PM > :: To: CF-Talk > :: Subject: RE: Includes inside a CFOUTPUT problem... > :: > :: > :: I'd just replace the includes with their contents. Not as > :: elegant, I guess, > :: but sometimes you just do what works. > :: > :: > :: -- Ben Doom > :: Programmer & General Lackey > :: Moonbow Software, Inc > :: > :: : -----Original Message----- > :: : From: Les Mizzell [mailto:[EMAIL PROTECTED] > :: : Sent: Tuesday, July 15, 2003 11:59 AM > :: : To: CF-Talk > :: : Subject: RE: Includes inside a CFOUTPUT problem... > :: : > :: : > :: : :: I don;t think the <cfoutput> is inherited by the <cfinclude> > :: : :: templates from > :: : :: the calling template, so you'll need to put <cfoutput> in > :: each of the > :: : :: include templates where you want to output a variable. > :: : > :: : This will take some head scratching to get to work. Each include > :: : is a single > :: : "td". Basically, I'm building a table in my switch > statement. So, it's > :: : still got to loop through all the records and properly > build the table. > :: : Different results will result in a completely different table. > :: : > :: : Jezz, I may have painted myself into a corner at this point if > :: there's no > :: : good way to get it to work. > :: : > :: : Ideas??? > :: : > :: : > :: : > :: : > :: : :: -----Original Message----- > :: : :: From: A.Little [mailto:[EMAIL PROTECTED] > :: : :: Sent: Tuesday, July 15, 2003 11:49 AM > :: : :: To: CF-Talk > :: : :: Subject: RE: Includes inside a CFOUTPUT problem... > :: : :: > :: : :: > :: : > :: : :: > :: : :: Don't ask me why it works like this - I have no idea ;-) > :: : :: > :: : :: Alex > :: : :: > :: : :: > :: : :: > -----Original Message----- > :: : :: > From: Les Mizzell [mailto:[EMAIL PROTECTED] > :: : :: > Sent: 15 July 2003 16:38 > :: : :: > To: CF-Talk > :: : :: > Subject: RE: Includes inside a CFOUTPUT problem... > :: : :: > > :: : :: > > :: : :: > :: What about > :: : :: > :: <td>#prods.some_variable#</td> > :: : :: > :: in the includes ? > :: : :: > :: That's better syntax anyway... > :: : :: > > :: : :: > > :: : :: > Nope, still doesn't do it.... > :: : :: > > :: : :: > Hmmmm......... > :: : :: > > :: : :: > > :: : :: > Re: > :: : :: > <cfoutput query="prods"> > :: : :: > <tr> > :: : :: > <cfswitch expression="#URL.ID#"> > :: : :: > <cfcase value="100"> > :: : :: > <cfinclude template="includes/td_1.cfm"> > :: : :: > <cfinclude template="includes/td_14.cfm"> > :: : :: > <cfinclude template="includes/td_22.cfm"> > :: : :: > </cfcase> > :: : :: > <cfcase value="110"> > :: : :: > <cfinclude template="includes/td_33.cfm"> > :: : :: > <cfinclude template="includes/td_34.cfm"> > :: : :: > <cfinclude template="includes/td_35.cfm"> > :: : :: > </cfcase> > :: : :: > </cfswitch> > :: : :: > </tr> > :: : :: > </cfoutput> > :: : :: > > :: : :: > :: : > :: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

