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 Train
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:
http://apache
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 t
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 N
return true;
} else if ((entry.getReason() != null)
&&
StringUtils.contains(entry.getReason().getName().toLowerCase(), q)) {
return true;
}
}
return false;
}
}
Mar
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 wi