portal_web.views.forms package¶
Subpackages¶
- portal_web.views.forms.datatables package
- Submodules
- portal_web.views.forms.datatables.datatable_sequence module
DatatableSequence
DatatableSequenceWidget
DatatableSequenceWidget.category
DatatableSequenceWidget.deserialize()
DatatableSequenceWidget.dictmerge()
DatatableSequenceWidget.get_template_values()
DatatableSequenceWidget.item_template
DatatableSequenceWidget.language()
DatatableSequenceWidget.language_overrides
DatatableSequenceWidget.prototype()
DatatableSequenceWidget.prototypes
DatatableSequenceWidget.rows()
DatatableSequenceWidget.serialize()
DatatableSequenceWidget.source_data
DatatableSequenceWidget.source_data_total
- Module contents
Submodules¶
portal_web.views.forms.base module¶
- class portal_web.views.forms.base.FormController(name=None, stage=None, persistent=False, appstruct=None, context=None, request=None, response=None)[source]¶
Bases:
object
Abstract class for form handling
- abstract controller()[source]¶
overwrite this with your form logic! (if form is submitted and … then …)
- property data¶
session persistent dict for aggregated data of all appstructs (stages) needs to be filled manually
- property form¶
- property name¶
- redirect(resource='', *args, **kwargs)[source]¶
return user to other place by str or resource, removes form from session
portal_web.views.forms.login_web_user module¶
- class portal_web.views.forms.login_web_user.EmailField(*args, **kw)[source]¶
Bases:
SchemaNode
- oid = 'login-email'¶
- schema_type¶
alias of
String
- validator = <colander.Email object>¶
- class portal_web.views.forms.login_web_user.LoginWebuser(name=None, stage=None, persistent=False, appstruct=None, context=None, request=None, response=None)[source]¶
Bases:
FormController
form controller for web_user login
portal_web.views.forms.register_web_user module¶
- class portal_web.views.forms.register_web_user.CheckedPasswordField(*args, **kw)[source]¶
Bases:
SchemaNode
- oid = 'register-password'¶
- schema_type¶
alias of
String
- validator = <colander.Length object>¶
- widget = <deform.widget.CheckedPasswordWidget object>¶
- class portal_web.views.forms.register_web_user.EmailField(*args, **kw)[source]¶
Bases:
SchemaNode
- oid = 'register-email'¶
- schema_type¶
alias of
String
- validator = <colander.All object>¶
- class portal_web.views.forms.register_web_user.RegisterWebuser(name=None, stage=None, persistent=False, appstruct=None, context=None, request=None, response=None)[source]¶
Bases:
FormController
form controller for web_user login