Hi chaps, I am using a panel in a page, and I actually using a DataView with
paging enable in the panel for show some data, I pass the datasource from
the webpage to that panel, something Like "final Panel p = new
BoxListPanel("boxListView",boxList);", everything is fine, but now the data
getting too much so I decide to use lazy_loading like the repeater in wicket
example: http://www.wicketstuff.org/wicket13/repeater/ so I only get the
data I actully need for the page, and it was working fine, however, in my
page user can customize the data source, so I need to update the panel after
user click on some ajaxLink, I can do this in previous way but after I use
the IDataProvider like the example in repeater, I can't update the panel, in
my page I define the panel like:

final Panel p = new myPanel("boxListView",new
BoxDataProvider(selectContion));

so I actully then pass a selectContion for the panel instead the actualy
data source, but it only working at the first load, if I change the
selectContion, the data is not changing, but if I pass in the actully data
then it's fine.

I hope this make sense... or is there any other good lazy-data loading
examples?
-- 
View this message in context: 
http://www.nabble.com/problem-of-updating-a-panel-tf4758150.html#a13606873
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to