web/views/baseviews.py
changeset 531 d33f80ff1b72
parent 530 9b56df97ec5f
child 532 ce3e94cbb074
equal deleted inserted replaced
530:9b56df97ec5f 531:d33f80ff1b72
   253             for relatedinfos in siderelations:
   253             for relatedinfos in siderelations:
   254                 # if not relatedinfos[0].meta:
   254                 # if not relatedinfos[0].meta:
   255                 #    continue
   255                 #    continue
   256                 self._render_related_entities(entity, *relatedinfos)
   256                 self._render_related_entities(entity, *relatedinfos)
   257             self.w(u'</div>')
   257             self.w(u'</div>')
   258         for box in self.vreg.possible_vobjects('boxes', self.req, entity.rset,
   258         for box in self.vreg.possible_vobjects('boxes', self.req, self.rset,
   259                                                col=entity.col, row=entity.row,
   259                                                row=self.row, view=self,
   260                                                view=self, context='incontext'):
   260                                                context='incontext'):
   261             try:
   261             try:
   262                 box.dispatch(w=self.w, col=entity.col, row=entity.row)
   262                 box.dispatch(w=self.w, row=self.row)
   263             except NotImplementedError:
   263             except NotImplementedError:
   264                 # much probably a context insensitive box, which only implements
   264                 # much probably a context insensitive box, which only implements
   265                 # .call() and not cell_call()
   265                 # .call() and not cell_call()
   266                 box.dispatch(w=self.w)
   266                 box.dispatch(w=self.w)
   267                 
   267