Hi. I am using a AjaxFallbackDefaultDataTable to display some search results and this is good for typical multiple-columns layout. I want results also to be displayed in a "grid" layout, where a whole single result stays in a single cell (an image and a text label below).
I can't figure out how to do with a DataTable but I can do this with a GridView but I want the ajaxified version... So I have explored the various options wicket offers to display data and I have some problems. Before starting, I have noticed an error the wiki here: http://cwiki.apache.org/WICKET/tables-and-grids.html maybe this informations are just out of date? Back to the problem: DataTable wraps a DataGridView, so my question is: there is a way to obtain my desired layout with a DataGridView and so from a DataTable? Or, have I to use GridView instead? I have tried to build a solution following the second way, making a sort of DataTable that wraps a GridView, the code is taken from original DataTable. This was simple, both GridView and DataGridView extends BaseDataView and there are just some different methods (setRows instead of setRowsPerPage...) Problems arise when I try to make the ajaxified version due to the fact that a lot of components used by AjaxFallbackDefaultDataTable make direct use of DataTable... This difficoulties to me seem related to the fact that inheritance is often used where probably would have given more power to user that wanted to extends funcionality and behavior of existing classes. Maybe this is just an impression due to the fact I am new to wicket... Any advice is welcome, thanks. ------------------------------------------------------------------------- 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
