This makes me nervous... If I create a file: set.cfm and then call it: <cfimport taglib="./" /> <set />
And in the set.cfm I have: <cfoutput>#GetBaseTagList()#</cfoutput> I get: CFOUTPUT,CFSET This is clearly misleading... The CFSET item is not the actual ColdFusion CFSet tag, but the custom tag. My advice... Either this is a bug or it is poor practice. I would suggest always using the prefix. ...................... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -----Original Message----- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Monday, November 13, 2006 10:01 AM To: CF-Talk Subject: RE: <cfimport> bug? Huh! I didn't even know you could do this: <cfimport taglib="/mytagdir/"> <test> I thought you had to use the prefix. ....................... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -----Original Message----- From: Chris Blackwell [mailto:[EMAIL PROTECTED] Sent: Saturday, November 11, 2006 10:44 AM To: CF-Talk Subject: <cfimport> bug? I've been messing around with cfimport today and i've come accross a strange behaviour. I created a custom tag /mytagdir/test.cfm - <cfoutput>#getbasetaglist()#</cfoutput> And then called it in two slightly different ways <cfimport taglib="/mytagdir/" prefix="mytag"> <mytag:test> <br /> <cfimport taglib="/mytagdir/"> <test> which results in two different strings CFOUTPUT,CF_TEST,CFINCLUDE CFOUTPUT,CFTEST,CFINCLUDE Any thoughts..? should they not both return CF_TEST? I'm running MX7.01 & RH7.3 Cheers ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260182 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

