Jeff Anderson wrote:
you can also pass a in struct where the keys have the same names as
the arguments like this:
<cfset varPass = createObject("component",
"CFC.varPass").varpass(argumentcollection=argStruct) />
it can be particularly handy for submitting form vars to a cfc
FYI for people that don't use this often - when using
argumentcollection, don't create an <cfargument
name="argumentCollection" ... /> in your method as having that argument
causes the CFC code to throw an error during compile time parsing.
.pjf
--
Peter J. Farrell :: Maestro Publishing
blog :: http://blog.maestropublishing.com
email :: [EMAIL PROTECTED]
phone :: 651-204-0513
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]