> Hey all.
>
> I have been extending an Application.cfc from my root in a sub directory
> using mappings. I recently implemented THIS.mappings and it doesn't appear
> that the mapping for the extended Application.cfc is working. can anyone
> test this and confirm deny it?
You can't. Mappings created in the Application.cfc can't affect the
extends attribute of the Application.cfc. If you're using Adobe's CF
server, you can create a file in the current directory like this:
appcfcproxy.cfc
<cfinclude template="../Application.cfc" />
And then in your subdirectory/Application.cfc use
extends="appcfcproxy.cfc"
I'm not sure about Railo or Smith but I know this won't work with
BlueDragon.
The onTap framework's Application.cfc was designed to eliminate the need
for this kind of nesting (as was common with Application.cfm) by making
the onRequestStart and onRequestEnd events tiered. This way you can
easily add whatever you need in those events for a given subdirectory
without doing this kind of tapdancing with the Application.cfc.
--
s. isaac dealey ^ new epoch
isn't it time for a change?
ph: 781.769.0723
http://onTap.riaforge.org/blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317357
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4