Package turbogears :: Package widgets :: Module forms :: Class ListForm

Class ListForm

source code

     object --+                    
              |                    
    base.Widget --+                
                  |                
base.CompoundWidget --+            
                      |            
     object --+       |            
              |       |            
    base.Widget --+   |            
                  |   |            
        InputWidget --+            
                      |            
    CompoundInputWidget --+        
                          |        
        FormFieldsContainer --+    
                              |    
                           Form --+
                                  |
                                 ListForm

Form with simple list layout.

Instance Methods

Inherited from Form: errors, update_params, validate

Inherited from FormFieldsContainer: display_field_for, file_upload, get_field_by_name, render_field_for

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

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

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

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

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

Class Variables
  template = ...
hash(x)
  params = ["list_attrs"]
  params_doc = {'list_attrs': 'Extra (X)HTML attributes for the ...
  list_attrs = {}

Inherited from Form: action, form, form_attrs, member_widgets, method, name, submit, submit_text, use_name

Inherited from FormFieldsContainer: disabled_fields, fields, hidden_fields

Inherited from base.CompoundWidget: compound

Inherited from InputWidget: convert, validator

Inherited from base.Widget: __metaclass__, css, default, engine_name, javascript

Properties

Inherited from object: __class__

Class Variable Details

template

hash(x)

Value:
"""
    <form xmlns:py="http://purl.org/kid/ns#"
        name="${use_name and name or None}"
        id="${not use_name and name or None}"
        action="${action}"
        method="${method}"
        class="listform"
        py:attrs="form_attrs"
...

params_doc

Value:
{'list_attrs': 'Extra (X)HTML attributes for the ul tag'}