l.b.b.w.b.BugTagsWidgetBase : class documentation

Part of lp.bugs.browser.widgets.bug View In Hierarchy

Known subclasses: lp.bugs.browser.widgets.bug.BugTagsWidget, lp.bugs.browser.widgets.bug.LargeBugTagsWidget

Base class for bug tags widgets.
Method getInputValue Undocumented
Method _tagsFromFieldValue Package up the tags for display.
Method _tagsToFieldValue Package up the tags for the field.
Method _toFormValue Convert a list of strings to a single, space separated, string.
Method _toFieldValue Convert a space separated string to a list of strings.
Method _getInputValue Undocumented
def _tagsFromFieldValue(self, tags):
Package up the tags for display.

Override this to provide custom ordering for example.

ReturnsNone if there are no tags, else an iterable of tags.
def _tagsToFieldValue(self, tags):
Package up the tags for the field.
ParameterstagsNone if the submitted data was missing, otherwise an iterable of tags.
def _toFormValue(self, value):
Convert a list of strings to a single, space separated, string.
def _toFieldValue(self, input):
Convert a space separated string to a list of strings.
def getInputValue(self):
Undocumented
def _getInputValue(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.