I'm working on an event listener for our application framework and I've got a piece of code that I'd rather have work another way if possible.
The code is: <cfset evaluate("#registeredEventHandlers[counter]#(argumentCollection=arguments.ev entArguments)")> currentEventHandlers[counter] evaulates to a cfc name eg "application.blogcfc" at this point in time it is a string and not a pointer to an object in memory... Right now, because the string could be pretty much anything, I can't see any other way of doing this to force CF to run an arbitrary function with arbitrary arguments when I fire off an event in the framework. Any ideas would be appreciated! Paul ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272913 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4