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

Provide behavior that disables a button after click

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.0.0-M6
    • Fix Version/s: 7.10.0, 8.0.0-M9
    • Component/s: wicket-extensions
    • Labels:
      None

      Description

      Wicket should provide a Behavior that can be assigned to (Ajax)Buttons and when clicked those buttons should be disabled via the HTML "disabled" attribute.
      For AjaxButtons the behavior should re-enable the button after processing the Ajax response.

      1)Run the app
      2)Click "submit" quickly several times
      3)Watch the console

        Attachments

        1. block-comment-doublesubmit.png
          9 kB
          Kamil
        2. showcase-preventClick.zip
          28 kB
          Kamil

          Activity

            People

            • Assignee:
              bitstorm Andrea Del Bene
              Reporter:
              eximius Kamil
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: