--- a/web/views/boxes.py Wed Oct 06 14:57:14 2010 +0200
+++ b/web/views/boxes.py Thu Oct 07 19:04:07 2010 +0200
@@ -235,6 +235,9 @@
def call(self, **kwargs):
"""display a list of entities by calling their <item_vid> view"""
+ if 'dispctrl' in self.cw_extra_kwargs:
+ # XXX do not modify dispctrl!
+ self.cw_extra_kwargs['dispctrl'].setdefault('subvid', 'outofcontext')
box = self._cw.vreg['ctxcomponents'].select(
'rsetbox', self._cw, rset=self.cw_rset, vid='autolimited',
title=title, **self.cw_extra_kwargs)