I have a form that's using an AjaxSubmitLink to show / hide a panel. I have overriden the onError() method to add a feedbackPanel to the page to display any error messages that may exist. The problem I'm having is the error messages are remaining on the screen even after the problem is fixed.
In my understanding only EITHER onSubmit or onError is called. If you
call error(xx) in onSubmit, you must refesh the feedback panel in the
onSubmit-branch TOO (separately).
**
Martin
2009/7/20 jpalmer1...@mchsi.com:
I have a form that's using an AjaxSubmitLink to show / hide a panel. I have
I don't see that you have added the feedback in the onSubmit method
You should do
@Override
onsubmit( ){
target.addComponent( feedback );
}
--
View this message in context:
http://www.nabble.com/Error-Message-Not-Getting-Removed-tp24574168p24574336.html
Sent from the Wicket - User
Whoops. My bad. Thanks!
Mathias Nilsson wrote:
I don't see that you have added the feedback in the onSubmit method
You should do
@Override
onsubmit( ){
target.addComponent( feedback );
}
--
View this message in context:
http://www.nabble.com/Error-Message-Not-Getting