panel.add(new AttributeAppender("style", true, new AbstractReadOnlyModel()
{
@Override
public Object getObject()
{
CSSInlineStyle size = new CSSInlineStyle();
size.add("width", getWidth());
size.add("height", getHeight());
return size;
}
}, ""));
panel.add(new DataView("items", provider)