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]