> Submission is working fine, but on the other end is a WDDX tag that > expecting to read a Client.object
What do you have on the other end? cfml2wddx/wddx2cfm convertion back and forth between client scope and local vars? > client.cart You cannot put complex(structure) variables in client scope UNLESS you use wddx to serialize/deserialize, if thats the case you would deserialize from client scope to variable/request scope. Joe Eugene > -----Original Message----- > From: Owens, Howard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 9:52 PM > To: CF-Talk > Subject: disappearing client scope > > > Ok, my form submission goes through this little scrpt (on an on-click > event): > > > function updateSubmit(itemID,qNum) { > > document.cartform.action = "index.cfm"; > document.cartform.method = "post"; > document.cartform.saction.value = "update_cart"; > document.cartform.CFID.value = "#URL.CFID#"; > document.cartform.CFTOKEN.value = "#URL.CFTOKEN#"; > document.cartform.ITEM_ID.value = itemID; > document.cartform.QUANTITY.value = qNum; > document.cartform.submit(); > > } > > Submission is working fine, but on the other end is a WDDX tag that > expecting to read a Client.object, but I'm getting an error that the the > client.cart does not exist. > > Now, I've seen client vars get dropped before when I haven't maintained > state (such as in a URLTOKEN), but as far as I can tell the CFID > and CFTOKEN > are getting passed. Here's what I'm seeing in my debug: > > Form Fields: > CFID=1678 > CFTOKEN=46234445 > FIELDNAMES=SACTION,CFID,CFTOKEN,ITEM_ID,QUANTITY,ITEM_ID,QUANTITY > ITEM_ID=6,6 > QUANTITY=1,1 > SACTION=update_cart > > So, where is my client var? > > Why am I seeing this: Error resolving parameter CLIENT.CARTITEMS > > > H. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Howard Owens > Internet Operations Coordinator > InsideVC.com/Ventura County Star > [EMAIL PROTECTED] > AIM: GoCatGo1956 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

