Hmmm, faster? I'm not sure about that but, it would allow you to manipulate
the data on the server side as a native query object or structure if you
converted it to such. Either way you will have to write JS that allows
editing of the various arrays that will be used on the client side but you
can use WDDX to create the initial arrays that will hold the order
information. This method will prevent you from having to parse the
presumably large and unorganized data that would be returned if you just use
the formfields list or pass a ton of FORM. data. WDDX will allow you to pass
a "complex object" back to the server.

Steve

-----Original Message-----
From: Bill Killillay [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 26, 2000 10:27 AM
To: [EMAIL PROTECTED]
Subject: RE: How to do multiple updates in one submit click


Is WDDX going to be faster then one of the methods already mentioned here.
I am just curious, as I am always looking for faster ways to do things, as
load times are still a big factor on the internet.

> -----Original Message-----
> From: Steve Bernard [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 26, 2000 10:02 AM
> To: [EMAIL PROTECTED]
> Subject: RE: How to do multiple updates in one submit click
>
>
> You should look into using WDDX.
>
> Steve
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Michael Kear
> Sent: Sunday, June 25, 2000 11:10 PM
> To: [EMAIL PROTECTED]
> Subject: How to do multiple updates in one submit click
>
>
>       I'm building an application that's kind of like a menu.  There
> might be a hundred items in this menu, and people will be ordering dozens
> of items in a single order.  I'd like to have them enter the order in one
> go instead of having to click and wait for the page to update at each
> item, the way a regular shopping cart does.
>
> What 'd like to be able to do is have them go down the page, entering
> quantities against the items they want, and then process the order on teh
> one click.
>
> Each item will go in a orders table with the following fields:
> [invoicenumber] [itemcode] [quantity] and presumably a [transid] field to
> index this table.
>
> How can I code the CF action page to do these multiple inserts into
> the orders table?
>
>
> The form will look something like this:
>
> <form action="actionpage.cfm" method="POST">
> <table>
> <!--- Header row --->
> <tr>
>     <td>Item code</td>
>     <td>Quantity</td>
>     <td>Description</td>
>     <td>Price per unit</td>
> </tr>
>
> <!--- item 1 --->
> <tr>
>     <td>#Itemcode1#
>     <input type="hidden" name="itemcode1" value="#itemcode1#"></td>
>     <td><input type="Text" name="item1quantity"></td>
>     <td>#Description1#</td>
>     <td>#Priceperunit#</td>
> </tr>
>
> <!--- item 2 --->
> more items  - up to 100
>
> <tr>
>      <td colspan=4><input type="submit" name="Submit" value="Submit"></td>
> </tr>
>
> </table>
>
> </form>
>
> ------------------------------------------------------------------
> ----------
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to