alexei.sokolov wrote: > > Hello, > > I'm sorry if this subject was discussed before... if so please point me in > the right direction. Here is my problem: > > I'm using IDataProvider interface from wicket extensions package to load > set > of data from database. The data has the following format: > > group1, field11, field12, field13, field14 > group1, field21, field22, field23, field24 > group1, field31, field32, field33, field34 > ... > groupN, fieldN1, fieldN2, fieldN3, fieldN4 > > Now, what I want to show is this: > > group1 header > group1 row1 > group1 row2 > ... > group1 rowM > group1 footer > ... > groupN header > groupN row1 > ... > groupN rowK > groupN footer > > How do I do this if markup for group header and group footer is different > from each row's markup? > > Thank you, > Alex > >
I had similar problem (also with optional indexing and pagination). I end up making custom component extending ListView. Though what Igor says looks much better than what I did. -- View this message in context: http://www.nabble.com/grouping-of-components-with-repeaters-tf3256216.html#a9054740 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
