[Seaside] Re-render component on back button

Lorenz Köhl lorenz at quub.de
Sun Dec 1 15:34:01 UTC 2013


I'm developing a shopping cart and wondering if there's any way to show its size consistently even after pressing the back button.

I think I would need to force a re-render, but since I'm not sure what the browsers actually request on back button presses I'm at a loss how to configure this, if possible.

When I open the developer tools network tab in chrome and press the back button, the behaviour is different than normally, ie. after I added an item and it shows '1 article' and I press back, then the component is properly re-rendered and still shows '1 article' even on the previous page. So chrome requests are probably
different..

Is it possible to force this behaviour in the normal browser state?

greetings,
	Lo


More information about the seaside mailing list