Custom Tags and cfimport
Posted
by cf_PhillipSenn
on Stack Overflow
See other posts from Stack Overflow
or by cf_PhillipSenn
Published on 2009-06-24T14:09:39Z
Indexed on
2010/04/02
15:33 UTC
Read the original article
Hit count: 516
coldfusion
|cfml
Do Custom Tags work with mappings? I'm trying not to have to address the CustomTags folder as a relative address.
I've tried:
<cfset this.mappings["/CT"] = Expandpath("/myProjects/Project1/CustomTags")>
inside of Application.cfc and then
<cfimport prefix="tag" taglib="/CT">
inside of my page, but it doesn't.
It says:
Cannot import the tag library specified by /CT. The following error was encountered: C:\Inetpub\wwwroot\CT. Ensure that you have specified a valid tag library.
© Stack Overflow or respective owner