The form must have an id attribute in the markup or have MarkupIdSetter added. @see AjaxEventBehavior @since 1.2 @author Igor Vaynberg (ivaynberg)
6162636465666768697071
public AjaxFallbackButton(String id, IModel model, Form form) { super(id, model); mForm = form; add(new AjaxFormSubmitBehavior(form, "onclick") { private static final long serialVersionUID = 1L; protected void onSubmit(AjaxRequestTarget target)