GetCurrentTemplatePath() might get you what you want.  But Barney's
second paragraph hits the nail on the head.  CFC's should never need
this type of information (except _perhaps_ for logging?? and if you
needed that).

Cheers,

Sam F



On 11/28/05, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> You could thow an exception and examine the stack trace, but that
> won't help for inherited methods, only for inherited methods called
> from methods defined in the subclass.
>
> Of course, if your functionality is dependant on knowing who's calling
> you, you likely have some flaw in your design.  Environment
> non-neutrality is a pretty consistent warning flag for "bad things".
> In particular, an object should never know or care what it's
> subclasses are.
>
> cheers,
> banreyb
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225566
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to