> The benefit of this approach is extra flexibility so it is > possible to implement tables where the first row contains one > cell (i.e. the title) then the next couple of rows contain > four cells (adding up some items) and then the final row > contains two cells ("total=", "some value"). This is possible > in HTML but not possible to express using PageableDataView. > While it is not used as frequently as fixed column/row > layouts, I have seen it often enough on web pages.
This is ALREADY possible and quiet EASY, there is no need to overengineer things. The purpose of the dataview is to repeat things not create the whole table. IE: <table> <tr><td colspan="2"><span wicket:id="title"/></td></tr> <tr><td colspan="2"><span wicket:id="subtitle"/></td></tr> <tr wicket:id="dataview1"> <td><span wicket:id="col1"/></td><td><span wicket:id="col2"/></td> </tr> <tr><td colspan="3"><span wicket:id="subtitle2"/></td></tr> <tr wicket:id="dataview2"> <td><span wicket:id="col1"/></td><td><span wicket:id="col2"/></td> </tr> <tr><td colspan="2"><span wicket:id="footer"/></td></tr> </table> -Igor ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user