You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/01/10 22:25:39 UTC

[jira] [Commented] (WICKET-6067) Provide an Ajax Behavior that prevents form submit on ENTER

    [ https://issues.apache.org/jira/browse/WICKET-6067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091245#comment-15091245 ] 

ASF subversion and git services commented on WICKET-6067:
---------------------------------------------------------

Commit bf4a568cb538b4a78dca047f8f9ab970153399ba in wicket's branch refs/heads/wicket-7.x from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=bf4a568 ]

WICKET-6067 Provide an Ajax Behavior that prevents form submit on ENTER


> Provide an Ajax Behavior that prevents form submit on ENTER
> -----------------------------------------------------------
>
>                 Key: WICKET-6067
>                 URL: https://issues.apache.org/jira/browse/WICKET-6067
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 7.1.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>            Priority: Minor
>
> By default when the user presses ENTER key while in a HTML form element the browser will submit the form.
> Sometimes this is not desired and the application wants to prevents the submit event.
> There are questions in StackOverflow [1] and in Wicket JIRA [2] how to do this.
> I think it is a common problem and Wicket should provide an AjaxBehavior or AjaxCallListener instead of every application to create its own.
> 1. http://stackoverflow.com/questions/19728494/wicket-preventing-form-submission-by-a-textfield-within-a-wizard-step
> 2. https://issues.apache.org/jira/browse/WICKET-4499



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)