web/views/searchrestriction.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 26 Mar 2010 13:33:32 +0100
branchstable
changeset 5038 90493551b1eb
parent 4212 ab6573088b4a
child 5421 8167de96c523
permissions -rw-r--r--
[form] fix validation error handling * type when possible ValidationError raised by the edit controller * don't rely on repository to check required field * turn css class used for field error message to errorMsg to avoid confusion with the error class added to input * fix css when errors are added by the form renderer * fix form renderer to add the error message

"""contains utility functions and some visual component to restrict results of
a search

:organization: Logilab
:copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"

from logilab.common.deprecation import moved

insert_attr_select_relation = moved('cubicweb.web.facet',
                                    'insert_attr_select_relation')