A co-worker is having an issue that I am confused by. He has an AjaxButton submitting a form that (among other things) hides on WebMarkupContainer and shows another. But the form goes through a custom IFormValidator that compares a few fields.
When he violates the error, we can see the code invoke the error() method on the validator. Yet the onSubmit() fires anyway. He swears that it didn't before he recently redid the page in accordance with requirements changes. The main thrust of the changes is that it used to be that both WebMarkupContainers were visible the entire time. Also, when the code get to onSubmit, he checks the message list, and it shows as empty. He didn't turn defaultFormProcessing off, and I'm not even sure what to look for at this point. I'm kind of hoping this is some common pitfall that someone will recognize instantly. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxButton-submits-despite-form-validation-failure-tp4677463.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org