> I have a user case like this: > > 1. User opens products page. > 2. User chooses a product. > 3. User clicks "add product to shopping cart". > 4. User is redirected to shopping cart list. > 5. User clicks _back button in the browser_. > 6. Added product in step 3 disappear from the shopping cart :(
So is the problem that the item is removed from the list again, or that you display an old page? > How can I fix it? If the item is actually removed from the list: make sure the addition isn't recorded as a state change (I think it only is when you call setModelObject). Turning versioning off for the page that does the adding (override isVersioned and let it return false) is another way to avoid this, and in fact 'turn off' the back button for that page altogether (because no different versions are generated te URL stays stable). Eelco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
