Package gavo :: Package web :: Module formrender :: Class FormMixin
[frames] | no frames]

Class FormMixin

source code

                   object --+    
                            |    
imp.formal.form.ResourceMixin --+
                                |
                               FormMixin
Known Subclasses:

A mixin to produce input forms for services and display errors within these forms.

Instance Methods
 
form_genForm(self, ctx=None, data=None) source code
 
submitAction(self, ctx, form, data)
executes the service.
source code

Inherited from imp.formal.form.ResourceMixin: __providedBy__, __provides__, crash, formFactory, locateChild, renderHTTP, render_form

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

Class Variables
  parameterStyle = 'form'
hash(x)

Inherited from imp.formal.form.ResourceMixin: __implemented__

Properties

Inherited from object: __class__

Method Details

submitAction(self, ctx, form, data)

source code 

executes the service.

This is a callback for the formal form.