On 5/27/07, Korbinian Bachl <[EMAIL PROTECTED]> 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)
I really don't know why you want to do this:
<td wicket:id="foo">[foo]</td>
<tr wicket:id="foo"><td wicket:id="bar"></td></tr>
new ListView("foo", ...) {
protected void populateItem(Item item) {
item.add(new Label("bar", "bar"));
}
}
should this remove the tags too?
If you *really* want to do this, why not create a visitor that calls
setRenderBodyOnly on your child components?
Martijn
--
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org