Re: AjaxFormComponentUpdatingBehavior works only on first element in a ListView

2014-01-04 Thread Peter Henderson
Hi Igor. Try calling listView.setReuseItems(true) Hope that helps Peter. On 4 January 2014 17:09, Igor Dvorzhak idm...@gmail.com wrote: I am attaching AjaxFormComponentUpdatingBehavior to a DropDownChoice element in a ListView which displays a hidden panel on change event. It works

Re: AjaxFormComponentUpdatingBehavior works only on first element in a ListView

2014-01-04 Thread medb
Hi Peter, I have already used the listView.setReuseItems(true) method. The actual problem not in refreshing the ListView but in the registering AJAX behavior for DropDownChoice element in it, because the event (AJAX request) is fired only for the first element in a ListView not for the any of

Re: AjaxFormComponentUpdatingBehavior works only on first element in a ListView

2014-01-04 Thread Sven Meier
Check your markup for explicit html ids (not wicket ids): select id=foo wicket:id=foo... Remove them. Regards Sven On 01/04/2014 06:09 PM, Igor Dvorzhak wrote: I am attaching AjaxFormComponentUpdatingBehavior to a DropDownChoice element in a ListView which displays a hidden panel on

Re: AjaxFormComponentUpdatingBehavior works only on first element in a ListView

2014-01-04 Thread Igor Dvorzhak
Sven, You are right, it helped. Thank you very much. Best, Igor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-works-only-on-first-element-in-a-ListView-tp4663459p4663465.html Sent from the Users forum mailing list archive at