Hi, I'm new to wicket framework.
I have a form that performs a mathematical calculation with the user input
and then outputs the result.
I have added a couple of basic validations to the input fields, like
numbervalidator, and required field etc.
And also have a feedbackpanel to display the error messages, if validation
fails.

I would like to reset some fields if the feedbackpanel has messages, but
can't find a way to do this.
I've tried using the "anyMessage()" method, but it hasn't worked.

I guess I'm not sure where to place this method either, since the form
onSubmit won't get called if the validation fails.

Any help would be great.




-- 
View this message in context: 
http://www.nabble.com/check-if-FeedbackPanel-has-error-messages-tp19444744p19444744.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]

Reply via email to