|
Sorry for the hoopla. I made some time last night and figured out
that my model was an array rather than a List. This meant it used the
wrong ListView constructor. I wonder if there is a way for
Wicket to catch that problem and warn the developer. I'm going to stop
using arrays so it won't be a possibility for me anymore.
After that the error messages were good enough that I could resolve the
issues very quickly.
Thanks!
- Jonathan
>>> [EMAIL PROTECTED] 2005-01-12 2:33:36 AM >>> Yes it is very unlikely, except a programmer makes a mistake. But isn't it the purpose of error messages to inform user's about mistakes they did. And don't we try to provide user's meaningful error messages pointing at the problem. Guess how long you'll search for such an overrun problem? I'm personally not sure we have enough error messages, because (I think it was) Jonathan a couple of days before did get some strange error out of table implementation and until now was not able to figure out what the cause is. Juergen On Wed, 12 Jan 2005 08:44:45 +0100, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Don't you think that it is very unlikely the int max (which is after all > more than two billion) will be reached? Also, as the java.util.List > interface specifies an int for the size method, you would have a problem. > > Don't you think we can skip the test alltogether? > > Eelco > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Katun Corporation -- Celebrating 25 Years of Service www.katun.com ********************************************************************** |
- Re: [Wicket-user] ListView.getViewSize() - line 267 Jonathan Locke
- Re: [Wicket-user] ListView.getViewSize() - line 26... Juergen Donnerstag
- Re: [Wicket-user] ListView.getViewSize() - lin... Jonathan Locke
- Re: [Wicket-user] ListView.getViewSize() - lin... Jonathan Locke
- Re: [Wicket-user] ListView.getViewSize() - lin... Eelco Hillenius
- Re: [Wicket-user] ListView.getViewSize() -... Eelco Hillenius
- Re: [Wicket-user] ListView.getViewSize... Juergen Donnerstag
- Re: [Wicket-user] ListView.getViewSize() - line 26... Jonathan Carlson
