hi, I want to have Wicket to generate the following HTML precisely: <div class="products"> <div class="product">.....</div> <div class="product">.....</div> <div class="product">.....</div> <div class="product">.....</div> </div>
But with my code, I don't get further than: <div> <div class="product">.....</div> <div class="product">.....</div> <div class="product">.....</div> <div class="product">.....</div> </div> so the class attribute is missing in the outer div. My Wicket HTML is: <div class="products" wicket:id="productsView"> <div class="product" wicket:id="productPanel">.....</div> </div> My code: ListView productsView = new ListView("productsView", products) { protected void populateItem(ListItem item) { item.setRenderBodyOnly(true); item.add(new ProductPanel("productPanel", item.getModelObject())); } }; add(productsView); What is the Wicket way of achieving this? (A solution is to use the wicket:container tag, but that's a bit ugly, right?) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org