Re: Exception in grid component if source returns an empty list

2008-01-31 Thread Chuck Kring
source. I hit the same issue. Jonathan -Original Message- From: Chuck Kring [mailto:[EMAIL PROTECTED] Sent: Thursday, January 31, 2008 6:55 PM To: Tapestry users Subject: Exception in grid component if source returns an empty list I have an application that pulls data from a

Re: Exception in grid component if source returns an empty list

2008-01-31 Thread Howard Lewis Ship
I just cleaned up this exception. The problem here is that with an empty list, the Grid component doesn't have the BeanModel it needs to render. I think, in this case, it should be smart about not needing the BeanModel because there are no rows to render. The workaround is to provide the BeanMod

RE: Exception in grid component if source returns an empty list

2008-01-31 Thread Jonathan Barker
t: Exception in grid component if source returns an empty list > > I have an application that pulls data from a remote database and > presents it in a Grid component. > Sometimes the database is not available and my access method returns an > empty arraylist. This triggers a bad-l

Exception in grid component if source returns an empty list

2008-01-31 Thread Chuck Kring
I have an application that pulls data from a remote database and presents it in a Grid component. Sometimes the database is not available and my access method returns an empty arraylist. This triggers a bad-looking exception in tapestry 5: org.apache.tapestry.ioc.internal.util.TapestryExcept