Hi,
 
When i add an ajax handler to a DropDownChoice the onComponentTag method in the ajax handler is geting called twice which is resulting in an exception.
The reason for  this is the method is getting called again when wicket renders the closing tag for the select.
We should be calling the handler.onComponentTag(tag) only once
I think changing the line
if (ajaxHandlers != null) to if (ajaxHandlers != null && tag.isOpen())
in the renderComponentTag method of Component object will solve the problem.
 
 
Thanks
Dipu
 
 

Reply via email to