1) I think you should only use a <div> tag if you want one. I usually use <span> for labels. 2) If removing the tag is what you want, I assume that's only for labels and only in some cases. Why not create a subclass of Label which calls setRenderBodyOnly(true) in the constructor?
Korbinian Bachl wrote: > > hmm, makes sense - there is no global way to get rid of these empty div's > ? > (putting a .setRenderBodyOnly(true) to every seems quite a pain) > -- View this message in context: http://www.nabble.com/wicket-1.3.0-snapshot---wicket-tags-in-div-tf3824821.html#a10829469 Sent from the Wicket - Dev mailing list archive at Nabble.com.
