I actually, very rarly use customtags anymore. If i need to include something, its usually not in the same directory or what I am including is accessed by a coldfusion mapping, so i use CFMODULE. I still get the flexability of code reuse and passing in attributes, but the file doesnt have to be in the same directory as the one I am working in, unless you put it in the customtags directory, which you usually cant do in shared hosting environments.
The handy thing about CFINCLUDE is that if you set a local variable in your include file, it is available to the rest of the page without having to set caller.xxx to access it. Even so, customtags are suposed to encapsulate code, much like a CFC or such, so I see the setting and getting of variables in the caller scope defeats the purpose of having a custom tag. Regards Steve Onnis -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Taco Fleur Sent: Thursday, January 22, 2004 9:07 AM To: CFAussie Mailing List Subject: [cfaussie] RE: cfinclude vs custom tags > To those who strongly prefer tags, are there cases where > you'd still use cfinclude instead ? Personally anything that is reused I convert to a function, except - Forms - Stored Procedure calls - Actions - Display - Parameters They all go into a include file most of the time Taco Fleur Blog http://www.tacofleur.com/index/blog/ Methodology http://www.tacofleur.com/index/methodology/ 0421 851 786 Tell me and I will forget Show me and I will remember Teach me and I will learn --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
