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

Add "auto-disabling on submit" Button and Link components

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 6.8.0
    • None
    • wicket
    • None

    Description

      A lot of people (from mailing list, StackOverflow, etc.) are asking for how to do a very common UI pattern: disable the button/link during submission or AJAX request, and re-enable it otherwise.

      Many then resort to various hacks which may be fragile. Have these components in Wicket core will make it much easier to implement this very common pattern.

      Here I provide our implementation of the auto-disabling components (attached files), taken from https://github.com/soluvas/soluvas-web project.

      Attachments

        1. AutoDisableAjaxButton.java
          1 kB
          Hendy Irawan
        2. AutoDisableAjaxCallListener.java
          2 kB
          Hendy Irawan

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ceefour Hendy Irawan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: