I've added the FeedbackPanel, but still no message. I know it's throwing
an error.  I'll try a test project and see if it still happens.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:wicket-user-
> [EMAIL PROTECTED] On Behalf Of Eelco Hillenius
> Sent: Friday, July 07, 2006 1:54 PM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] LoadableDetachableModel question
> 
> 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

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