> <cfinvoke component="#myService#" 
> method="save#ARGUMENTS.myTable#" 
> returnvariable="aVarIfYouWantOne">
>   <cfinvokeargument name="myBeanObj" value="#myBeanObj#">
> </cfinvoke>

I found on one of Ben Nadel's blog recently that you can (at least with
CF8 and the latest updater) use 1 as the name of the argument. 

<cfinvoke component="#myService#" 
method="save#ARGUMENTS.myTable#">
  <cfinvokeargument name="1" value="#myBeanObj#">
</cfinvoke>

Which might be helpful if different functions in that object have
different names for the first argument. 

It didn't always work in my environment at the time apparently because
of a bug with cf-script-based functions in CF8 that was fixed in the
updater, but I hadn't installed it yet. I haven't tried it on CF7, but
my guess would be the bug exists there also. But if you're not creating
functions with cfscript then you won't run into that issue. 


-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
     ph: 781.769.0723

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;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312339
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to