1 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
3 # |
3 # |
4 # This file is part of CubicWeb. |
4 # This file is part of CubicWeb. |
5 # |
5 # |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
24 |
24 |
25 from copy import copy |
25 from copy import copy |
26 |
26 |
27 from logilab.mtconverter import xml_escape |
27 from logilab.mtconverter import xml_escape |
28 from logilab.common.decorators import cached |
28 from logilab.common.decorators import cached |
|
29 from logilab.common.registry import yes |
29 from logilab.common.deprecation import class_moved |
30 from logilab.common.deprecation import class_moved |
30 |
31 |
31 from cubicweb import tags |
32 from cubicweb import tags |
32 from cubicweb.selectors import (match_kwargs, one_line_rset, non_final_entity, |
33 from cubicweb.predicates import (match_kwargs, one_line_rset, non_final_entity, |
33 specified_etype_implements, is_instance, yes) |
34 specified_etype_implements, is_instance) |
34 from cubicweb.view import EntityView |
35 from cubicweb.view import EntityView |
35 from cubicweb.schema import display_name |
36 from cubicweb.schema import display_name |
36 from cubicweb.web import uicfg, stdmsgs, eid_param, \ |
37 from cubicweb.web import uicfg, stdmsgs, eid_param, \ |
37 formfields as ff, formwidgets as fw |
38 formfields as ff, formwidgets as fw |
38 from cubicweb.web.form import FormViewMixIn, FieldNotFound |
39 from cubicweb.web.form import FormViewMixIn, FieldNotFound |