web/views/baseviews.py
changeset 4507 57927ad07e63
parent 4494 ccb7fce7297b
child 4536 02d0803a60b8
equal deleted inserted replaced
4506:5b99f4a9f8ef 4507:57927ad07e63
   314         """display a list of entities by calling their <item_vid> view"""
   314         """display a list of entities by calling their <item_vid> view"""
   315         if not 'vtitle' in self._cw.form:
   315         if not 'vtitle' in self._cw.form:
   316             self.w(u'<h1>%s</h1>' % self.title)
   316             self.w(u'<h1>%s</h1>' % self.title)
   317         super(SameETypeListView, self).call(**kwargs)
   317         super(SameETypeListView, self).call(**kwargs)
   318 
   318 
   319     def cell_call(self, row, col=0, vid=None, **kwargs):
   319     def cell_call(self, row, col=0, **kwargs):
   320         self.wview(self.item_vid, self.cw_rset, row=row, col=col, vid=vid, **kwargs)
   320         self.wview(self.item_vid, self.cw_rset, row=row, col=col, **kwargs)
   321 
   321 
   322 
   322 
   323 class SameETypeListItemView(EntityView):
   323 class SameETypeListItemView(EntityView):
   324     __regid__ = 'sameetypelistitem'
   324     __regid__ = 'sameetypelistitem'
   325 
   325