form variables get passed into the cfml page as a structure which is
why you can reference them as form.firstName or form.lastName

if your component method expects a structure as a parameter 
<cfargument name="userInfo" type="struct" required="true">

then you can pass in the form structure

ie user.Save(form)

then inside your component again you can reference each form field as
arguments.userInfo.firstName
arguments.userInfo.lastName




On Wed, 17 Nov 2004 13:54:34 -0800, Daniel Short <[EMAIL PROTECTED]> wrote:
> > whats wrong with passing in the entire form struct?
> >
> > TiM
> 
> Part of the problem is I don't necessarily understand what you just said :).
> 
> Dan
> 
> 
> 
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the words '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 
> [EMAIL PROTECTED]
> 


-- 
Bill
http://blog.rawlinson.us
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words '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 
[EMAIL PROTECTED]

Reply via email to