Public Member Functions | |
def | __init__ |
def | __repr__ |
def | force_value |
def | value__get |
def | value__set |
Public Attributes | |
attrs | |
form | |
id | |
name | |
pos | |
tag | |
Static Public Attributes | |
dictionary | classes = {} |
Properties | |
value = property(value__get, value__set) | |
Private Attributes | |
_value |
Base class for all Field objects. .. attribute:: classes Dictionary of field types (select, radio, etc) .. attribute:: value Set/get value of the field.
def webtest.forms.Field.__init__ | ( | self, | |
form, | |||
tag, | |||
name, | |||
pos, | |||
value = None , |
|||
id = None , |
|||
attrs | |||
) |
def webtest.forms.Field.__repr__ | ( | self | ) |
def webtest.forms.Field.force_value | ( | self, | |
value | |||
) |
Like setting a value, except forces it (even for, say, hidden fields).
Reimplemented in webtest.forms.MultipleSelect, and webtest.forms.Select.
def webtest.forms.Field.value__get | ( | self | ) |
Reimplemented in webtest.forms.Submit, webtest.forms.File, webtest.forms.Checkbox, webtest.forms.Radio, webtest.forms.MultipleSelect, and webtest.forms.Select.
def webtest.forms.Field.value__set | ( | self, | |
value | |||
) |
Reimplemented in webtest.forms.Submit, webtest.forms.Checkbox, webtest.forms.MultipleSelect, and webtest.forms.Select.
webtest::forms.Field::_value [private] |
dictionary webtest::forms.Field::classes = {} [static] |
webtest::forms.Field::value = property(value__get, value__set) [static] |
Reimplemented in webtest.forms.Submit, webtest.forms.File, webtest.forms.Checkbox, webtest.forms.Radio, webtest.forms.MultipleSelect, and webtest.forms.Select.