web/views/treeview.py
changeset 5979 561b6c2eb288
parent 5940 0e3ae19b181a
child 6006 54cdc0164193
equal deleted inserted replaced
5978:3939d48d39d4 5979:561b6c2eb288
    67 
    67 
    68     def open_item(self, entity):
    68     def open_item(self, entity):
    69         self.w(u'<li class="%s">\n' % entity.__regid__.lower())
    69         self.w(u'<li class="%s">\n' % entity.__regid__.lower())
    70     def close_item(self, entity):
    70     def close_item(self, entity):
    71         self.w(u'</li>\n')
    71         self.w(u'</li>\n')
    72 
       
    73 
    72 
    74 
    73 
    75 class TreePathView(EntityView):
    74 class TreePathView(EntityView):
    76     """a recursive path view"""
    75     """a recursive path view"""
    77     __regid__ = 'path'
    76     __regid__ = 'path'