web/form.py
branchtls-sprint
changeset 944 e9da555f19c5
parent 913 5dfba71b1872
child 1009 bcd0c3ae1935
equal deleted inserted replaced
943:9fdfa8d38359 944:e9da555f19c5
    36     js = u"javascript: togglePendingDelete('%s', %s);" % (nodeid, html_escape(dumps(eid)))
    36     js = u"javascript: togglePendingDelete('%s', %s);" % (nodeid, html_escape(dumps(eid)))
    37     return u'[<a class="handle" href="%s" id="handle%s">%s</a>]' % (js, nodeid, label)
    37     return u'[<a class="handle" href="%s" id="handle%s">%s</a>]' % (js, nodeid, label)
    38 
    38 
    39 
    39 
    40 class FormMixIn(object):
    40 class FormMixIn(object):
    41     """abstract form mix-in"""
    41     """abstract form mix-in
       
    42     XXX: you should inherit from this FIRST (obscure pb with super call)"""
    42     category = 'form'
    43     category = 'form'
    43     controller = 'edit'
    44     controller = 'edit'
    44     domid = 'entityForm'
    45     domid = 'entityForm'
    45     
    46     
    46     http_cache_manager = NoHTTPCacheManager
    47     http_cache_manager = NoHTTPCacheManager