[
https://issues.apache.org/jira/browse/WICKET-6448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125821#comment-16125821
]
Kamil commented on WICKET-6448:
-------------------------------
ok, I can slightly agree that this could be not a bug but very important
enhancement.
Why? Because you use IndicatingAjaxButton when you know that user input would
take long to process, so you want to inform the user that "something is going
on in background" so he should wait. But impatient user can click the button
several times thus process important operation twice.
Please take charging user's credit card for example. We mus contact Visa, so it
takes some time. During card number verification user clicks "pay" twice, so
next payment is processed right after first one finished (which is just wrong)
> IndicatingAjaxButton should prevent double submit
> -------------------------------------------------
>
> Key: WICKET-6448
> URL: https://issues.apache.org/jira/browse/WICKET-6448
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 8.0.0-M6
> Reporter: Kamil
> Attachments: showcase-preventClick.zip
>
>
> 1)Run the app
> 2)Click "submit" quickly several times
> 3)Watch the console
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)