> The problem is I cannot find a way to pass in the function name...
> something like this..which does not work:
>
> <cfset z = application[myname].[mymethod](argumentCollection =
> "#arguments#")>
Yeah, you can't use array notation on the name of a method, so even if
you remove the extra dot between [myname] and [mymethod] I'm pretty sure
it'll still fail...
I believe the only way you can really do this is with cfinvoke:
<cfinvoke component="#application[myname]#" method="#mymethod#"
argumentcollection="#arguments#" returnvariable="z" />
hth,
ike
--
s. isaac dealey ^ new epoch
isn't it time for a change?
ph: 503.236.3691
http://onTap.riaforge.org/blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298678
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4