You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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;")));

  • No labels