the 'taglib' attribute to CFIMPORT is a directory. You then reference the files in the directory using the prefix. So if you do this:
<cfimport prefix="name" taglib="path/to/my/custom/tags" /> then you can call the custom tag named "mytag.cfm" inside the "path/to/my/custom/tags" directory like this: <name:mytag ... /> CFIMPORT is nothing more than an alternate way to call custom tags, with much greater specificity than using custom tag paths from the administrator. it also lets you call JSP custom tags, but that's a bit of a different topic. cheers, barneyb On Mon, 13 Dec 2004 16:12:04 +1100, Stephen Cowling <[EMAIL PROTECTED]> wrote: > sorry, typo.. > > <cfimport prefix="name" taglib="setName.cfm"> > <name:setName fname="Steve"> > > and in setName.cfm > > <cfinvoke component="MyComponent" method="setName"> > <cfinvokeargument name="firstname" value="arguments.fname" /> > </cfinvoke> > > gives me: > Unknown tag: name:setName. > ColdFusion cannot determine how to process the tag name:setName because > the tag is unknown and not in any imported tag libraries. The tag name > might be misspelled. > > Am I completely suffering monday-itis here? > > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/blog/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187325 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