yeah, thats i guess im seeing, okee dokee... grrrr...
On 9/24/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: > you can set fields into the form (keys into the form struct/scope), > but not create/alter the form scope directly. > > in your code example, you'd loop over the tony struct and set each > form field with that. > > does seem like a PITA... duplicate() would be a nicer (easier) way :\ > > On 9/24/07, Tony <[EMAIL PROTECTED]> wrote: > > can someone explain why the dump of the > > form scope, doesnt show, but the dump of > > the "chuck" scope does? > > > > i assume that its because the name "form" is > > protected and can be psuedo used...? > > > > help. thanks. tony > > > > <cfset session.tony = structNew() /> > > <cfset session.tony.firstname = "Tony" /> > > <cfset session.tony.lastName = "Weeg"> > > <cfset form = duplicate(session.tony) /> > > <cfset chuck = duplicate(session.tony) /> > > > > <cfdump var="#session#"> > > <cfdump var="#session.tony#"> > > <cfdump var="#form#" label = "Form should be here"> > > <cfdump var="#chuck#" label = "Chuck was here"> > > > > -- > > 'Never have anything in your life that you can't walk out on in thirty > > seconds flat, if you spot the heat coming around the corner' > > > > robert deniro - heat (1995) > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289360 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

