Wicket
  1. Wicket
  2. WICKET-4886

Do not register Ajax timer if the component is removed

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.3.0
    • Fix Version/s: 6.4.0
    • Component/s: wicket
    • Labels:

      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.

        Issue Links

          Activity

          oliver z created issue -
          Martin Grigorov made changes -
          Field Original Value New Value
          Summary Panel cant be replaced by an Ajax event inside the panel Do not register Ajax timer if the component is removed
          Martin Grigorov made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Martin Grigorov [ mgrigorov ]
          Fix Version/s 6.4.0 [ 12323450 ]
          Resolution Fixed [ 1 ]
          Martin Grigorov made changes -
          Link This issue contains WICKET-4910 [ WICKET-4910 ]

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              oliver z
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development