I have a LoginModal which pops up a modal with username / password for user to login. It works before wicket 6. After upgrading to wicket 6 , it's not working anymore.
Can someone check where goes wrong ? Here is the LoginModal code : http://pastebin.com/hNTMs3A7 And here is the LoginPage code : http://pastebin.com/aDDxuZmx In wicket 1.5 , it generate the following code : <input type="submit" name=":submit" id="*id98*" value="submit"> <input type="button" name="cancel" id="*id99*" value="cancel"> And I search "id98" , "id99" , I can see them 'hooked' into wicket by Wicket.Event.add(window, "domready", function(event) { Wicket.Ajax.ajax({"sc":":submit","c":"id98","u":"./page?19-1.IBehaviorListener.0-form-submit","e":"click","f":"id97","m":"POST"});; Wicket.Ajax.ajax({"sc":"cancel","c":"id99","u":"./page?19-1.IBehaviorListener.0-form-cancel","e":"click","f":"id97","m":"POST"});; But after upgrading to wicket 6 (well , with wicket-bootstrap ) , it generates : <input type="submit" class="btn btn-default" name=":submit" id="*submitdc*" value="submit"> <input type="button" class="btn btn-default" name="cancel" id="*canceldd*" value="cancel"> But I cannot find another "submitdc" or "canceldd" string in the source code. So , no matter 'submit' or 'cancel' , the console prints nothing ( I put some logging in the onSubmit , . Wicket AJAX Debug console didn't show anything. What may go wrong here ? Thanks.