add an invisible submit link to the page:
<input type="submit" style="display: none;">
add some javascript to the form to hit the ajaxsubmitbutton when the form is submitted:
form.add(new AttributeModifier("onSubmit", true, new Model("document.getElementById('" + ajaxSubmitButton.getMarkupId() + "').onclick();return false;")));