The markup of AjaxFallbackDefaultDataTable comes from Data table and is:
<wicket:panel>
<thead>
<wicket:container wicket:id="topToolbars"></wicket:container>
</thead>
<tfoot>
<wicket:container wicket:id="bottomToolbars"></wicket:container>
</tfoot>
<tbody wicket:id="body">
<tr wicket:id="rows">
<td wicket:id="cells">
<span wicket:id="cell">[cell]</span>
</td>
</tr>
</tbody>
</wicket:panel>
maybe you can create a MyAjaxFallbackDefaultDataTable and use the markup
<wicket:panel>
<thead>
<wicket:container wicket:id="bottomToolbars"></wicket:container>
</thead>
<tfoot>
<wicket:container wicket:id="topToolbars"></wicket:container>
</tfoot>
<tbody wicket:id="body">
<tr wicket:id="rows">
<td wicket:id="cells">
<span wicket:id="cell">[cell]</span>
</td>
</tr>
</tbody>
</wicket:panel>
Haven't tried to do the above trick myself but I think It might work;-)
Ernesto
2011/1/12 Altuğ Bilgin Altıntaş <[email protected]>:
> Hi,
>
> I've questions about AjaxFallbackDefaultDataTable, here they are
>
> 1 - Is it possible to remove NavigationToolbar from top of this because i
> want navigation bar at the end - I want to use addBottomToolbar....
>
> 2 - I tried to export the data to excel using classic
> ComponentRequestTarget, it works great ! but every FilterToolbar elements
> also exported too (Textfields ...) Also I tried to make FilterToolbar
> visible before exported to excel like :
>
> filterToolbar.setVisible(true);
> super.respond(requestCycle); -- > exporting to excel
> filterToolbar.setVisible(false); -- > recover it
>
> but it doesn't work (- i made filterToolbar set
> setOutputMarkupPlaceholderTag(true) - )
>
> How can i get rid off FilterToolbar while exporting?
>
> 3 - It is very similar to question #2 - How can i make a CheckBoxColumn
> visibility "false" according to case.?
>
>
> Thanks.
>
> --
> *Altuğ*
> ** <http://www.kodcu.com>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]