Backtrack and re-submit WOSubmitButton behaviour
Backtrack and re-submit WOSubmitButton behaviour
- Subject: Backtrack and re-submit WOSubmitButton behaviour
- From: John Pollard <email@hidden>
- Date: Fri, 25 Sep 2009 15:46:39 +0100
Hi List, I am struggling with a simple backtrack scenario with our web-
site shopping cart.
To observe the behaviour, please use this link to put a delightful
pair of gloves in the cart on our test server:
http://test.inrax.com/wa/4/43/4004/120494.html
then click CHECKOUT, enter some rubbish into the mandatory fields and
TICK THE "Deliver to an alternative address?" box, then click NEXT STEP.
This takes you to the next checkout page where you can enter the
alternate delivery address.
Now you realise that you don't want a separate delivery address after
all, so you backtrack one page and untick the "Deliver to an
alternative address?" box and click NEXT STEP again.
This is where things go wrong and the behaviour depends on the browser:
Safari on Leopard: the new toggle selection is completely ignored and
your second click on NEXT STEP does not result in my submitDetails()
method being called at all; this is the action method on the NEXT STEP
WOSubmitButton. Tellingly (I suspect), if you do the opposite and
initially do NOT tick the Alternate Delivery Address toggle, but
change your mind, backtrack and then tick it, the submitDetails() is
called and it works as expected.
IE8 on WinXP: When you try to backtrack, IE doesn't let you, saying:
Webpage has expired, Most likely cause: The local copy of this webpage
is out of date, and the website requires that you download it again.
etc. and if you opt to refresh it tells you not to do so if you are
buying something!
Firefox on Leopard: On clicking the backtrack button, you are told
Firefox must send info to repeat the action and clicking Resend has
the end result of leaving you where you are effectively blocking the
backtrack.
John
_______________________________________________
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