Matt,

My preference for situations like this would be..

<cfinvoke method="methodName"   component="componentName"
argumentCollection="#form#"/>

I stay away from your "dot notation" syntax like the plague, so I'm not sure
exactly how it works, but it might work like this:

methodName(argumentCollection=#form#)

 - j.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Knight, Matt
Sent: Thursday, October 09, 2003 8:40 AM
To: '[EMAIL PROTECTED]'
Subject: [CFCDev] Passing an argumentCollection to a CFC method


I know that you can pass arguments to a method call using
methodName(argumentCollection=arguments);, however, I've tried using
...(argumentCollection=form); and it doesn't work.  The method will complain
that it did not receive required arguments.  Does anyone know why form won't
pass to the method, but arguments will?

One difference I know of, passing arguments is only done from within the CFC
(method to method) and passing form is from a .cfm page to the CFC method
(outside the CFC).

Regards,

Matt Knight | Dresser Corporate Web Team | Dresser, Inc. | w:972.361.9943 |
m:214.213.4016

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.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 word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to