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

Do not register Ajax timer if the component is removed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.3.0
    • 6.4.0
    • wicket

    Description

      I have this example to show my problem:
      https://github.com/olze/WicketPanelReplace

      This kind of architecture is used in a bigger application with about 30-35 panels where about 10 use Ajax to replace itself. The problem is that after the addOrReplace() the parent to the panel get lost which will lead to findParent() returning null. And because of that, the error "Page not found for component..." will be displayed.

      Its like a "ping pong" application which means i dont know what to display next - i get this information from a controller in the backend. For that reason i can not create a flow-based wizard like the wizard example because i dont know yet what to display.

      As adviced in the mailing list i created this jira issue. I dont know if this is a bug or a feature request.

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              olze84 oliver z
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: