ajax submit form on keyup

2013-03-15 Thread M Kili
Hi, I have a simple filter form for a table, currently with one textfield, to which this behavior is added: new AjaxEventBehavior(keyup) { protected void onEvent(AjaxRequestTarget target) { // get search string from request, get new data and add table to target }

Re: ajax submit form on keyup

2013-03-15 Thread Sven Meier
Use AjaxFormSubmitBehavior Regards Sven On 03/15/2013 03:01 PM, M Kili wrote: Hi, I have a simple filter form for a table, currently with one textfield, to which this behavior is added: new AjaxEventBehavior(keyup) { protected void onEvent(AjaxRequestTarget target) { //

Re: ajax submit form on keyup

2013-03-15 Thread M Kili
Thanks, works flawlessly 2013/3/15 Sven Meier s...@meiers.net Use AjaxFormSubmitBehavior Regards Sven On 03/15/2013 03:01 PM, M Kili wrote: Hi, I have a simple filter form for a table, currently with one textfield, to which this behavior is added: new AjaxEventBehavior(keyup) {