web/views/primary.py
branchstable
changeset 6926 2cda8f1b4fae
parent 6634 0683748bca81
child 6931 0af44a38fe41
equal deleted inserted replaced
6925:352db17719d2 6926:2cda8f1b4fae
    98 
    98 
    99     def content_navigation_components(self, context):
    99     def content_navigation_components(self, context):
   100         self.w(u'<div class="%s">' % context)
   100         self.w(u'<div class="%s">' % context)
   101         for comp in self._cw.vreg['ctxcomponents'].poss_visible_objects(
   101         for comp in self._cw.vreg['ctxcomponents'].poss_visible_objects(
   102             self._cw, rset=self.cw_rset, view=self, context=context):
   102             self._cw, rset=self.cw_rset, view=self, context=context):
       
   103             # XXX bw compat code
   103             try:
   104             try:
   104                 comp.render(w=self.w, row=self.cw_row, view=self)
   105                 comp.render(w=self.w, row=self.cw_row, view=self)
   105             except TypeError:
   106             except TypeError:
   106                 comp.render(w=self.w)
   107                 comp.render(w=self.w)
   107         self.w(u'</div>')
   108         self.w(u'</div>')