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

Page.onDetach is called by each ComponentResourceRequestTarget

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0 branch (discontinued), 1.3.0-beta1
    • 1.3.0-beta2
    • wicket
    • None

    Description

      ComponentResourceRequestTarget#detach(RequestCycle) calls page#internalDetach()

      This results in Page#onDetach() being called as many times as there are images or whatever on your page, which seems entirely wrong. Mentioned this to ivaynberg on IRC and he said: "we should have theadlocal guards".

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              almaw Alastair Maw
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: