|
Hello all.
I want to create a cfc that extents another cfc
located in a relative path (non-mapped) as shown below:
/
models/porsche.cfc vehicles/car.cfc I want that porsche.cfc extends vehicles/car.cfc: <cfcomponent extends="../vehicles/car> I know that it doesn't work , but is there a
way of doing such a thing ?
I cannot use full-package names (mysite.site1.vehicles.car), as the path is unknown and there is a whole lotta' mess in the placements of the components in the existing application . Should I extract the class name from the path and use it dynamically in the 'extends' attribute (like: extends="#myClassPath#") ? On the same page, a related question, is there any way of adding programatically a mapping (not using the Administrator) ? Thanks,
Lucian @ InterAKT Online
|
- RE: [CFCDev] component extends object with relative path Lucian COZMA
- RE: [CFCDev] component extends object with relative ... Jurgen Stillaert
- RE: [CFCDev] component extends object with relat... Stephen Milligan
- RE: [CFCDev] component extends object with r... Jurgen Stillaert
- Re: [CFCDev] component extends object wi... Lucian COZMA
- RE: [CFCDev] component extends object wi... Jeffry Houser
- Re: [CFCDev] component extends obje... Sean A Corfield
- Re: [CFCDev] component extends object with relat... Sean A Corfield
- RE: [CFCDev] component extends object with r... Roland Collins
- RE: [CFCDev] component extends object wi... Jim Davis
- Re: [CFCDev] component extends obje... Lucian COZMA
