0 Feb 2005 13:46:14 -0800, Rodger <[EMAIL PROTECTED]> wrote:
> Thanks all,
> Taking out the unnessary did the trick.
> Rodger
>
> -Original Message-
> From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 10, 2005 12:49 PM
>
Thanks all,
Taking out the unnessary did the trick.
Rodger
-Original Message-
From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 10, 2005 12:49 PM
To: CF-Talk
Subject: Re: Nested cfoutputs problem
You don't need to nest... your outer cfoutput
#Var1##recordset.Rec1#
The above will give you:
Result: Dat1Name1
Dat1Name2
For nesting a inside a cfoutput associated with a query,
you will need a group attribute.
If your recordset was - (field1, field2, field3, field4)
record1= data1, data2, data3, data4
record2= d
You don't need to nest... your outer cfoutput will allow var1 to
render to dat1 every time. Provided your code never changes the value
of var1, it'll be fine all the way thru.
#Var1##Rec1#
will get you this:
dat1name1
dat1name2
dat1name3
Shouldn't be any big deal.
Nesting cfoutputs is a n
Leave out the nested , you don't need it, if I understand your
desired result.
What I'm wondering is if maybe you do want it, but I would need to know what
your record set looks like.
Nesting output tags allows for grouping of recordsets.
For example:
DATA
Cat Value
Color Red
Color Green
Co
You don't need to nest cfoutputs. Just write:
#Var1##recordset.Rec1#
Right?
-Original Message-
From: Rodger [mailto:[EMAIL PROTECTED]
Sent: Friday, 11 February 2005 9:30 a.m.
To: CF-Talk
Subject: Nested cfoutputs problem
I want to use a tag inside of a tag.
i.e.
#Var1##reco
> Right. That would work. I can
> put an open at the top and a close
> at the bottom,
> remove any that already exist in
> the middle,
> and fix any .
>
> Inside CFINCLUDE files will I be inside a CFOUTPUT or not?
> ie:
> ... ...
>
> is insidefile inside a CF
--=_41534522==_.ALT
Content-Type: text/plain; charset="us-ascii"
Right. That would work. I can
put an open at the top and a close at the bottom,
remove any that already exist in the middle,
and fix any .
Inside CFINCLUDE files will I be inside a CF
>From the docs. "You cannot nest CFOUTPUT tags."
http://127.0.0.1/CFDOCS/CFML_Language_Reference/2_ColdFusion_Tags/lr2_060.ht
m
You cannot have a query driven output tag inside another output tag. What
you can do though is instead of having #label.title#
you can just close your non query driven
9 matches
Mail list logo