• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Unexpected behavior when an action is within a WORepetition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unexpected behavior when an action is within a WORepetition


  • Subject: Unexpected behavior when an action is within a WORepetition
  • From: Dev WO <email@hidden>
  • Date: Sat, 14 Jan 2006 18:02:08 +0100

Hi guys,
I don't think I'll get many answers on a week end, but just in case;)

I've got an hyperlink (action) inside a WORepetition.
The repetition list all items in a specific category.
The hyperlink simply add this item to the cart.

to make sure I gave enough details, the action that "addToCart" is inside my Session.java file and it's get called from the hyperlink above (passing the "item" as the parameter) and also from another hyperlink when the user have the full description for a specific item (and only this one).

So here's my problem:
-if I click on a second hyperlink on the same page (choosing a second product from the same list), only the second item is "remembered" but the quantity is actually set to 2.


So it's already causing me problem:( but it gets more wired because if I keep on clicking on other items on this same page, the quantity doesn't change and stay at 2, but the item in cart is replaced by the latest item clicked...

I don't know what kind of details to provide, it's not a crash, nothing is broken, it just don't work the way I though it would.

If anyone could give me a pointer on where to look at or what to try, I'll be very happy:)

When the same action is called from a "full description" page, everything behaves normally.

Thanks a lot and have a nice week end.

Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Unexpected behavior when an action is within a WORepetition
      • From: Dev WO <email@hidden>
    • Re: Unexpected behavior when an action is within a WORepetition
      • From: Arturo PĂ©rez <email@hidden>
    • Re: Unexpected behavior when an action is within a WORepetition
      • From: Ken Anderson <email@hidden>
    • Re: Unexpected behavior when an action is within a WORepetition
      • From: "Jerry W. Walker" <email@hidden>
  • Prev by Date: Re: Opinions on fetching/filtering
  • Next by Date: Re: Unexpected behavior when an action is within a WORepetition
  • Previous by thread: Re: Opinions on fetching/filtering
  • Next by thread: Re: Unexpected behavior when an action is within a WORepetition
  • Index(es):
    • Date
    • Thread