I don;t think the <cfoutput> is inherited by the <cfinclude> templates from
the calling template, so you'll need to put <cfoutput> 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 
> :: <td>#prods.some_variable#</td>
> :: in the includes ?
> :: That's better syntax anyway...
> 
> 
> Nope, still doesn't do it.... 
> 
> Hmmmm.........
> 
> 
> Re:
> <cfoutput query="prods">
>  <tr>
>   <cfswitch expression="#URL.ID#">
>     <cfcase value="100">
>       <cfinclude template="includes/td_1.cfm">
>       <cfinclude template="includes/td_14.cfm">
>       <cfinclude template="includes/td_22.cfm">
>     </cfcase>
>     <cfcase value="110">
>      <cfinclude template="includes/td_33.cfm">
>      <cfinclude template="includes/td_34.cfm">
>      <cfinclude template="includes/td_35.cfm">
>    </cfcase>
>   </cfswitch>
>  </tr>
> </cfoutput>                   
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
                                

Reply via email to