Ah, a java method. Sorry missed that important bit. But I still think
you can use it. I don't think it is limited to CFC-based objects. The
CFDocs have an example like this:

<!--- This syntax invokes a component.
This syntax shows instantiation with the cfobject tag.
This cfinvoke syntax applies to instantiating a component
with the cfobject tag and to instantiating a component
with the CreateObject function. --->
<cfobject
   component = "component name"
   name = "mystringname for instantiated object">
<cfinvoke
   <!--- value is object name, within number signs. --->
   component = "#mystringname for instantiated component#"
   method = "method name"
   returnVariable = "variable name"
   argumentCollection = "argument collection"
   ...

You wouldn't necessarily have to use the argumentCollection parameter,
but could instead use the CFINVOKEARGUMENT tag within.

Here's a quick link to the page:
http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=00000553.htm

Cheers,
Kris


> Hi Kris, I thought CFINVOKE was only used for CFC's.
> Can you show me a quick example using that tag of how to use CFINVOKE to call 
> a java method with named arguments?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251976
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