|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
cfoutput in a cfouput
Since when have we been able to nest cfoutputs?Chad Gray 05/28/08 09:48 A Good morning Chad,Mark Atkinson 05/28/08 09:54 A You've always been able to nest outputs when placed within a grouped output.Andy Matthews 05/28/08 10:47 A On Wed, May 28, 2008 at 6:47 AM, Chad Gray <cgray@careyweb.com> wrote:Charlie Griefer 05/28/08 10:55 A But why would you ever want to next cfoutput tags?Rick Faircloth 05/28/08 11:38 A I can't imagine a scenario where you would.Charlie Griefer 05/28/08 11:42 A I guess to make things easier for those people just starting out...Phillip Vector 05/28/08 11:46 A Hate to break it to you...but you've been in the "Geezer" categoryRick Faircloth 05/28/08 12:08 P BAH!!!Phillip Vector 05/28/08 12:27 P >> My god.... Have I officially passed into "Old Time ColdFusion Geezer"Gerald Guido 05/28/08 12:26 P > Since when have we been able to nest cfoutputs?Dave Watts 05/28/08 12:25 P Since when have we been able to nest cfoutputs? I have always thought that you could not do this. Maybe it was a CF4.5/5.0 thing and in never learned it was possible in MX? I just tried this and it works in my CF8 installation: <cfoutput query="foo" group="id"> #foo.id#<br> <cfoutput>#foo.b#<br></cfoutput> </cfoutput Good morning Chad, Try it without the group attribute in the foo query output. Cheers, Mark Chad Gray wrote: ----- Excess quoted text cut - see Original Post for more ----- You've always been able to nest outputs when placed within a grouped output. Since when have we been able to nest cfoutputs? I have always thought that you could not do this. Maybe it was a CF4.5/5.0 thing and in never learned it was possible in MX? I just tried this and it works in my CF8 installation: <cfoutput query="foo" group="id"> #foo.id#<br> <cfoutput>#foo.b#<br></cfoutput> </cfoutput On Wed, May 28, 2008 at 6:47 AM, Chad Gray <cgray@careyweb.com> wrote: ----- Excess quoted text cut - see Original Post for more ----- you've always been able to nest cfoutputs within one another when the outer cfoutput made use of the "group" attribute. i'm pretty sure the docs have always, even back in the day, said something to the effect of "you cannot nest <cfoutput> tags *unless the outermost tag used the group attribute*". as an aside... as of cfmx (i believe), it became possible to do <cfoutput><cfoutput>#now()#</cfoutput></cfoutput>. it's not something that i recall ever being announced as a "feature" ...or "bug"... it just started working. -- A byte walks into a bar and orders a pint. Bartender asks him "What's wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I thought you looked a bit off." But why would you ever want to next cfoutput tags? Rick ----- Excess quoted text cut - see Original Post for more ----- I can't imagine a scenario where you would. that's why i alluded to the fact that you can now do it (as of MX) as being either a "feature" or a "bug" :) But the fact remains that pre-MX it would throw an error, where post-MX it does not. On Wed, May 28, 2008 at 8:37 AM, Rick Faircloth <Rick@whitestonemedia.com> wrote: ----- Excess quoted text cut - see Original Post for more ----- I guess to make things easier for those people just starting out... My god.... Have I officially passed into "Old Time ColdFusion Geezer" after 8 years? :) On Wed, May 28, 2008 at 8:41 AM, Charlie Griefer <charlie.griefer@gmail.com> wrote: > I can't imagine a scenario where you would. > > that's why i alluded to the fact that you can now do it (as of MX) as > being either a "feature" or a "bug" :) But the fact remains that > pre-MX it would throw an error, where post-MX it does not. Hate to break it to you...but you've been in the "Geezer" category for a couple of years now. :oP Rick > I guess to make things easier for those people just starting out... > > My god.... Have I officially passed into "Old Time ColdFusion Geezer" > after 8 years? :) > BAH!!! Heh.. I caught myself thinking "Back during ColdFusion 5, I learned the hard way not to nest cfoutputs... These kids today have it easy". :) On Wed, May 28, 2008 at 9:07 AM, Rick Faircloth <Rick@whitestonemedia.com> wrote: > Hate to break it to you...but you've been in the "Geezer" category > for a couple of years now. :oP >> My god.... Have I officially passed into "Old Time ColdFusion Geezer" after 8 years? :) Ha! Look here sonny. Back in my day when we wanted to query a database we did it by rubbing two sticks together. ----- Excess quoted text cut - see Original Post for more ----- You have been able to nest CFOUTPUTs using the GROUP attribute since version 2, at least. You can now nest CFOUTPUTs generally since version 6, I believe. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information!
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||