There are many ways .. For example you can have two nested ListView, for example:
<table > <tr wicket:id="the-row" > <td wicket:id="the-column" > value </td> </tr> </table> The first iterate over the row as usual, and the second over the columns. The problem can be reduced to have a valid model to specify the columns. This could be done, with a simple array of bean attribute names or using reflection to extract bean getter ... or some other complex way .. - Paolo (at fao.org) On 8/10/07, Pantaleoni, Andrea (KCTU) <[EMAIL PROTECTED]> wrote: > > Hello, > I have to implement a dynamic table: depending on user choices or values > of > fields in database, the number of columns could change. > e.g. In same case I can have 3 columns containing Labels or in other cases > 5 > containing Labels and form components(and so on). > To do that I'm using a ListView inside a WebMarkupContainer(I need to > implements some ajax behavior too) > The problems is that wicket require a exact match between components added > to > the form object or page and markup items inside the relative html page > Someone of you has already faced that problems? > Any suggestion? > > Many Thanks > Andrea > >
