Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4699

Add NonResettingRestartException

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.0.0-beta3
    • 6.0.0
    • wicket

    Description

      In my application, I use a NonResettingRestartException as suggested by Martin Grigorov in the mailing lists. This exception triggers a redirect which restarts the response but does not discard the response's meta data (e.g. cookies). Its implementation and discussion are in WICKET-4637.

      In my opinion, such an "official" version of this exception would be useful in wicket-core since it's not at all trivial to come up with unless much of Wicket internals is known.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mgrigorov Martin Tzvetanov Grigorov
            berniegp Bertrand Guay-Paquet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment