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

FencedFeedbackPanel doesn't work in a nested multipart form (with ajax file upload)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 6.7.0
    • None
    • wicket
    • Windows 7, JBoss 7.1

    Description

      If you nest a Form with file upload in another form, and use a FencedFeedbackPanel to isolate errors from file upload, the error won't show in the panel. This seems to be because the component giving the error is actually the outer form (which is the form actually handling the file upload, I guess).

      I handled this in our app by using a regular FeedbackPanel in the nested form, with a filter that had to lookup the localized messages for file upload errors and compare those against the message. Really clunky and rather silly workaround...

      A better solution would be very welcome...

      Attachments

        1. FencedFeedbackQuickstart.zip
          27 kB
          Oddgeir Bell

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kizer Oddgeir Bell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: