I'm having a hard time finding the "Wicket way" to accomplish a simple 2
column table.

I have a List<String> with: { "Item 1", "Item 2", "Item 3", "Item 4" }

I have a page that looks like this:

<table>
        <tr wicket:id="list">
                <td>
                        <span wicket:id="label" />
                </td>
        </tr>
</table>

The effect I want to achieve is a 2 column table like:
<table>
        <tr>
                <td>Item 1</td>
                <td>Item 2</td>
        </tr>
        <tr>
                <td>Item 3</td>
                <td>Item 4</td>
        </tr>
<table>

The ListView component (as expected) prints a </tr><tr> tag after each
item. Is there a simple way to achieve what I am trying to do without
using the grid based components that require a data provider (which is
overkill for what I need to do)?

I found ListDataProvider which I can use with GridView, but I'm still
wondering if there is a simpler way.

Thanks!
Ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to