Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
getCallingTemplatePath()
Home
ColdFusion
Discussions
getCallingTemplatePath()
0
Upvote
getCallingTemplatePath()
itisdesign
Engaged
,
/t5/coldfusion-discussions/getcallingtemplatepath/td-p/315628
Nov 04, 2006
Nov 04, 2006
Copy link to clipboard
Copied
Anyone know of another way besides
examining the stack trace
to get template paths between getCurrentTemplatePath() & getBaseTemplatePath()?
Odd, it seems, that getCallingTemplatePath() isn't a built-in function.
TIA,
-Aaron Neff
TOPICS
Advanced techniques
Views
297
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
2 Replies
2
Jump to latest reply
MikerRoo
Advisor
,
/t5/coldfusion-discussions/getcallingtemplatepath/m-p/315629#M28526
Nov 05, 2006
Nov 05, 2006
Copy link to clipboard
Copied
It's not a built in function because there is no legitimate need.
A given piece of code should not know, or care, which code called it. This is part of good, modular, atomic design.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
itisdesign
AUTHOR
Engaged
,
/t5/coldfusion-discussions/getcallingtemplatepath/m-p/315630#M28527
Nov 05, 2006
Nov 05, 2006
Copy link to clipboard
Copied
LATEST
In Response To MikerRoo
I deserved that, for my sarcasm.
Modularity in programming is good; no argument there.
To anyone who would find this function useful, for what it is worth, I have submitted it as a feature request.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide