ListView and its subclasses do not require the use of tables. If another
style of markup is useful, use that.  You can have a <div> with nested
<div>s, In fact, you could create a ProfilePanel and use a div for each.


On Mon, Jun 10, 2013 at 6:06 PM, Dan Retzlaff <dretzl...@gmail.com> wrote:

> Maybe I just don't understand your requirements. I thought you want two
> rows for each Profile. So:
>
> add(new PageableListView("profile", profiles) {
>   populateItem(item) {
>     item.add(new Label("row1column1"));
>     item.add(new Label("row2column1"));
>     item.setRenderBodyOnly(true);
>   }
> });
>
> <table>
> <div wicket:id="profile">
>   <tr><td wicket:id="row1column1"></td></tr>
>   <tr><td wicket:id="row2column1"></td></tr>
> </div>
> </table>
>
> Obviously you can add as many columns as you'd like.
>
>

Reply via email to