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

AjaxFormValidatingBehavior attempts to update non-visible feedback panels

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.14.0
    • 6.16.0, 7.0.0-M2
    • wicket
    • None

    Description

      AjaxFormValidatingBehavior#addFeedbackPanels adds all feedback panels on the page to the AjaxRequestTarget, without any check for visibility in the hierarchy or lack of output MarkupId.

      As the behaviour is so broad it should probably have an added check:
      if ( component.isVisibleInHierarchy()) {
      target.add(component);
      } else {
      visit.dontGoDeeper();
      }

      Attachments

        1. foo.rar
          0.6 kB
          Alexander Keul

        Activity

          People

            bitstorm Andrea Del Bene
            alexander Alexander Keul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: