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

Overriding Form.onFileUploadException in nested forms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 6.6.0, 1.5.10
    • None
    • wicket
    • None

    Description

      If the upload exceeds the allowed max size, the
      SizeLimitExceededException is caught in the outer form, i.e. the
      form to which the upload component was added. Thus, I cannot
      override Form.onFileUploadException in my inner form and thus
      not implement a custom handling (this is necessary, as in this
      case I need to explicitly call FeedbackPanel.error on my upload
      component's FeedbackPanel and add update it via Ajax). Adding
      custom code to the outer form is not an option as this way I'd
      have to modify all users of my upload component.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              guiom.mary Guillaume Mary
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: