Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-17 Thread Anton Veretennikov
Replacing onBeforeRender() in NavigationToolbar to @Override public boolean isVisible() { return table.getPageCount()>1; } works well. Do I need to open issue? On Mon, Mar 16, 2009 at 4:57 PM, Anton Veretennikov wrote: > It is AjaxFallbackDefaultDataTable from wicket-extensions 1.4-S

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-16 Thread Anton Veretennikov
It is AjaxFallbackDefaultDataTable from wicket-extensions 1.4-SNAPSHOT. Table refreshes fully with toolbar inside it, table has id of course. NavigationToolbar (base for AjaxNavigationToolbar) seems to have @Override protected void onBeforeRender() {

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-16 Thread Linda van der Pal
Hmm, is the topbar a separate component? If so you'll simply have to add it to the target as well. Anton Veretennikov wrote: Thank you, Linda. I don't hide it. It hides itself. I suppose it must show itself again if rowsCount > rowsPerPage. -- Tony. On Mon, Mar 16, 2009 at 3:51 PM, Linda van

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-16 Thread Anton Veretennikov
Thank you, Linda. I don't hide it. It hides itself. I suppose it must show itself again if rowsCount > rowsPerPage. -- Tony. On Mon, Mar 16, 2009 at 3:51 PM, Linda van der Pal wrote: > When you hide the top bar, do you also set setOutputMarkupPlaceholderTag to > true? (If not, the Ajax-code can'

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-16 Thread Linda van der Pal
When you hide the top bar, do you also set setOutputMarkupPlaceholderTag to true? (If not, the Ajax-code can't find the component anymore.) Linda Anton Veretennikov wrote: Good day! My impression about AjaxFallbackDefaultDataTable is - fantastic! Thank you, Igor! I'm implementing small Ajax

setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-15 Thread Anton Veretennikov
Good day! My impression about AjaxFallbackDefaultDataTable is - fantastic! Thank you, Igor! I'm implementing small Ajax panel that changes amount of rows shown. It looks like standart "20 40 60 80 ..." Everything is working but: Once top bar with navigation "<< < 1 2 3 4 > >>" hides (when amount