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:260179
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to