Hi, I think you should use a ListView. You can easily nest one within another. For your particular requirement, you can even consider using a single table instead of embedding a child table. By controlling "colspan" the attribute columns can "line up" in case you need that. Have a look at this example which is part of a comparison of GWT with Wicket
http://ptrthomas.wordpress.com/2008/09/04/wicket-and-gwt-compared-with-code/ Thanks, Peter. On Thu, Sep 18, 2008 at 9:52 PM, michael4321 <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a table within a table, basically each row has some main details, > and the sub table lists attributes for the row. The issue I'm having is > that not all attributes should display for each row, and I'm not sure how > to > get around this. > > > ex. > <table> > <tr wicket:id="list"> > <td><td> > <table> > <tr> > <td><sp an wicket:id='attrib1'> > <td><sp an wicket:id='attrib2'> > <td><sp an wicket:id='attrib3'> > </tr> > </table> > </tr> > </table> > > some rows I'd like to only display attrib1 and attrib2 and other rows I may > display all three,... > I'm using a RepeatingView to populate the table, I'm guessing that this is > probably wrong. > > Is there a way to have a a list dependent upon another list? like below? > > <table> > <tr wicket:it="list"> > <td><td> > <table> > <tr wicket:id="list2" join on key to list1> > <td><sp an wicket:id='attrib1'> > <td><sp an wicket:id='attrib2'> > <td><sp an wicket:id='attrib3'> > </tr> > </table> > </tr> > </table> > > > > > > > -- > View this message in context: > http://www.nabble.com/Tables-tp19556708p19556708.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
