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

Add RestartResponseException constructors to specify a RedirectPolicy

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5-RC4
    • Fix Version/s: 1.5-RC5
    • Component/s: wicket
    • Labels:
      None

      Description

      Since Wicket 1.5 uses RedirectPolicy.AUTO_REDIRECT, it would be good to be able to specify an explicit other policy.
      We often use this in cases we need to redireect, even though the AUTO_REDIRECT might choose not to do so (the reason being to transport cookies/new session to the user between those requests). Also in some rare cases we need to force a NEVER_REDIRECT for a certain page in order to keep the URL as is.
      It would be great if there were overloaded constructors to specify the RedirectPolicy for the RenderPageRequestHandler.

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              tapter Matthias Keller
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified