I am using a dated version of wicket. I don't know if this is fixed but I wanted to override the functionality in the modal.js from wicket-extensions. Basically, I need to remove the inner "form" that is created by the javascript. Some of the browsers we are using, the user cannot submit the form from a modal window (maybe our page layout is at fault).
What is a non-invasive way of doing this (least amount of code changes)? It looks like a lot of the methods in the ModalWindow class are private or static, I was thinking of just overriding that class or reimplementing that class and passing my own javascript with modified functionality. Here is the javascript I needed to change: ... res/modal.js "<div class=\"wicket-modal\" id=\""+idWindow+"\" style=\"top: 10px; left: 10px; width: 100px;\"><form style='background-color:transparent;padding:0px;margin:0px;border-width: 0px;position:static'>"+