I haven't been following this thread very closely, but in case nobody suggested this alternative, I thought I'd mention this. You could create a method that accepts two arguments: the name of a method to run and a structure containing it's arguments.... then your caller code doesn't have to get all funky - it just passes the variable with the name of the function as it's first argument. The method that accepts that name would simply contain a switch block to determine what to call.

~Simon

Simon Horwith
CIO, AboutWeb - http://www.aboutweb.com
Editor-in-Chief, ColdFusion Developers Journal
Member of Team Macromedia
Macromedia Certified Master Instructor
Blog - http://www.horwith.com




Steve Bryant wrote:

You can use structure syntax for queries, but you need to indicate the row:

#trim(evaluate("query.#ColumnName#"))#
#trim(query[ColumnName][CurrentRow])#

#Evaluate("query.column#request.stAvailableLanguages[i]["language"]#")
query['column#request.stAvailableLanguages[i]["language"]#'][CurrentRow]

Steve

Steve Bryant.
Bryant Web Consulting LLC
http://www.BryantWebConsulting.com
http://steve.coldfusionjournal.com/

At 08:22 AM 3/16/2005, Robertson-Ravo, Neil (RX) wrote:

Cool,

Would love to see alternative ways that I don't know about or haven't used.

OK, say we have this

#trim(evaluate("query.#ColumnName#"))#

Or

#Evaluate("query.column#request.stAvailableLanguages[i]["language"]#")


Cheers

N



----------------------------------------------------------
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]






---------------------------------------------------------- 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