This is very similar to what I'm trying to do. Charlie
On Jul 27, 3:02 pm, Alan Holden <[email protected]> wrote: > I can't speak for Charlie, but here's a simple example: > > Picture a handful of components that all extend a utility cfc - which > has some basic methods to init a user/log message structure and > subsequently append to it. Each child method wants to call the utility > method to add more info to the message, with one of the arguments being > the method's own name. Hard coding the name of the method within each of > those calls can be tedious. > > Al > > On 7/27/2011 2:44 PM, Peter J. Farrell wrote: > > > > > I don't believe this is possible. What are you trying accomplish? > > Maybe there is another way... > > > .pjf > > > Alan Holden said the following on 07/27/2011 04:42 PM: > >> I tried to get an answer for this one - with regard to "traditional" > >> ACF - a year or more ago. > > >> It had to do with my automatic error message generation, also a cfm > >> page of mine which could register all the methods in all the cfc's of > >> a directory - and spit out a dynamic form to test each one from my > >> browser. > > >> I can't remember if it was the Adobe forums or not. I remember getting > >> some incomprehensible explanation why this was a crazy thing to want > >> or need to ever do, because of proper encapsulation and design or some > >> such thing. A simple "it's not possible" would have been nice... > > >> Good luck. Let me/us know what you find. > > >> Al > > >> On 7/27/2011 2:06 PM, Skellington wrote: > >>> Hello, > >>> Is it possible to get the function name of the cffunction which is > >>> being called? > > >>> For example: > > >>> <cffunction name="returnMyName" access="public" returntype="any" > >>> output="no"> > >>> <cfreturn #me.name#> > >>> </cffunction> > > >>> Thanks, > >>> Charlie -- official tag/function reference: http://openbd.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
