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

          Stanislav Dvorscak created issue -
          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?
          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.
          Stanislav Dvorscak made changes -
          Field Original Value New Value
          Attachment wicket-bug-812.tar.gz [ 12365379 ]
          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.
          Eelco Hillenius made changes -
          Fix Version/s 1.3.0-beta5 [ 12312818 ]
          Frank Bille Jensen made changes -
          Fix Version/s 1.3.0-rc2 [ 12312513 ]
          Fix Version/s 1.3.0-rc1 [ 12312818 ]
          Frank Bille Jensen made changes -
          Fix Version/s 1.3.0-rc3 [ 12312886 ]
          Fix Version/s 1.3.0-rc2 [ 12312513 ]
          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".
          Frank Bille Jensen made changes -
          Fix Version/s 1.3.1 [ 12312500 ]
          Fix Version/s 1.3.0-rc3 [ 12312886 ]
          Igor Vaynberg made changes -
          Link This issue is duplicated by WICKET-1194 [ WICKET-1194 ]
          Igor Vaynberg made changes -
          Assignee Igor Vaynberg [ ivaynberg ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development