Public Member Functions | Public Attributes | Static Public Attributes | Properties | Private Attributes
webtest.forms.Field Class Reference
Inheritance diagram for webtest.forms.Field:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Base class for all Field objects.

.. attribute:: classes

    Dictionary of field types (select, radio, etc)

.. attribute:: value

    Set/get value of the field.

Definition at line 50 of file forms.py.


Constructor & Destructor Documentation

def webtest.forms.Field.__init__ (   self,
  form,
  tag,
  name,
  pos,
  value = None,
  id = None,
  attrs 
)

Definition at line 65 of file forms.py.


Member Function Documentation

Definition at line 92 of file forms.py.

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.

Definition at line 86 of file forms.py.

def webtest.forms.Field.value__set (   self,
  value 
)

Member Data Documentation

Definition at line 65 of file forms.py.

Definition at line 65 of file forms.py.

dictionary webtest::forms.Field::classes = {} [static]

Definition at line 63 of file forms.py.

Definition at line 65 of file forms.py.

Definition at line 65 of file forms.py.

Definition at line 65 of file forms.py.

Definition at line 65 of file forms.py.

Definition at line 65 of file forms.py.


Property Documentation


The documentation for this class was generated from the following file:


webtest
Author(s): AlexV
autogenerated on Sat Jun 8 2019 20:32:08