You should call error on your target component, or e.g. on your page.
Depends on how your messages are filtered, though I lost track of the
latest feedback changes. But validators normally set the messages on
the component they are attached to, so setting them manually should
have the same effect.

Eelco


On 8/29/05, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> one simple question: How do I manually get a feedbackPanel to display an
> errorMessage?
> I have to catch an error that I can't catch with a validator, hence I
> have to set the error myself. I tried feedback.error("foo")
> but the feedbackPanel doesn't display a thing (the feedbackPanel itself
> works, it does display errors when the validation of a field on the page
> fails). What can I do?
> 
> - Johannes
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to