Are mappings searched automatically when using CreateObject with a
ColdFusion component?

Thanks,
Troy

On 11/21/05, Snake <[EMAIL PROTECTED]> wrote:
> U have to specify a mapping in your paths.
> E.g
> <cfmodule template="\mapping\filename.cfm">
>
> Custom tag paths are search automatically.
>
> --
> Snake
>
> -----Original Message-----
> From: Troy Simpson [mailto:[EMAIL PROTECTED]
> Sent: 21 November 2005 20:35
> To: CF-Talk
> Subject: Why do I need a Custom Tag Path for Components?
>
> I am using ColdFusion MX 7.0.1.  Why would I need to define a custom tag
> path in the ColdFusion administrator when the Mappings will do the same
> thing?
>
> For example, the following is from the ColdFusionMX7 Administrator:
> ---
> "ColdFusion mappings let the cfinclude and cfmodule tags access pages that
> are outside the Web root. If you specify a path that starts with the
> mapping's logical path in these tags, ColdFusion looks for the page using
> the mapping's directory path.
>
> ColdFusion also uses mappings to find ColdFusion components (CFCs).
> The CFINVOKE and CFOBJECT tags and CreateObject function look for CFCs in
> the mapped directories.
>
> Note: These mappings are independent of web server virtual directories. If
> you would like to create a virtual directory to access a given directory
> through a URL, please consult your web server documentation."
> ---
>
> Forgive me if this has been discussed before on the list.  I searched the
> list archives and did find an answer.  If the answer exists, the please
> refer me to it.
>
> --
> Thanks,
> Troy
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224877
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to