Re: Submit form with ajax on enter

2010-05-20 Thread bluejack
it is in as of 1.4.8; unless I'm doing something wrong, the code is never exercised, and the enter key submits the form in non-ajax fashion. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submit-form-with-ajax-on-enter-tp1843787p2225330.html Sent from the Wicket - User

Re: Submit form with ajax on enter

2010-03-11 Thread cbchhaya
If I remember correctly, my patch was applied so you can now attach the AjaxFormSubmitBehavior directly to the form and listen for onsubmit. This handles both enter and click. -- View this message in context: http://old.nabble.com/Submit-form-with-ajax-on-enter-tp24196732p27869579.html Sent

Re: Submit form with ajax on enter

2010-02-04 Thread MattyDE
. Unfortunately AjaxFormSubmitBehavior cannot be used directly on the form to listen for onsubmit Emanuele Gesuato-2 wrote: Why not using AjaxFormSubmitBehavior ? -- View this message in context: http://old.nabble.com/Submit-form-with-ajax-on-enter-tp24196732p27449961.html Sent from

Re: Submit form with ajax on enter

2010-02-04 Thread Daniel Stoch
I have the same problem today (what a coincidence :)). This works ok for me in Firefox 3.5 and Opera 10, but does not work in Chrome, Safari and IE. PS. I'm using Wicket 1.4.4. DS On Thu, Feb 4, 2010 at 10:38 AM, MattyDE ufer.mar...@gmail.com wrote: Any other hints for this right now? I

Re: Submit form with ajax on enter

2010-02-04 Thread John Patterson
attach the AjaxFormSubmitBehavior directly to the form and listen for onsubmit. This handles both enter and click. -- View this message in context: http://old.nabble.com/Submit-form-with-ajax-on-enter-tp24196732p27452212.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Submit form with ajax on enter

2009-06-30 Thread Emanuele Gesuato
Why not using AjaxFormSubmitBehavior ? vineet semwal wrote: you can use AjaxButton,AjaxFallbackButton,IndicatingAjaxButton. regards, Vineet Semwal On Thu, Jun 25, 2009 at 9:47 AM, John Patterson jdpatter...@gmail.comwrote: Hi, I have a single text box which I wan to be submitted by ajax

Re: Submit form with ajax on enter

2009-06-30 Thread John Patterson
It is being used indirectly through AjaxButton. Unfortunately AjaxFormSubmitBehavior cannot be used directly on the form to listen for onsubmit Emanuele Gesuato-2 wrote: Why not using AjaxFormSubmitBehavior ? -- View this message in context: http://www.nabble.com/Submit-form

Re: Submit form with ajax on enter

2009-06-26 Thread John Patterson
with a map on the page. -- View this message in context: http://www.nabble.com/Submit-form-with-ajax-on-enter-tp24196732p24216201.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Re: Submit form with ajax on enter

2009-06-26 Thread John Patterson
The first handler, which works for most cases, is missing the .click() method -- View this message in context: http://www.nabble.com/Submit-form-with-ajax-on-enter-tp24196732p24216221.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Submit form with ajax on enter

2009-06-25 Thread John Patterson
Thanks, I can see now that the presence of the AjaxButton intercepts the form submit and does exactly what I need. vineet semwal wrote: you can use AjaxButton,AjaxFallbackButton,IndicatingAjaxButton. -- View this message in context: http://www.nabble.com/Submit-form-with-ajax-on-enter

Re: Submit form with ajax on enter

2009-06-25 Thread John Patterson
,AjaxFallbackButton,IndicatingAjaxButton. -- View this message in context: http://www.nabble.com/Submit-form-with-ajax-on-enter-tp24196732p24197752.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe

Re: Submit form with ajax on enter

2009-06-25 Thread Peter Ertl
: Thanks, I can see now that the presence of the AjaxButton intercepts the form submit and does exactly what I need. vineet semwal wrote: you can use AjaxButton,AjaxFallbackButton,IndicatingAjaxButton. -- View this message in context: http://www.nabble.com/Submit-form-with-ajax-on-enter

Submit form with ajax on enter

2009-06-24 Thread John Patterson
Hi, I have a single text box which I wan to be submitted by ajax when either the enter key is pressed or a submit button clicked. Is there an easy way to submit the form or just the input when the return key is hit? Thanks, John

Re: Submit form with ajax on enter

2009-06-24 Thread vineet semwal
you can use AjaxButton,AjaxFallbackButton,IndicatingAjaxButton. regards, Vineet Semwal On Thu, Jun 25, 2009 at 9:47 AM, John Patterson jdpatter...@gmail.comwrote: Hi, I have a single text box which I wan to be submitted by ajax when either the enter key is pressed or a submit button clicked.