web/views/treeview.py
changeset 8900 010a59e12d89
parent 8728 75be9de9d68e
child 9256 697a8181ba30
equal deleted inserted replaced
8899:c7a95ebcc093 8900:010a59e12d89
    66         self.wview(self.__regid__, relatedrset, 'null', done=done,
    66         self.wview(self.__regid__, relatedrset, 'null', done=done,
    67                    maxlevel=maxlevel, **kwargs)
    67                    maxlevel=maxlevel, **kwargs)
    68         self.close_item(entity)
    68         self.close_item(entity)
    69 
    69 
    70     def open_item(self, entity):
    70     def open_item(self, entity):
    71         self.w(u'<li class="%s">\n' % entity.__regid__.lower())
    71         self.w(u'<li class="%s">\n' % entity.cw_etype.lower())
    72     def close_item(self, entity):
    72     def close_item(self, entity):
    73         self.w(u'</li>\n')
    73         self.w(u'</li>\n')
    74 
    74 
    75 
    75 
    76 class TreePathView(EntityView):
    76 class TreePathView(EntityView):