CFIMPORT is a compile-time thing, and since each CF page is compiled into a
separate class, you have to use CFIMPORT in every template you need the tag
library.  Not once per request, once per template.  And since it's a
compile-time thing, if you use mappings in your CFIMPORT path (possible in
6.1), and then change the mapping, you must delete all your compiled classes
and cycle CFMX.

Cheers,
barneyb

> -----Original Message-----
> From: Taco Fleur [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 02, 2004 2:00 PM
> To: CF-Talk
> Subject: cfimport
>
> Why is it that when I call cfimport from any other page then
> where I will
> use the tags in the library, it just won't evaluate?
>  
> For example, if I call the cfimport tag from the
> application.cfm and make
> reference to it from another page it just won't use the tag.
> It's just a bit unclear as to why this is happening.
>  
> Taco Fleur
>
> Tell me and I will forget
> Show me and I will remember
> Teach me and I will learn
>  
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to