In your catch clause in onsubmit, call error(e.getMessage())

Ryan Gravener
http://twitter.com/ryangravener


On Mon, Oct 6, 2008 at 2:32 PM, Seven Corners <[EMAIL PROTECTED]>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.
> --
> View this message in context:
> http://www.nabble.com/How-to-expose-regular-exception-message-in-FeedbackPanel--tp19843597p19843597.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to