web/component.py
branchtls-sprint
changeset 743 62ff117dc99c
parent 687 c23315c11185
child 747 af9c15653ea9
equal deleted inserted replaced
741:8c810ee593a3 743:62ff117dc99c
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     6 """
     6 """
     7 __docformat__ = "restructuredtext en"
     7 __docformat__ = "restructuredtext en"
     8 
     8 
     9 from logilab.common.deprecation import class_renamed
     9 from logilab.common.deprecation import class_renamed
       
    10 from logilab.mtconverter import html_escape
    10 
    11 
       
    12 from cubicweb.utils import merge_dicts
       
    13 from cubicweb.view import View, Component
    11 from cubicweb.selectors import (
    14 from cubicweb.selectors import (
    12     paginated_rset, one_line_rset, primary_view, match_context_prop,
    15     paginated_rset, one_line_rset, primary_view, match_context_prop,
    13     condition_compat, accepts_compat, has_relation_compat)
    16     condition_compat, accepts_compat, has_relation_compat)
    14 from cubicweb.common.utils import merge_dicts
       
    15 from cubicweb.common.view import View, Component
       
    16 from cubicweb.common.registerers import accepts_registerer
    17 from cubicweb.common.registerers import accepts_registerer
    17 from cubicweb.common.uilib import html_escape
       
    18 
    18 
    19 _ = unicode
    19 _ = unicode
    20 
    20 
    21 class EntityVComponent(Component):
    21 class EntityVComponent(Component):
    22     """abstract base class for additinal components displayed in content
    22     """abstract base class for additinal components displayed in content