Sorry for so many question in one day. :-(

Ok, all is well with the ListView. I am looking into a few other things
now.

First, DataProvider/DataView as you suggested, and that looks very
interesting. The problem is--unless I am totally misunderstanding the
idea--that it seems that this approach does a lookup in the DB for each
item in the list. Is that so? If so, since there is so much overhead for
each lookup, this would be much to inefficient. 

I could look up, say, up to 100 items or so, keep them in a cache, then
use the DataProvider/DataView on that. I guess this would be like paging
in paging. Does this sound like the right approach? How would you go
about implementing this?


Second, for each item in the list, I need to attach a checkbox. An item
can be in a (non)selected state, which can have consequences if other
form actions are taken.

The form examples show the use of a CheckBox for a single item, but how
do I apply this to each item the same list that I'm trying to display?


Thanks so much!!





-------------------------------------------------------
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