I'm trying to display an authorization matrix in wicket.
I could come up with 2 solutions so far, but I can't find an advantage in either of them.
First one, which I'd prefer at the moment: DataTable
I'm thinking of creating a DataTable with custom rows and columns and then overriding the newCellItem method to place an AjaxCheckBox in every cell and read the information of column to row as value from it.
problem: I don't need a provider and as far as I know it's not possible to make a table without one.
2nd idea:
ListView
It would be pretty easy to add them row by row with a static header row.
problem: I'd loose every advantage a table has.
Is there any "best practice" Wicket provides or should I go on with the DataTable? And if so: Is there no possibility to create a table without a Provider?
Because I get all information with my methods
getAllRoles() AND getAllDependencies();
which will return a Set.