I have a DefaultDataTable that is sourcing data from a custom
SortableDataTable.

My size() and iterator() implementations are not cached, but are executing
each on each call (I have confirmed that size() is getting called on each
page render).

My problem is:

When I add a filter to my query that returns a 0 row count, the
NavigationToolbar is hidden, and when I remove the filter, the results come
back as expected but the NavigationToolbar doesn't reappear.

I attached a debugger and it appears that the
NavigationToolbar#onBeforeRender() is not getting called when I remove the
filter, so the visibility state will never be updated.  Using
wicket+wicket-extensions 1.4.0.  How do I ensure that the nav toolbar
reappears properly when the number of results become pageable again?

Thanks,

Aaron

Reply via email to