Note that there are some explanatory texts on larger screens.

plurals
  1. USGorkk
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COWell, my experiment with the custom page to clear before redirecting didn't actually work (I thought so but I had just forgotten to remove a systematic clear done in my bookmarkable page for tests purpose). With the redirection page the behaviour would be the same as without it. The page parameter option works of course very well, and I started first with passing the parameter and then in the constructor of the page, when the parameter for clearing was defined, clearing the session and redirecting to itself without that parameter. I ended up with a more generic version (see update in question)
      singulars
    2. CONote: in that session clearing page, I had to use `throw new RestartResponseAtInterceptPageException(..)` instead of `setResponsePage(..)` as the later would just lead to a blank page and stop there (probably because I was reaching that page through a `setResponsePage`), with nothing in the log though.
      singulars
    3. COThat works indeed; though passing a parameter to the page means the parameter will then be visible to the client and sit in the url. Additionally in the complete use case the wizard will redirect to the entity page when used to edit an entity. To avoid repeating the code and send that parameter, and thanks to your suggestion, I ended up creating a Page just to that effect (with 3 constructors corresponding to the three method signatures for `setResponsePage`) which just clear the session and then itself redirect to the page that was initally meant. Thanks a lot for the suggestion.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload