Wicket
  1. Wicket
  2. WICKET-812

Submit button, multipart content and UploadProgressBar

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-beta2
    • Fix Version/s: 1.3.1
    • Component/s: wicket-extensions
    • Labels:
      None
    • Environment:
      windows xp, firefox 2.0.0.6

      Description

      When I use UploadProgressBar, then onSubmit method of SubmitButton not function. I can not also find submit button with findSubmittingButton method of Form. I search this problem. And I find only - submit button is not in http request parameter.

      1. wicket-bug-812.tar.gz
        7 kB
        Stanislav Dvorscak

        Issue Links

          Activity

          Hide
          Gerolf Seitz added a comment - - edited

          the problem seems to be that the generated onSubmit attribute of the form ends with "return false;" (generated by UploadProgressBar).
          after removing this piece of code, the submit button and other formfields are sent with the submission.

          does anybody know, why "return false" is in there?
          the author is supposed to be "Andrew Lombardi".

          Show
          Gerolf Seitz added a comment - - edited the problem seems to be that the generated onSubmit attribute of the form ends with "return false;" (generated by UploadProgressBar). after removing this piece of code, the submit button and other formfields are sent with the submission. does anybody know, why "return false" is in there? the author is supposed to be "Andrew Lombardi".
          Hide
          Eelco Hillenius added a comment -

          bulk set issues to next version. I only did a quick check (and filtered some out for 1.3.1), but we can always bump em again.

          Show
          Eelco Hillenius added a comment - bulk set issues to next version. I only did a quick check (and filtered some out for 1.3.1), but we can always bump em again.
          Hide
          Stanislav Dvorscak added a comment -

          I uploaded an example of this problem. When you run this application, you can see form with upload file field, upload progress bar and submit button. When you click on submit upload button than you see - onSubmit method of form is called, but onSubmit method of submit button is not called.

          Show
          Stanislav Dvorscak added a comment - I uploaded an example of this problem. When you run this application, you can see form with upload file field, upload progress bar and submit button. When you click on submit upload button than you see - onSubmit method of form is called, but onSubmit method of submit button is not called.
          Hide
          Jean-Baptiste Quenot added a comment -

          Would you mind filing an example source code, preferably in the form of a "quickstart" project?

          Show
          Jean-Baptiste Quenot added a comment - Would you mind filing an example source code, preferably in the form of a "quickstart" project?

            People

            • Assignee:
              Igor Vaynberg
              Reporter:
              Stanislav Dvorscak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development