> First question, which is better, wraping an entire .cfm file > with a CFOUTPUT, or only using the tags where you need them > in the docutment? Whichever answer, why? And finaly, other > then the fact that CF won't accept nested CFOUTPUTs with > different queries, why won't it?
First, whenever there's a "which is better" question, you should keep in mind that there's unlikely to be a single correct answer. There are different ways to measure "better", such as ease of maintenance or performance, and even if you choose one or the other, there are cases where one way of doing things might be better in one case, while another way might be better somewhere else. That said, if I had to pick one of those two choices without knowing anything else, I'd use the tags where they're needed in the document, because generally that would work better in the majority of cases. As to why CF doesn't like nested CFOUTPUTs except in specific cases, that's just the way the language was written. 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! This email has been processed by SmoothZap - www.smoothwall.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276230 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4