Have to admit I find it shocking that a THIS scoped variable cannot be updated 
within the enclosing component by using a simple assignment statement...

Thanks to all for your replies.


It can be done that way.  What you are not realizing is that when you post 
directly to the CFC url by the action property of the form tag, you are 
creating a new instance of the object each and every time, and then assigning 
your values to that newly created instance.

If you go to an action page that can access the already created object in the 
session scope then this line will work just as you desire.

Session.myObject.thisVariable = form.someField

Or if you want to pass the entire form scope.

Session.myObject.thisStruct = form


--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Sudoku
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272075
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to