On Tue, 15 Mar 2005 15:45:49 -0500, Dave Merrill <[EMAIL PROTECTED]> wrote:
> I'd like to do something like this blatantly illegal code:
> 
> <cfset my_obj[method]()>

Eiither:

<cfset method = myObj[method] />
<cfset method() />

Or:

<cfinvoke component="#my_obj#" method="#method#" />

I'd recommend the latter.
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]

Reply via email to