dynamically called methods that take multiple arguments?
On Sat, 17 Jul 2004 17:56:01 -0400, Peter Farrell
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Despite all my attempts, I cannot for the life of me figure this one out.
>
> I have a CFC method (Display_Table in the application.MessagesCFC) that displays a table of error message (don't ask - employer!). Display_Tables takes two arguments - Function and Error_List. Function is a name of another method in MessagesCFC that Display_Table will call.
>
> <cfscript>
> application.MessageCFC.Display_Tables("Get_Phone_Messages", "1,2,3");
> </cfscript>
>
> I want Display_Table to call whatever function I pass to it in arguments and I also want to pass the list of errors. I.e. Get_Phone_Messages("1,2,3")
>
> I want the function I pass to be dynamic - what I am I missing?
>
> arguments.Function(arguments.Error_List);
>
> Help...?
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

