Code:
Form<?> form = new Form<Void>("form1");
form.add(new Button("submitButton2") {
@Override
public void onSubmit() {
//logic2
}
});
form.add(new Button("submitButton1") {
@Override
public void onSubmit() {
//logic1
}
});
Markup:
<form wicket:id="form1">
<button type="button" wicket:id="submitButton2">Submit2</button>
<button type="submit" wicket:id="submitButton1">Submit1</button>
</form>
On ie, after clicking on "Submit 1" onSubmit() from submit button2 will
be invoked. Its because IE send's the name of the button type="button"
and Form#findSubmittingButton() takes this button.
Is it a known problem ? Can i create a jira issues for that ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]