I have a shopping cart that looks like this:

Price | Qty | Cost | Description
------|-----|------|------------
$5    | 1   | $10  | Red Elmo
$10   | 2   | $20  | Green Elmo
(etc.)
Total: $30

The Qty field is editable by the user.  I need to be able to tell when the user 
updates the Qty update the Cost for that line item and the total cost at the 
bottom.

I can get it to work if I have + and - action link and don't let the users 
change the field directly. But I cant seem to get it to do the same thing on an 
onkeyup.

I have looked at:
http://tinybits.blogspot.com/2009/05/update-zone-on-any-client-side-event.html

But it doesn't appear to work with multizone updates.

I also looked at ChenilleKit's OnEvent, but it doesn't seem to know anything 
about zones. (Unless I'm misunderstanding how it works.)

Does anyone have any suggestions or can you point me to an example of something 
like this being done?

Thanks!

Jack


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to