>- see footer for list info -<
That's exactly what jus dawne don me Simon :-) 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Baynes
Sent: 29 September 2005 13:48
To: Coldfusion Development
Subject: Re: [CF-Dev] Nested cfoutputs

>- see footer for list info -<
How about:-

<cfloop query="getrecords">
<cfoutput>A bunch of HTML output</cfoutput>
                       <div style="width: 100%; height: 200px; overflow:
scroll;">
                       <cfoutput query="components" group="componentID">
                       <fieldset><legend>#component#</legend>
                       <table class="defaultBlack"">
                               <cfoutput>
                                       <tr>
                                       <td
width="200">#fieldname#</td><td><input type="text" name="fieldID_#fieldID#"
value="#data#"></td>
                                       </tr>
                               </cfoutput>
                       </table>
                       </fieldset>
                       </cfoutput>
                       </div>
<cfoutput>More HTML output</cfoutput>
</cfloop>



OR

<cfsavecontent variable="myGubbins">
<div style="width: 100%; height: 200px; overflow:
scroll;">
                       <cfoutput query="components" group="componentID">
                       <fieldset><legend>#component#</legend>
                       <table class="defaultBlack"">
                               <cfoutput>
                                       <tr>
                                       <td
width="200">#fieldname#</td><td><input type="text" name="fieldID_#fieldID#"
value="#data#"></td>
                                       </tr>
                               </cfoutput>
                       </table>
                       </fieldset>
                       </cfoutput>
                       </div>
</cfsavecontent>

<cfoutput query="getrecords">
A bunch of HTML output
#myGubbins#
More HTML output
</cfoutput>

On 9/29/05, Snake <[EMAIL PROTECTED]> wrote:
> >- see footer for list info -<
> It does work, I just can't have a CFOUTPUT after it to output the 
> actual data.
> The only thing I can do is have a cfoutput  around every single piece 
> of output instead. Arrgghhhhh
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch
> Sent: 29 September 2005 13:37
> To: Coldfusion Development
> Subject: RE: [CF-Dev] Nested cfoutputs
>
> >- see footer for list info -<
> Well if the <cfloop query=""> for the outter loop doesn't work. Use:
>
> <cfloop from="1" to="#qMainQuery.RecortCount#" index="i">
>
>         #qMainQuery.Column[i]#
>
> Ade
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Snake
> Sent: 29 September 2005 13:24
> To: 'Coldfusion Development'
> Subject: RE: [CF-Dev] Nested cfoutputs
>
>
> >- see footer for list info -<
> The outer loop/cfoutput is outputting a primary record from query1.
> The inner grouped cfoutput is outputting query2 which has multiple 
> sections so thus needs to be grouped.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Stephen 
> Moretti
> Sent: 29 September 2005 13:21
> To: Coldfusion Development
> Subject: Re: [CF-Dev] Nested cfoutputs
>
> >- see footer for list info -<
>
> > If you really do need to be wrapping a cfoutput around all of the 
> > html in the page then you'll need to do this.
> >
> > <cfoutput>top stuff</cfoutput>
> > <cfoutput query="myquery">
> >    <cfoutput>
> >    </cfoutput>
> > </cfoutput>
> > <cfoutput>bottom stuff</cfoutput>
>
> That or cfloop and manage the grouping yourself.
>
> But I get the feeling from your last email that there is something 
> that you aren't tell me....
> What is the purpose of that outer loop?  what are you displaying and 
> where from?
>
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go 
> to http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your 
> >help -<
>
>
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go 
> to http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your 
> >help -<
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.11.8/114 - Release Date: 
> 28/09/2005
>
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go 
> to http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your 
> >help -<
>
>
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go 
> to http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your 
> >help -<
>


--
Simon Baynes
www.simonbaynes.com
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help 
>-<


_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to