Re: Handle Ajax event onChange or onInput by changing TextField with Javascript

2016-02-25 Thread Radovan Račák
Yes! That was the problem. Thank you -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Handle-Ajax-event-onChange-or-onInput-by-changing-TextField-with-Javascript-tp4673697p4673727.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: Handle Ajax event onChange or onInput by changing TextField with Javascript

2016-02-24 Thread Radovan Račák
Ok, now I am solving some workaround of this problem, please do you have any idea how can I edit values with javascript and handling this event in Java Ajax Handler? Thank you -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Handle-Ajax-event-onChange-or-onInput-by-cha

Re: Handle Ajax event onChange or onInput by changing TextField with Javascript

2016-02-24 Thread Radovan Račák
I think it is bug too. I tried run this project in Wicket version 6.22 and it works -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Handle-Ajax-event-onChange-or-onInput-by-changing-TextField-with-Javascript-tp4673697p4673708.html Sent from the Users forum mailing list

Re: Handle Ajax event onChange or onInput by changing TextField with Javascript

2016-02-24 Thread Radovan Račák
Okey, here is quickstart project https://github.com/vanrado/quickstart with one HomePage, in HomePage.html I am changing input value by Javascript when user click on the link, and I have OnChangeAjaxBehavior in Java class of that Page Thanks -- View thi

Re: Handle Ajax event onChange or onInput by changing TextField with Javascript

2016-02-24 Thread Radovan Račák
No problem, but at this moment a couldn't clean my example project from nested classes. I upload it to github from browser. I don't have my machine now. So : https://github.com/vanrado/poznamky I describe how to find right files in that project. Thanks fo

Re: Handle Ajax event onChange or onInput by changing TextField with Javascript

2016-02-24 Thread Radovan Račák
Hi, thanks a lot but your advice doesn't work. I tried it for first just OnChangeAjaxBehavior with trigger("change") and then I tried OnChangeAjaxBehavior with trigger("inputchange"), in both cases it doesn't work. I also tried change fields input value from JS console and then call trigger("cha

Re: Handle Ajax event onChange or onInput by changing TextField with Javascript

2016-02-24 Thread Radovan Račák
Thank you very much for really fast response and help, but it seems it still doesn't work. I tried call trigger(event) and triggerHandler(event) functions but both of them didn't invoke my Ajax handler in Java. This is my Javascript from where I am updating textfields value and calling trigger f

Handle Ajax event onChange or onInput by changing TextField with Javascript

2016-02-23 Thread Radovan Račák
Hello dear friends, I would like to ask you how to resolve my little problem. I have problem to handle Ajax event onChange or onInput when I want to change TextField's value by Javascript. Let me describe my situation: I have one TextField - I added this TextField in Wicket and added to it *Ajax