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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 8.0.0
    • 8.1.0, 9.0.0-M1
    • wicket
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: