Try the cfinvoke tag?

On 3/17/07, Paul Vernon <[EMAIL PROTECTED]> wrote:
> 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
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272920
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to