Hi all,

Is there any good tutorial or examples on WDDX.  I really have never used it but it 
sound like it could be of good use to me.

Thanks
Mario

-----Original Message-----
From: John McCosker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:26 AM
To: CF-Talk
Subject: RE: ColdFusion and Javascript


Why dont you use WDDX,
when a check box is checked add it to an array with a string index not an
int index,
only because its easier to delete if the checkbox is unchecked,

then when they click next page serialise the js array and pass the wddx
along the url,
or do a form post on your next button links that passes the wddx packet
inside a hidden field.

Then update your sesion var server end before displaying your data.

Alernatively why not use a cookie and use javascript to to append ids and
remove ids.
You have a max of 4k of data with a cookie.

J

-----Original Message-----
From: chad [mailto:[EMAIL PROTECTED]
Sent: 12 August 2003 15:05
To: CF-Talk
Subject: ColdFusion and Javascript


I need some help with integrating coldfusion and JavaScript. I am building a
comparison application that will allow customers to select products to
compare. I have a checkbox under each product that I need (when selected) to
add that productID to a coldfusion array (which is a session variable). The
reason why I am going with JavaScript is because I am showing 25 products
per page, so when a user clicks on "Next Page" they don't loose the
previously checked products. The "Next Page" is not within a form tag, so I
can't just pass the checkbox variable.

Any help would be great.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to