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 anton.veretenni...@gmail.com wrote: It is AjaxFallbackDefaultDataTable

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

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 lvd...@heritageagenturen.nl wrote: When you hide the top bar, do you also set setOutputMarkupPlaceholderTag to true?

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
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() {