|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
cfoutput in a cfouput
Author: Phillip Vector
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56536#306179
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".
:)
> Hate to break it to you...but you've been in the "Geezer" category
> for a couple of years now. :oP
Author: Gerald Guido
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56536#306178
>> 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.
Author: Dave Watts
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56536#306177
----- 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!
Author: Rick Faircloth
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56536#306171
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? :)
>
Author: Phillip Vector
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56536#306165
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? :)
> 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.
Author: Charlie Griefer
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56536#306164
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.
----- Excess quoted text cut - see Original Post for more -----
Author: Rick Faircloth
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56536#306160
But why would you ever want to next cfoutput tags?
Rick
----- Excess quoted text cut - see Original Post for more -----
Author: Charlie Griefer
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56536#306151
----- 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."
Author: Andy Matthews
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56536#306148
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
Author: Mark Atkinson
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56536#306146
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 -----
Author: Chad Gray
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56536#306145
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
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||