Modules
- tw2.bootstrap
- tw2.bootstrap.forms
- tw2.captcha
- tw2.core
- tw2.d3
- tw2.dynforms
- tw2.dyntext
- tw2.etc
- tw2.excanvas
- tw2.forms
- tw2.jit
- tw2.jqplugins.chosen
- tw2.jqplugins.cookies
- tw2.jqplugins.dynatree
- tw2.jqplugins.fg
- tw2.jqplugins.flot
- tw2.jqplugins.fullcalendar
- tw2.jqplugins.jqgrid
- tw2.jqplugins.jqplot
- tw2.jqplugins.portlets
- tw2.jqplugins.select2
- tw2.jqplugins.ui
- tw2.jquery
- tw2.lesscss
- tw2.polymaps
- tw2.protovis.conventional
- tw2.protovis.core
- tw2.protovis.custom
- tw2.protovis.hierarchies
- tw2.qrcode
- tw2.rrd
- tw2.slideymenu
- tw2.sqla
- tw2.tinymce
- tw2.tipster
- tw2.util.html5shim
- tw2.wysihtml5
tw2.sqla
DbFormPage
A page that contains a form with database synchronisation. The fetch_data method loads a record
from the database, based on the primary key in the URL (no parameters for a new record). The
validated_request method saves the data to the database.
- children
- Children specified for this widget will be passed to the child
- id_suffix
- Suffix to append to compound IDs
- content_type
- Content type header
DbListForm
A page that contains a list form with database synchronisation. The fetch_data method loads a full
table from the database. The validated_request method saves the data to the database.
- children
- Children specified for this widget will be passed to the child
- id_suffix
- Suffix to append to compound IDs
- content_type
- Content type header
DbListPage
A page that contains a list with database synchronisation. The fetch_data method loads a full
table from the database; there is no submit or write capability.
- children
- Children specified for this widget will be passed to the child
- id_suffix
- Suffix to append to compound IDs
- content_type
- Content type header
- newlink
- New item widget
DbSelectionField
- prompt_text
- Text to prompt user to select an option.
DbSingleSelectField
- prompt_text
- Text to prompt user to select an option.
DbRadioButtonList
- prompt_text
- Text to prompt user to select an option.
DbCheckBoxList
- prompt_text
- Text to prompt user to select an option.
- item_validator
- Validator that applies to each item
DbCheckBoxTable
- prompt_text
- Text to prompt user to select an option.
- item_validator
- Validator that applies to each item
- cols
- Number of columns
DbSingleSelectLink
- child
- Child for this widget.
- children
- Children specified for this widget will be passed to the child
- id_suffix
- Suffix to append to compound IDs
- view_text
- Text to appear in the link
AutoTableForm
- id_suffix
- Suffix to append to compound IDs
- help_msg
- This message displays as a div inside the form
- action
- URL to submit form data to. If this is None, the form submits to the same URL it was displayed on.
- method
- HTTP method used for form submission.
- submit
- Submit button widget. If this is None, no submit button is generated.
- buttons
- List of additional buttons to be placed at the bottom of the form
- policy
- WidgetPolicy to use
AutoGrowingGrid
- child
- Child for this widget. The child must have no id.
- min_reps
- Minimum number of repetitions
- policy
- WidgetPolicy to use
AutoViewGrid
- child
- Child for this widget. The child must have no id.
- repetitions
- Fixed number of repetitions. If this is None, it dynamically determined, based on the length of the value list.
- min_reps
- Minimum number of repetitions
- max_reps
- Maximum number of repetitions
- extra_reps
- Number of extra repeitions, beyond the length of the value list.
- policy
- WidgetPolicy to use
AutoViewFieldSet
- id_suffix
- Suffix to append to compound IDs
- legend
- Text for the legend
- policy
- WidgetPolicy to use
AutoEditFieldSet
- id_suffix
- Suffix to append to compound IDs
- legend
- Text for the legend
- policy
- WidgetPolicy to use
AutoListPage
- child
- Child for this widget.
- children
- Children specified for this widget will be passed to the child
- id_suffix
- Suffix to append to compound IDs
- content_type
- Content type header
- newlink
- New item widget
AutoListPageEdit
- child
- Child for this widget.
- children
- Children specified for this widget will be passed to the child
- id_suffix
- Suffix to append to compound IDs
- content_type
- Content type header
- newlink
- New item widget