You can rerefresh the whole form : yourForm.setOutputMarkupId(true); ... target.addComponent(yourForm)
To highlight the error field (with a red star), I usually use a FormComponentFeedbackIndicator like that : RequiredTextField<String> yourTextField = new RequiredTextField<String>("name"); yourForm.add(yourTextField); FormComponentFeedbackIndicator yourTextFieldError = new FormComponentFeedbackIndicator("nameError"); yourTextFieldError.setIndicatorFor(yourTextField ); yourTextFieldError.setOutputMarkupPlaceholderTag(true); yourForm.add(nomError); You may also use FormComponentFeedbackBorder. Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Erase-Previous-Error-Messages-in-Feedback-Panel-after-Download-tp3311648p3319765.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