When requesting a CFC (either by createObject() or extends=""), you must
supply a dot-notated path that is absolute to the web root.  For instance...

- /wwwroot
   baseapp.cfc
- - /blog
     myclass.cfc

For /blog/myclass.cfc to extend /baseapp.cfc it would be...

extends="baseapp"

You could, of course, use a mapping, but that just makes a path outside the
web root accessible (by CF internally) as though its residence was inside
the web root.  In other words, you'd still be calling an absolute path.

The bottom line is, relative paths do not work with CFCs.

HTH


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331151
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to