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