Maybe you could add a "delegate" method to the CFC that takes an argument used in a switch statement to determine which method to use. You could also add error handling here, making your code more robust.
On Feb 11, 2008 10:58 AM, Andrew Grosset <[EMAIL PROTECTED]> wrote: > >In this scenario, you need to use <cfinvoke> to do the job for you. > > Thanks everyone for your replies, and yes I'm using cfinvoke, I just hoped > there would be a way to dynamically pass in the method name when using a CFC > in the application scope - seems like there isn't a way! frustrating to say > the least! > > thanks, Andrew. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298715 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

