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

Ajax requests are still firing even when placeholder tag is written only

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.0.0
    • Fix Version/s: 8.1.0, 9.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      Wicket JavaScript has a default precondition, that prevents Ajax requests from being fired, should the component no longer be on the page.

      If a component is not visible, but nevertheless is writing a placeholder tag, the request is still fired. This results in a ListenerInvocationNotAllowedException and redirect to an access denied page.

      Wicket could add some magic to prevent this from happening.

        Attachments

          Activity

            People

            • Assignee:
              svenmeier Sven Meier
              Reporter:
              svenmeier Sven Meier
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: