Hi Martin - sorry for the late response and unclear question, I forgot to paste the correct code snippet.
However this issue has been fixed by adding another behavior for the Enter key events. some how it is working in wicket 1.5 without this solution. Thank you! On Mon, Sep 4, 2017 at 2:59 AM, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > Your question is not very clear. > Could you please explain the workflow ? > On what kind of component you assign this behavior ? What interactions do > not lead to the fire of the event ? > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Sep 1, 2017 at 5:41 PM, durairaj t <durairaj....@gmail.com> wrote: > > > Following code working with TAB and mouse click events but not with > "ENTER > > KEY", do I need to use keycode and handle it? if yes, any examples for > > multi behavior functionality? > > > > *Wicket 5 is good, but in Wicket 7 it is not working. > > > > Code Snippet: > > -------------------- > > new MyEventHandlingBehavior("blur", ""){ > > > > protected void onUpdate(AjaxRequestTarget target) { > > FieldSearchTextField.this.onSubmit(target); > > } > > } > > > > Any help? > > > > Thanks. > > >