I have a reusable component inside a form. I added a FeedbackPanel to the
component with a ComponentFeedbackMessageFilter.
The component has a required DateTextField.
When I submit the form using Ajax with no value provided for the date, no
feedback message appears...

The onError(...) method is called on the AjaxButton. Do I have to do
something there to get the message displayed?

You need to add the FeedbackPanel to the AjaxRequestTarget in the on onError() 
method so that it will rerender:

target.addComponent(feedbackPanel);

-- Edvin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to