-Yes, my reading of the docs agree that if you call
-getCurrentTemplatePath() inside Application.cfm, it should return the
-path of that Application.cfm file.

Okay, S. Isaac seems to suggest that it misbehaves when: An external template 
calls a <cfscript>-defined UDF that, in turn, calls getCurrentTemplatePath(). 
It turns out that the caller of the *UDF* has *its* path reported. He notes 
that it doesn't behave this way when the UDF is defined in <cffunction>.

I guess I'll send in a bug report, and make a note in the livedocs (of 6.1, and 
CFMX7 too, if it's confirmed that it still happens there).

Thanks for both of your replies,
Jamie

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202489
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to