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 change event. It
works for the first element in the ListView but not for subsequently added
elements.

I have tracked the cause:

All subsequent AJAX behaviours are bounded to the first element, because
all DropDownChoice elements in the ListView have the same generated HTML
id.

Actually when change event triggered on the first element the number of
AJAX requests sent is equal to the number of elements in ListView.


Does anybody know how to fix this?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to