Wicket version 1.2.4
Note: The scenario explained below works perfectly well for a Link.
I am using a submit Link in my form to perform a delete operation .
I disable the link when there is nothing to delete
[ I maintain a list for this ] and when the user checks some items to
confirmation box via a behavior. Finally i use AjaxRequestTarget.addComponent to render.
Wicket complains that the delete link cannot be found even though i set
markupid to true in all relevant places.
So while debugging i figured out that onComponentTag of SubmitLink
does not call super.onComponentTag . By introducing this call in the method,
I could see the id value[markup id] in source code.
HOWEVER this did not solve my problem fully because onClick did not
output, I could see 2 onclicks added for submitlink response.
This issue needs to address the following 2 questions...
1> why doesnt current onComponentTag call super.onComponetTag ?