AjaxButton doesn't work in WebMarkupContainer

2013-03-28 Thread eugenebalt
I have the below block of code. A Link or an AjaxLink works perfectly here inside a WebMarkupContainer. But when I use an AjaxButton (with a setDefaultFormProcessing=False), I get an error. Thanks AjaxButton linkCopy = new AjaxButton(linkCopy) { @Override

Re: AjaxButton doesn't work in WebMarkupContainer

2013-03-28 Thread Pointbreak
Well the error messages kind of gives it away, doesn't it? But to explain further: setDefaultFormProcessing(false) doesn't mean the button can be placed outside a a form. It means that the default validation and submit behavior of the form is not executed when pressing the button. Why do you want

Re: AjaxButton doesn't work in WebMarkupContainer

2013-03-28 Thread eugenebalt
Disregard - problem solved. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxButton-doesn-t-work-in-WebMarkupContainer-tp4657633p4657636.html Sent from the Users forum mailing list archive at Nabble.com.