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

UploadProgressBar component can't be removed or replaced easily

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.5
    • 1.4.6, 1.5-M1
    • wicket-extensions
    • None

    Description

      When an UploadProgressBar component is removed, this exception is thrown: java.lang.IllegalStateException: No Page found for component

      There is a getPage() call inside an attribute modifier that is registered on the form:
      form.add(new AttributeModifier("onsubmit", true, new Model<String>() {
      .... getPage() ....
      }

      Obviously one must remove the attribute modifier from the form when removing the UploadProgressBar.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            samket Sampo Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: