On Wed, 2006-02-08 at 23:14 -0800, Igor Vaynberg wrote:
> this is interesting, could you make sure your implementation of
> IDataProvider.size() returns a number > 0

Interesting, indeed. You just helped me find the problem, though I'm not
yet sure of the proper solution.

My previous assumption was this:

  DataView requests data from IDataProvider
    (with start and count) in method "iterator"

  IDataProvider uses this info to retrieve data
    also updates "size" with this data


This seemed logical, since the size of the data is not known until it is
requested (or so I thought), and the request (at least in my case,
because I need to send the start and count index with the request) is
not know until "iterator". And in any case, this always worked for me
previously.


This time, though, if I fill in a dummy, non-zero value for size(), I am
getting back results... so it appears that my previous assumption was
not correct.


So where and how should data be retrieved, if not in
IDataProvider.iterator(int,int)?





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to