Thank you.  I can't believe you got back to me so fast!

This is a slick solution.  I appreciate it.


________________________________________
From: Serkan Camurcuoglu [EMAIL PROTECTED]
Sent: Monday, October 06, 2008 2:36 PM
To: [email protected]
Subject: Re: How to expose regular exception message in FeedbackPanel?

you can use the info, warn, error or fatal methods of component to
generate feedback messages.. usually you can just write:

catch (Exception e) {
  error(e.getMessage());
}



Seven Corners wrote:
> I have a form whose submission can possibly generate exceptions.  I would
> like to expose the exception text in the FeedbackPanel.  How can I do this?
>
> I've tried getting the FeedbackMessagesModel and doing a setObject() on that
> but it's not accepting a String, a FeedbackMessages List, or a new
> FeedbackMessage.  Obviously I'm going about this the wrong way.
>
> Ideas?
>
> Thanking you in advance for your time and trouble.
>


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


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

Reply via email to