Re: AjaxFormSubmitBehavior and FilterForm problem

2014-02-13 Thread Martin Grigorov
Hi, It seems the text input field is re-rendered with Ajax after typing a character. Try to not re-render the input field. Or you can use target.appendJavaScript(...) and use something like http://bytes.com/topic/javascript/answers/429209-how-unselect-text-input-box Martin Grigorov Wicket

Re: AjaxFormSubmitBehavior and FilterForm problem

2014-02-13 Thread Sandor Feher
Hi Martin, Thanks for the prompt answer. First I try to not re-render filterform's field. How could I do that ? My panel looks like this: I changed target.add from container to table to refresh table only but that did not help. Regards., Sandor -- View this message in context:

Re: AjaxFormSubmitBehavior and FilterForm problem

2014-02-13 Thread Martin Grigorov
Do you use org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilteredPropertyColumn ? Where is the filtering text input field ? Is it in the table ? If YES, then rerendering the table will rerender the input field too. See the JS solution or move the filtering text field out of

Re: AjaxFormSubmitBehavior and FilterForm problem

2014-02-13 Thread Sandor Feher
Yes, I use TextFilteredPropertyColumn and FilterToolbar. So it might better to use js to solve this. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormSubmitBehavior-and-FilterForm-problem-tp4664422p4664429.html Sent from the Users forum mailing list archive at

RE: AjaxFormSubmitBehavior and FilterForm problem

2014-02-13 Thread Richter, Marvin
Subject: Re: AjaxFormSubmitBehavior and FilterForm problem Yes, I use TextFilteredPropertyColumn and FilterToolbar. So it might better to use js to solve this. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormSubmitBehavior-and-FilterForm-problem

RE: AjaxFormSubmitBehavior and FilterForm problem

2014-02-13 Thread Sandor Feher
Hi, Thanks for the tip. I have almost done it. Just one annoying problem. I can't set filter fields' markup up. Not the td where the input field resides but the input tag itself. I have five filter fields on my filtertoolbar. To use javascript trick I have to set id for every filter fields.(Now