No, I have a structure named method with 2 keys - event and argumentlist so that the actual call I make is;

   evaluate("#method.event#(#method.argumentList#)");

sorry for the confusion - I was trying to keep it simple.

>so you have structure called
>event and argumentList is a key of that structure?
>
>
>
>
>...tony
>
>tony weeg
>senior web applications architect
>navtrak, inc.
>www.navtrak.net
>[EMAIL PROTECTED]
>410.548.2337
>
>-----Original Message-----
>From: Walt Sparrow-Hood [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 22, 2003 10:40 AM
>To: CF-Talk
>Subject: Re:dynamic function call
>
>Tony,
>my request from the browser is passed to a parsing method in my
>applicationAPI which returns a struct with 2 values, the first is event
>which is the name of a function and the second is a list of name value pairs
>(e.g. userid=foo, password=abc) which get passed into the function.  It's
>not the most elegant way to set up a controller but I didn't have the luxury
>of starting from scratch.
>
>>what is event? and what is argumentlist?
>>
>>is this a structure?
>>
>>...tony
>>
>>tony weeg
>>senior web applications architect
>>navtrak, inc.
>>www.navtrak.net
>>[EMAIL PROTECTED]
>>410.548.2337
>>
>>-----Original Message-----
>>From: Sparrow-Hood, Walter [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, October 21, 2003 4:56 PM
>>To: CF-Talk
>>Subject: dynamic function call
>>
>>I am dynamically calling functions on a page using the following:
>>
>><cfscript>
>> evaluate("#event#(#argumentList#)");
>></cfscript>
>>
>>I've tried every combination I can think of to eliminate the evaluate
>>function but nothing works.  Anybody have any ideas??
>>
>>Walt
>>
>>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to