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

Callback after detaching the page but before the PageMap lock is released

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.5
    • 1.3.8, 1.4-RC2, 1.4.1
    • wicket
    • None

    Description

      Currently, it is not possible to perform any checks on a page after the request has been detached. In onEndRequest, the PageMap lock has already been cleared, making it unsafe to access the pages involved in the request. Would it be possible to add an extra callback method (ie. onAfterTargetDetach()) to RequestCycle directly after detaching the request targets? We need such a callback to check (in development mode) if all models are detached correctly.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            papegaaij Emond Papegaaij
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: