Howard,

When you do this:

CartItems = ArrayAppend(cart, item);

You are altering the array named CART by appending a value to it.  But you
are NOT assinging "CART" to CARTITEMS as you suppose.  You are setting
CarItems to true or false (because arrayappend( )  returns a boolean - not
an array).  Within your script block, use the funtion directly without
assignment:

Arrayappend(cart,item);

Then change your wddx serialization to:

<cfwddx action="CFML2WDDX"
        input="#Cart#"
        output="client.CartItems"
        usetimezoneinfo="No">


...Otherwise you are serializing a single value set to "true" or "false"

-mk


______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to