-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 IIRC, that will display Integer.MAX_VALUE on the page which is probably not what you want. You might look into caching that value.
Steve Knight wrote: > If my SortableDataProvider implementation will always return the max > number of results (I'm not using paging), is it safe to have the size() > method simply return Integer.MAX_VALUE instead of performing a database > query to count the actual results? > > Steve - -- Justin Lee http://www.antwerkz.com AIM : evan chooly 720.299.0101 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) iD8DBQFEIBGyJnQfEGuJ90MRA3YXAJ9LrXkc74ZWRXyZvMxYuN9FBafl7ACeNNxz zHnAebjt0Eu3bnn9JPIJAZs= =Jilb -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user