web/formfields.py
changeset 4158 0e97cf2cf55b
parent 4156 1bbb0ee42c8e
child 4159 6b2b20c73d59
equal deleted inserted replaced
4157:f7830377b215 4158:0e97cf2cf55b
     9 
     9 
    10 from warnings import warn
    10 from warnings import warn
    11 from datetime import datetime
    11 from datetime import datetime
    12 
    12 
    13 from logilab.mtconverter import xml_escape
    13 from logilab.mtconverter import xml_escape
       
    14 from logilab.common.decorators import cached
       
    15 
    14 from yams.constraints import (SizeConstraint, StaticVocabularyConstraint,
    16 from yams.constraints import (SizeConstraint, StaticVocabularyConstraint,
    15                               FormatConstraint)
    17                               FormatConstraint)
    16 
    18 
    17 from cubicweb.utils import ustrftime
    19 from cubicweb.utils import ustrftime
    18 from cubicweb import tags, uilib
    20 from cubicweb import tags, uilib
    19 from cubicweb.web import INTERNAL_FIELD_VALUE
    21 from cubicweb.web import INTERNAL_FIELD_VALUE, eid_param
    20 from cubicweb.web.formwidgets import (
    22 from cubicweb.web.formwidgets import (
    21     HiddenInput, TextInput, FileInput, PasswordInput, TextArea, FCKEditor,
    23     HiddenInput, TextInput, FileInput, PasswordInput, TextArea, FCKEditor,
    22     Radio, Select, DateTimePicker)
    24     Radio, Select, DateTimePicker)
    23 
    25 
    24 
    26