c.w.p.VocabularyPickerWidget(SingleDataHelper, ItemsWidgetBase) : class documentation

Part of canonical.widgets.popup View In Hierarchy

Known subclasses: canonical.launchpad.browser.widgets.BranchPopupWidget, canonical.widgets.bugtask.BugTaskSourcePackageNameWidget, canonical.widgets.popup.BugTrackerPickerWidget, canonical.widgets.popup.PersonPickerWidget, canonical.widgets.popup.SearchForUpstreamPopupWidget

Wrapper for the lazr-js picker/picker.js widget.
Method matches Return a list of matches (as ITokenizedTerm) to whatever the
Method formToken Undocumented
Method inputField Undocumented
Method suffix Undocumented
Method show_widget_id Undocumented
Method extra_no_results_message Extra message when there are no results.
Method vocabulary_name The name of the field's vocabulary.
Method chooseLink Undocumented
Method nonajax_uri Override in subclass to specify a non-AJAX URI for the Find link.
@cachedproperty
def matches(self):
Return a list of matches (as ITokenizedTerm) to whatever the user currently has entered in the form.
@cachedproperty
def formToken(self):
Undocumented
def inputField(self):
Undocumented
@property
def suffix(self):
Undocumented
@property
def show_widget_id(self):
Undocumented
@property
def extra_no_results_message(self):
Extra message when there are no results.

Override this in subclasses.

ReturnsA string that will be passed to Y.Node.create() so it needs to be contained in a single HTML element.
@property
def vocabulary_name(self):
The name of the field's vocabulary.
def chooseLink(self):
Undocumented
@property
def nonajax_uri(self):
Override in subclass to specify a non-AJAX URI for the Find link.

If None is returned, the find link will be hidden.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.