l.a.w.p.ProductBugTrackerWidget(LaunchpadRadioWidget) : class documentation

Part of lp.app.widgets.product View In Hierarchy

Widget for selecting a product bug tracker.
Method __init__ Undocumented
Method getInputValue Undocumented
Method setRenderedValue Undocumented
Method error Concatenate errors from this widget and sub-widgets.
Method renderItems Custom-render the radio-buttons and dependent widgets.
Method renderValue Undocumented
Method _renderItem Undocumented
Method _toFieldValue Undocumented
Method _renderLabel Render a label for the option with the specified index.

Inherited from LaunchpadRadioWidget:

Method _div Undocumented
def __init__(self, field, vocabulary, request):
Undocumented
def _renderItem(self, index, text, value, name, cssClass, checked=False):
Undocumented
def _toFieldValue(self, form_value):
Undocumented
def getInputValue(self):
Undocumented
def setRenderedValue(self, value):
Undocumented
def _renderLabel(self, text, index):
Render a label for the option with the specified index.
def error(self):
Concatenate errors from this widget and sub-widgets.
def renderItems(self, value):
Custom-render the radio-buttons and dependent widgets.

Some of the radio options have dependent widgets: the bug tracker drop-down box, and the email address text field. To render these in the correct place we must override the default rendering of LaunchpadRadioWidget.

We must also make sure that these dependent widgets are populated with the correct information, specifically the bug tracker selected, or the email address where bugs must be reported.

def renderValue(self, value):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.