equal
deleted
inserted
replaced
236 __metaclass__ = class_deprecated |
236 __metaclass__ = class_deprecated |
237 __deprecation_warning__ = '[3.10] SideBoxView is deprecated, use RsetBox instead (%(cls)s)' |
237 __deprecation_warning__ = '[3.10] SideBoxView is deprecated, use RsetBox instead (%(cls)s)' |
238 |
238 |
239 __regid__ = 'sidebox' |
239 __regid__ = 'sidebox' |
240 |
240 |
241 def call(self, **kwargs): |
241 def call(self, title=u'', **kwargs): |
242 """display a list of entities by calling their <item_vid> view""" |
242 """display a list of entities by calling their <item_vid> view""" |
243 if 'dispctrl' in self.cw_extra_kwargs: |
243 if 'dispctrl' in self.cw_extra_kwargs: |
244 # XXX do not modify dispctrl! |
244 # XXX do not modify dispctrl! |
245 self.cw_extra_kwargs['dispctrl'].setdefault('subvid', 'outofcontext') |
245 self.cw_extra_kwargs['dispctrl'].setdefault('subvid', 'outofcontext') |
246 self.cw_extra_kwargs['dispctrl'].setdefault('use_list_limit', 1) |
246 self.cw_extra_kwargs['dispctrl'].setdefault('use_list_limit', 1) |