l.a.b.launchpadform : module documentation

Part of lp.app.browser

Launchpad Form View Classes
Class LaunchpadFormView No class docstring; 20/27 methods, 1/1 static methods documented
Class LaunchpadEditFormView No class docstring; 1/1 methods documented
Class custom_widget A class advisor for overriding the default widget for a field.
Function safe_action A decorator used to mark a particular action as 'safe'.
Class ReturnToReferrerMixin Return to the previous page after submitting the form.
Function has_structured_doc Set an annotation to mark that the field's doc should be structured.
Class WidgetHasStructuredDoc Check if widget has structured doc.
Function render_radio_widget_part Render a particular term for a radio button widget.
def safe_action(action):
A decorator used to mark a particular action as 'safe'.

In the context of LaunchpadFormView, only actions marked as safe can be submitted using a GET request.

def has_structured_doc(field):
Set an annotation to mark that the field's doc should be structured.
def render_radio_widget_part(widget, term_value, current_value, label=None):
Render a particular term for a radio button widget.

This may well work for other widgets, but has only been tested with radio button widgets.

API Documentation for Launchpad, generated by pydoctor at 2018-02-18 00:00:04.