The same problem is visible in the Wicket examples for data table http://wicketstuff.org/wicket14/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.DataTablePage
The tfoot tags are empty, which is invalid HTML. Any ideas on how to fix this? -Nelson On Thu, Nov 25, 2010 at 6:51 PM, Poko Booth <poko.bo...@gmail.com> wrote: > I'm using 1.4.12 > > Regards, > Poko > > On Nov 25, 2010, at 9:28 PM, Igor Vaynberg wrote: > > > 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 > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >