mind specifying which wicket version you are using? -igor
On Thu, Nov 25, 2010 at 5:17 AM, Poko Booth <poko.bo...@gmail.com> wrote: > Hi all, > If you use DataTables, when the bottomToolBars view has no items to render, > the markup exported is invalid: > > <table> > <thead> </thead> > <tfoot> </tfoot> > <tbody> > ... > ... > </tbody> > </table> > > I suppose the same happens with the thead. > > thead and tfoot tags can't be empty. > > I have overridden the class and manually added in the markup file > <tr style="display: none;"><td></td></tr> > in both thead and tfoot of the source file above the <wicket:container ...> > tags. > > Works but you know....Not elegant. > > Enclosure containers should be used on the thead/tfoot tags defining their > children as the top/bottom toolbar repeating views. > > Regards, > Poko > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org