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]