Hassan Arteaga Rodriguez wrote:
Message
I found in Mapping section in CFMX Administrator this note:
 
ColdFusion mappings apply only to pages processed by the ColdFusion Server with the cfinclude and cfmodule tags. If you save CFML pages outside of the Web root (or whatever directory is mapped to "/"), you must add a mapping to the location of those files on your server.

cfc are not processed with cfinclude or cfmodule
 
I'd like to create intance of some cfc in my pages located at this sites (1,2,3)..ie:

MyObj=CreateObject("component","cfc.users");
Okay?  When you create a mapping in CFMX, it will allow you to cfinclude, cfmodule and cfinvoke from that mapping.  If you create a mapping called /cfc (probably a bad name btw) and have it mapped to d:\whatever\cfc, you can then use:

MyObj=CreateObject("component","cfc.users");



--
============================================================
Todd Rafferty - http://www.web-rat.com/
Team Macromedia Volunteer for ColdFusion
http://www.macromedia.com/go/team/
============================================================

Reply via email to