Hi,
as an alternative you can use a RepeatingView, it allows you to repeat
markup for children without additional Item containers.
Have fun
Sven
Am 21.09.2017 um 11:52 schrieb Alberto Brosich:
Hello,
I have a PropertyListView in a page with a CompoundPropertyModel on a
JAXB generated class.
I have simply to repeat a "<dd>" element.
I found two solutions:
- using an outer <wicket:container wicket:id="titles.title"> element;
- using an inner <span wicket:id="value"> element with
setRenderBodyOnly(true).
ex.
queue(new PropertyListView<Title>("titles.title") {
@Override
protected void populateItem(ListItem<Title> item) {
item.queue(new Label("value"));
}
});
"value" is the property of the model but I would not have an inner tag
with that wicket:id.
Is it possible?
Regards
Alberto
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]