use of io.github.zutherb.appstash.shop.ui.panel.product.ProductItemPanel in project the-app by devops-dojo.
the class ProductCatalogPage method productView.
private Component productView(IModel<List<ProductInfo>> model) {
return new DataView<ProductInfo>("products", productDataProvider(model)) {
@Override
protected void populateItem(final Item<ProductInfo> item) {
ProductItemPanel productItem = new ProductItemPanel("productItem", feedback, item.getModel());
productItem.setOutputMarkupId(true);
item.add(productItem);
}
};
}
Aggregations