I have used the dataview from the extension Library and really have not been very happy with the results. I have been working through a process of developing a repeat control 'view' for a number of reasons.
1. if you do a FTSearch before coming into the dataView you have no control of the order of the documents and the categorization is lost.
2. want to do something like you want on a row by row basis easy in a repeat control, not so much in the dataView. for example if the current user has Edit rights to the document open the document in one Xpage, if not use a different one.
3. Much greater control over the look and feel of the output.
downside - takes more time to build.
There is no one design that fits all situations but I'm leaning strongly toward the repeat to maintain look and feel across the application.