RE: Includes inside a CFOUTPUT problem...
Yeah, I've had the same experience. I've ended up getting in the habit of putting a block in almost all my files that I . 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-1299WWW: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 is inherited by the > :: : :: templates from > :: : :: the calling template, so you'll need to put 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 > :: : :: > :: #prods.some_variable# > :: : :: > :: in the includes ? > :: : :: > :: That's better syntax anyway... > :: : :: > > :: : :: > > :: : :: > Nope, still doesn't do it > :: : :: > > :: : :: > H. > :: : :: > > :: : :: > > :: : :: > Re: > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > > :: : :: > :: : > :: > ~| 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
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 is inherited by the :: : :: templates from :: : :: the calling template, so you'll need to put 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 :: : :: > :: #prods.some_variable# :: : :: > :: in the includes ? :: : :: > :: That's better syntax anyway... :: : :: > :: : :: > :: : :: > Nope, still doesn't do it :: : :: > :: : :: > H. :: : :: > :: : :: > :: : :: > Re: :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: > :: : :: :: : :: ~| 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
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 is inherited by the : :: templates from : :: the calling template, so you'll need to put 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 : :: > :: #prods.some_variable# : :: > :: in the includes ? : :: > :: That's better syntax anyway... : :: > : :: > : :: > Nope, still doesn't do it : :: > : :: > H. : :: > : :: > : :: > Re: : :: > : :: > : :: > : :: > : :: > : :: > : :: > : :: > : :: > : :: > : :: > : :: > : :: > : :: > : :: > : :: > : :: > : :: : ~| 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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Includes inside a CFOUTPUT problem...
:: I don;t think the is inherited by the :: templates from :: the calling template, so you'll need to put 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 :: > :: #prods.some_variable# :: > :: in the includes ? :: > :: That's better syntax anyway... :: > :: > :: > Nope, still doesn't do it :: > :: > H. :: > :: > :: > Re: :: > :: > :: > :: > :: > :: > :: > :: > :: > :: > :: > :: > :: > :: > :: > :: > :: > :: ~| 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Includes inside a CFOUTPUT problem...
I don;t think the is inherited by the templates from the calling template, so you'll need to put in each of the include templates where you want to output a variable. 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 > :: #prods.some_variable# > :: in the includes ? > :: That's better syntax anyway... > > > Nope, still doesn't do it > > H. > > > Re: > > > > > > > > > > > > > > > > > ~| 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Includes inside a CFOUTPUT problem...
:: What about :: #prods.some_variable# :: in the includes ? :: That's better syntax anyway... Nope, still doesn't do it H. Re: ~| 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
Re: Includes inside a CFOUTPUT problem...
On Tuesday 15 Jul 2003 14:29 pm, Les Mizzell wrote: > > Assume the include "td_1.cfm" and the others, in their entirety, is simply > like: > #some_variable# > > The scope of the CFOUTPUT tag doesn't extend down into the includes - so > the variables aren't outputting What about #prods.some_variable# in the includes ? That's better syntax anyway... -- Thomas C Advanced ColdFusion Programmer HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged Particles Moving at Velocities in Excess of Five Hundred Million Miles Per Hour. PLEASE ALSO NOTE: I don't speak for the company that sent this. ~| 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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4