[
https://issues.apache.org/jira/browse/WICKET-6448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152917#comment-16152917
]
Martin Grigorov commented on WICKET-6448:
-----------------------------------------
I've updated the title and the description.
I still believe that it is not possible to implement behavior that will cover
everyone's needs so the description explain the simplest way to do it - via
"disabled" attribute.
> Provide behavior that disables a button after click
> ---------------------------------------------------
>
> 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: block-comment-doublesubmit.png, showcase-preventClick.zip
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)