Charlie,

It didn't like that. Error message here.

Invalid CFML construct found...
ColdFusion was looking at the following text:
(


So then I tried moving the first closing bracked to include the arguments,
but no go there either. This can be emulated if you have an object with a
getter function (assuming that if I can get this simple example to work, the
loop will work too).

<cfset getter = "FirstName">
<cfset myFN = myObject['get' & getter]() /> ---Throws error

Other try:
<cfset myFN = myObject['get' & getter & '()'] /> ---Also errors


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238005
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to