Feedback panel typically should display any messages. You added a
feedback panel to your page, and you are rendering the same page?

Personally, I wouldn't catch exceptions in my models though. If a
service fails and it is not designed to fail quietly, I would rather
display some error page. But that's up to you of course :)

Eelco



On 7/7/06, Jerry Smith <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Using a typical situation like:
>
>
>
> IModel myListModel = new LoadableDetachableModel() {
>
>   protected Object load() {
>
>     Object result = null;
>
>     try {
>
>        result = someServiceOrDao.findSomeListOfObjects();
>
>     } catch(Throwable t) {
>
>         ???
>
>     }
>
>     return  result;
>
> }
>
> };
>
>
>
> How can I have the error message displayed in a FeedbackPanel for the page?
> Doing a page.error(t.getMessage()) call doesn't seem to be doing anything.
>
>
>
> Thanks!
>
>
>
> -Jerry
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to