web/views/primary.py
branchstable
changeset 5560 b9a8e7109370
parent 5520 2d7f135846ee
child 5614 37b31a7b8e74
equal deleted inserted replaced
5554:9b7bdbfee68b 5560:b9a8e7109370
   174                     label, rset, vid, dispctrl  = box
   174                     label, rset, vid, dispctrl  = box
   175                 except ValueError:
   175                 except ValueError:
   176                     warn('[3.5] box views should now be defined as a 4-uple (label, rset, vid, dispctrl), '
   176                     warn('[3.5] box views should now be defined as a 4-uple (label, rset, vid, dispctrl), '
   177                          'please update %s' % self.__class__.__name__,
   177                          'please update %s' % self.__class__.__name__,
   178                          DeprecationWarning)
   178                          DeprecationWarning)
   179                     label, rset, vid  = box
   179                     label, rset, vid = box
       
   180                     dispctrl = {}
   180                 self.w(u'<div class="sideBox">')
   181                 self.w(u'<div class="sideBox">')
   181                 self.wview(vid, rset, title=label, initargs={'dispctrl': dispctrl})
   182                 self.wview(vid, rset, title=label, initargs={'dispctrl': dispctrl})
   182                 self.w(u'</div>')
   183                 self.w(u'</div>')
   183             else:
   184             else:
   184                 try:
   185                 try: