Part of canonical.launchpad.browser.widgets View In Hierarchy
Method | getBranchNameFromURL | Return a branch name based on url . |
Method | getPerson | Return the person in the context, if any. |
Method | getProduct | Return the product in the context, if there is one. |
Method | makeBranchFromURL | Make a mirrored branch for url . |
Method | _toFieldValue | Undocumented |
Inherited from VocabularyPickerWidget:
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. |
url
.
The name is based on the last path segment of the URL. If there is already another branch of that name on the product, then we'll try to find a unique name by appending numbers.