If I understand you right, you're navigating between pages. Must you really use Ajax? Can't you just simply call setResponsePage() and redirect the user to the page you want?
Also, the error indicates that you're using the same button as a submit button to a form. Try changing its type from submit to button or have it surrounded by a form of its own. ~ Thank you, Paul Bors -----Original Message----- From: Alec Swan [mailto:alecs...@gmail.com] Sent: Friday, November 02, 2012 5:30 PM To: users@wicket.apache.org Subject: HTML storyboard and "Maybe there are several Ajax event behaviors" warning Hello, Our designer put together an HTML storyboard where navigation is implemented with <button onclick="window.location='NextPage.html'">. However, when we add a Wicket behavior to this button we start receiving the following warning: WARN [http-bio-8080-exec-10] org.apache.wicket.ajax.AjaxEventBehavior - org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1 {event='onclick'} assigned to [AjaxSubmitContentFormLink [Component id = saveButton]] is overriding the previous value of the inline attribute. Maybe there are several Ajax event behaviors on the same type assigned to this component. I don't want to break the storyboard and would like Wicket not to log this warning in case when onclick is defined in markup and overridden in Java code. How can I do that? Thanks, Alec --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org