Table Of Contents
 

dcCom ColdFusion Component Framework F.A.Q.

Author : Daniel Mackey Email : dan@digital-crew.com

dcCom doesn't seem to work with FuseBox?


or dcCom is getting the paths to the component incorrect?


The dccom.cfm custom tag does it's best to figure out the file and URL path to the "dccom" directory. Without going into details why, it is possible that it will get the URL path incorrect.An easy way to fix this is to simply tell dccom where what the URL path to the "dccom" folder should be by passing in the dcCom_RelPath attribute.

e.g. <cf_dccom component="component" dcCom_RelPath="../../../dccom/"></cf_dccom>

Another simple solution is to use a <base href> tag on your website.

Can I put the dccom.cfm file the customTags folder?


No. You need to leave the dccom.cfm folder in each folder where you invoke a dccom component. Placing the tag in the custom tags folder will only cause problems.