Re: Submit form with ajax on enter

2010-05-20 Thread bluejack
both enter and click. >> > > It does not look like 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/Submi

Re: Submit form with ajax on enter

2010-03-11 Thread cbchhaya
;AjaxButton" ... any >> ideas? >> >> Thanks a lot in Advance >> > > 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. >

Re: Submit form with ajax on enter

2010-02-04 Thread John Patterson
ectly, 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-tp24196732p27452212.html Sent from the Wic

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 wrote: > > Any other hints for this right now? > > I want to submit an aj

Re: Submit form with ajax on enter

2010-02-04 Thread MattyDE
rough 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: h

Re: Submit form with ajax on enter

2009-06-30 Thread John Patterson
nabble.com/Submit-form-with-ajax-on-enter-tp24196732p24282642.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

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 wrote: Hi, I have a single text box which I wan to be submitted by ajax when either the enter key

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-26 Thread John Patterson
super.onComponentTag(tag); } }; This works in IE6, Safari and Firefox 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 arch

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

Re: Submit form with ajax on enter

2009-06-24 Thread John Patterson
gt;> you can use AjaxButton,AjaxFallbackButton,IndicatingAjaxButton. >> >> > > -- View this message in context: http://www.nabble.com/Submit-form-with-ajax-on-enter-tp24196732p24197752.html Sent from the

Re: Submit form with ajax on enter

2009-06-24 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-

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 wrote: > 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

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 ---