Re: Preventing AJAX behavior to execute during page reload

2020-03-06 Thread Bas Gooren
Hi Sebastian, I’m confused: you say you have a stateful page but redirect in a stateless manner (to a new page instance). I think this is relatively easy to fix if you remain stateful, because (a) wicket guards against concurrent acces to a single page instance and (b) you can track in the page s

Preventing AJAX behavior to execute during page reload

2020-03-06 Thread Sebastian Lichtenfels
Hi all, I have a problem with an AJAX behavior that I have on a stateful page. The behavior is triggered by the user by clicking a button (the button is outside my control). The behavior then does some backend action on the server and afterwards reloads the page (by calling RequestCycle.get().s