web/box.py
branch3.0
changeset 454 c35c318e6be5
parent 431 18b4dd650ef8
child 455 c4b630e7d0f8
equal deleted inserted replaced
436:0e4fb0a257ab 454:c35c318e6be5
   183 
   183 
   184     subclasses should define at least id, rtype and target
   184     subclasses should define at least id, rtype and target
   185     class attributes.
   185     class attributes.
   186     """
   186     """
   187     
   187     
   188     def cell_call(self, row, col):
   188     def cell_call(self, row, col, view=None):
   189         self.req.add_js('cubicweb.ajax.js')
   189         self.req.add_js('cubicweb.ajax.js')
   190         entity = self.entity(row, col)
   190         entity = self.entity(row, col)
   191         box = SideBoxWidget(display_name(self.req, self.rtype), self.id)
   191         box = SideBoxWidget(display_name(self.req, self.rtype), self.id)
   192         count = self.w_related(box, entity)
   192         count = self.w_related(box, entity)
   193         if count:
   193         if count: