On Apr 10, 2005 10:59 PM, Jan Mikkelsen <[EMAIL PROTECTED]> wrote:
> What I mean is that it shows no pages. I think my problem has to do with
> the fact that when I construct the navigator, my list is empty. Later,
> after running a query, I replace the model, like this:
> 
> resultsTable.modelChanged();
> resultsTable.setModelObject(list);
> resultsPanel.replace(new PageableListViewNavigationLink("last", 
> resultsTable,resultsTable.getPageCount()
> - 1));
> tableNavigation.modelChanged();
> 
> This works fine for the list, but not for the navigator.
>

I personelly dislike replace(). why not simply replace the model
object? or the way I prefer it PropertyModel(new Model(resultsTable),
"pageCount")
 
> It would be great if the CD application was updated, by the way. Are
> there any plans for that? That's where my application took off from.
> 

cdapp has been moved to poject wicket-stuff module wicket-contrib-examples.

Juergen


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to