Hi
There is a bug in wicket of a form that uses the GET method
never calls the onSubmit method.
I am now using wicket 1.4 m3, and the bug (already reported long time ago)
is still not fixed, though it is said it was fixed. here is my code:
Button backBtn = new Button("back_button", new
Model(getString("back")));
Form form = new Form("form") {
public void onSubmit() {
setResponsePage(prevPage);
}
protected String getMethod() {
return "get";
}
};
form.add(backBtn);
add(form);
What am I doing wrong???
thanks, Eyal.
--
View this message in context:
http://www.nabble.com/form-GET-calling-onSubmit-tp19824816p19824816.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]