Well, if you really want to override the HTML, just make a copy of the HTML file in your own source code, in the correct org.apache.wicket.** package. That will come first on the classpath and override the provided one.
But I'd suggest just using a different CSS selector (like .yourTableClass tbody) to accomplish what you need. There's no real need to put a class directly on the tbody when it is so easily addressable. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Nov 25, 2009 at 4:23 PM, Jason Novotny <[email protected]>wrote: > > Hi, > > I want to add a css class to the tbody that is part of DataTable.html > that looks like: > > <wicket:panel> > <thead wicket:id="topToolbars"> > <wicket:container wicket:id="toolbar"></wicket:container> > </thead> > <tfoot wicket:id="bottomToolbars"> > <wicket:container wicket:id="toolbar"></wicket:container> > </tfoot> > <tbody> > <tr wicket:id="rows"> > <td wicket:id="cells"> > <span wicket:id="cell">[cell]</span> > </td> > </tr> > </tbody> > </wicket:panel> > > where none exists already? What is the easiest way to do this w/o modifying > core wicket code that I would have to maintain? > > Thanks, Jason > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
