we should not use inheritance there but proper view redirection, so if one adapt listitem view, he gets the same thing by default with the adapted list
--- a/web/views/baseviews.py Fri Feb 05 15:44:34 2010 +0100
+++ b/web/views/baseviews.py Fri Feb 05 15:53:25 2010 +0100
@@ -318,9 +318,11 @@
self.wview(self.item_vid, self.cw_rset, row=row, col=col, vid=vid, **kwargs)
-class AdaptedListItemView(ListItemView):
+class AdaptedListItemView(EntityView):
__regid__ = 'adaptedlistitem'
+ def cell_call(self, row, col, **kwargs):
+ self.wview('listitem', self.cw_rset, row=row, col=col, **kwargs)
class CSVView(SimpleListView):
__regid__ = 'csv'