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:

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

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

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

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

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

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

Re: RadioChoice with Ajax

2008-10-07 Thread radovan
it works, thank you very much!! Michael Sparer wrote: just a guess: from the AjaxFormComopnentUpdatingBehavior's javadoc: NOTE: This behavior does not work on Choices or Groups use the AjaxFormChoiceComponentUpdatingBehavior for that. regards, Michael radovan wrote: Hallo, I

RadioChoice with Ajax

2008-10-07 Thread radovan
Hallo, I have this code: private static final ListString Orders = Arrays.asList(new String[] { asc, desc }); private final IModelString model = new ModelString(Orders.get(0)); RadioChoice radioChoice = new RadioChoice(orders, model, Orders); radioChoice.add(new

ListView - modify css for some column

2008-09-29 Thread radovan
Hallo community, my code looks like this: listView = new ListViewMyItem(collectionIterator, listOfMyItems) { @Override protected void populateItem(ListItemMyItem item) { MyItem myItem = (MyItem) item.getDefaultModelObject();

Re: ListView - modify css for some column

2008-09-29 Thread radovan
Thies Edeling wrote: radovan wrote: Hallo community, my code looks like this: listView = new ListViewMyItem(collectionIterator, listOfMyItems) { @Override protected void populateItem(ListItemMyItem item) { MyItem myItem