You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "otto (Updated) (JIRA)" <ji...@apache.org> on 2012/04/16 11:24:18 UTC

[jira] [Updated] (WICKET-4499) Pressing Enter in a Text Field invokes the default ( first) submit Button: Bug or Feature ?

     [ https://issues.apache.org/jira/browse/WICKET-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

otto updated WICKET-4499:
-------------------------

    Attachment: testCase1.zip

When entering (pressing Enter in the TextField of Browser) some String inside the Input Fields, 
the first Button is invoked: 
( in the first form accept, in the second submit )

The Request seems seems already to have a Submitting Component (from where ? Default ? )

For the second form example
INFO  - RequestLogger              - startTime="2012-04-16 09:20:46,140",duration=0,url="http://localhost:8090/?1-4.IFormSubmitListener-wform2",event={handler=ListenerInterfaceRequestHandler,data={pageClass=de.rks.TestCasePage,pageId=1,pageParameters={},renderCount=4,componentClass=org.apache.wicket.markup.html.form.Form,componentPath=wform2,behaviorIndex=null,interfaceName=IFormSubmitListener,interfaceMethod=onFormSubmitted,submittingComponentClass=de.rks.TestCasePage$4,submittingComponentPath=wform2:wsubmit2}},response={handler=RenderPageRequestHandler,data={pageClass=de.rks.TestCasePage,pageId=1,pageParameters={},renderCount=4}},sessionid="4wbo1800x35jw3e0levxmbhs",sessionsize=849,sessionstart="2012-04-16 09:10:33,328",requests=11,totaltime=313,activerequests=0,maxmem=259M,total=16M,used=3M

                
> Pressing Enter in a Text Field invokes the default ( first) submit Button: Bug or Feature ? 
> --------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4499
>                 URL: https://issues.apache.org/jira/browse/WICKET-4499
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: otto
>            Priority: Minor
>         Attachments: testCase1.zip
>
>
> When entering a text in a Text field, the first found submit Listener is executed.
> This happens, when the form contains at least two Text Fields. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira