web/form.py
changeset 7584 e1881933f366
parent 7432 cab99ccdb774
child 7990 a673d1d9a738
equal deleted inserted replaced
7583:6632c762cd63 7584:e1881933f366
    80 
    80 
    81     parent_form = None
    81     parent_form = None
    82     force_session_key = None
    82     force_session_key = None
    83     domid = 'form'
    83     domid = 'form'
    84     copy_nav_params = False
    84     copy_nav_params = False
       
    85     control_fields = set( ('__form_id', '__errorurl', '__domid',
       
    86                            '__redirectpath', '_cwmsgid', '__message',
       
    87                            ) )
    85 
    88 
    86     def __init__(self, req, rset=None, row=None, col=None,
    89     def __init__(self, req, rset=None, row=None, col=None,
    87                  submitmsg=None, mainform=True, **kwargs):
    90                  submitmsg=None, mainform=True, **kwargs):
    88         super(Form, self).__init__(req, rset=rset, row=row, col=col)
    91         super(Form, self).__init__(req, rset=rset, row=row, col=col)
    89         self.fields = list(self.__class__._fields_)
    92         self.fields = list(self.__class__._fields_)