On 2/3/06, Dave Watts <[EMAIL PROTECTED]> wrote: > > Is there an equivalent to Java's 'import <package>.<class>;' > > statement? I do not want to write <cfinvoke component="..." > > ... all the time. > > No, there isn't. The CFIMPORT tag allows you to import JSP tag libraries and > assign them prefixes, but that's not the same thing at all, really.
I just wanted to point out that you can also use the cfimport tag to import CF custom tag libraries as well. Using cfimport is technically the most efficient way of calling custom tags, as the cfimport is used compile-time to determine the library's location rather than on-the-fly, like cfmodule and cf_*. That being said, it can be a bit of a maintenance headache because you have to have this directive on each actual page that uses the page. Anyway, Dave's point still holds, of course, but cfimport can do more than just JSP tag libraries. Regards, Dave. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231356 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54