Edwin, Put a feedback panel on your page - you may have validation errors.
Regards - Cemal http://jWeekend.com jWeekend Edwin Ansicodd wrote: > > Have a page that extends another page that in turn extends > org.apache.wicket.markup.html.WebPage. Have added a form that extends > org.apache.wicket.markup.html.form.Form to this page. In this form, I > have a org.apache.wicket.markup.html.form.Button > > Button searchButton = new Button("searchButton"){ > @Override > public void onSubmit() { > super.onSubmit(); > System.out.println("in searchButton"); > SearchPage.this.updateList(); > } > > in the html for the button: > > <input type="submit" wicket:id="searchButton" value=submit/> > > but when I click the button, instead of calling the onSubmit(), the page > itself is reloaded. > > Would anyone have any ideas what might be wrong? > > > -- View this message in context: http://www.nabble.com/Button-onSubmit-not-called%2C-instead-page-reloads-tp22350921p22351673.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]
