yep, it works

2008/1/8, Edvin Syse <[EMAIL PROTECTED]>:
>
> > 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]
>
>


-- 
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29

Reply via email to