> hehe sorry dude.. assumed u were a seasoned coldfusion 
> developer, haha ;)

I'm getting there :). I've been doing VBScript for years, and CF for about a
year and half, but I'm still figuring out lingo on some of this stuff, and
I've done nothing but procedural CF for the last year.

> The Form variable scope can be access like a user defined structure.
>  
> eg <cfdump var="#form#">, <cfdump var="#session#"> 
> will dump out all form and session variables respectively...

Right.

> so in your methods declare an argument like..
> 
> <cfargument name="form" type="struct" required="true">
> 
> and then you can process as per usual. eg form.surname, etc.

Gotcha... So in this case you're basically duplicating the structure? If I
change the form value inside the CFC, does it change the corresponding form
value outside it? Just trying to make sure that it's a copy, and not a
reference to the outside scope.

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]

Reply via email to