Package turbogears :: Package widgets :: Module forms :: Class CompoundFormField

Class CompoundFormField

source code

     object --+                
              |                
    base.Widget --+            
                  |            
base.CompoundWidget --+        
                      |        
     object --+       |        
              |       |        
    base.Widget --+   |        
                  |   |        
        InputWidget --+        
                      |        
    CompoundInputWidget --+    
                          |    
        FormFieldsContainer --+
                              |
         object --+           |
                  |           |
        base.Widget --+       |
                      |       |
            InputWidget --+   |
                          |   |
                  FormField --+
                              |
                             CompoundFormField
Known Subclasses:

Nested Classes

Inherited from base.Widget: __metaclass__

Instance Methods

Inherited from FormFieldsContainer: display_field_for, get_field_by_name, render_field_for, update_params

Inherited from CompoundInputWidget: adjust_value, dictify_value, error_for, params_for, value_for

Inherited from base.CompoundWidget: __init__, display, iter_member_widgets, retrieve_css, retrieve_javascript

Inherited from base.Widget: __call__, __repr__, __setattr__, render

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Class Variables
  is_required = False
  params = ['disabled_fields', 'convert', 'field_class', 'css_cl...
  params_doc = {'convert': 'Should the value be coerced by the v...

Inherited from FormFieldsContainer: disabled_fields, fields, hidden_fields, member_widgets

Inherited from base.CompoundWidget: compound

Inherited from FormField: css_classes, field_class, help_text, label

Inherited from InputWidget: convert, validator

Inherited from base.Widget: css, default, javascript, template

Properties

Inherited from FormFieldsContainer: file_upload

Inherited from FormField: field_id, name

Inherited from InputWidget: error, fq_name, is_validated, name_path, path

Inherited from base.Widget: is_named

Inherited from object: __class__

Class Variable Details

params

Value:
['disabled_fields', 'convert', 'field_class', 'css_classes']

params_doc

Value:
{'convert': 'Should the value be coerced by the validator at display?'\
,
 'css_classes': 'List of extra CSS classes for the field',
 'field_class': 'CSS class for the field'}