Part of lp.bugs.browser.bugtarget View In Hierarchy
Known subclasses: lp.bugs.browser.bugtarget.FileBugGuidedView
This view will only be used to populate asynchronously-driven parts of a page.
Method | schema | Undocumented |
Method | action_url | Return the +filebug page as the action URL. |
Method | search_text | Return the search string entered by the user. |
Method | similar_bugs | Return the similar bugs based on the user search. |
Method | show_duplicate_list | Return whether or not to show the duplicate list. |
Inherited from FileBugViewBase:
Method | __init__ | Undocumented |
Method | initialize | Undocumented |
Method | redirect_ubuntu_filebug | Undocumented |
Method | field_names | Return the list of field names to display. |
Method | default_information_type | Undocumented |
Method | initial_values | Give packagename a default value, if applicable. |
Method | contextIsProduct | Undocumented |
Method | contextIsProject | Undocumented |
Method | targetIsUbuntu | Undocumented |
Method | getPackageNameFieldCSSClass | Return the CSS class for the packagename field. |
Method | validate | Make sure the package name, if provided, exists in the distro. |
Method | setUpWidgets | Customize the onKeyPress event of the package name chooser. |
Method | setUpFields | Set up the form fields. See LaunchpadFormView . |
Method | contextUsesMalone | Does the context use Malone as its official bugtracker? |
Method | contextAllowsNewBugs | Undocumented |
Method | shouldSelectPackageName | Should the radio button to select a package be selected? |
Method | handleSubmitBugFailure | Undocumented |
Method | submit_bug_action | Add a bug to this IBugTarget. |
Method | this_is_my_bug_action | Subscribe to the bug suggested. |
Method | showFileBugForm | Override this method in base classes to show the filebug form. |
Method | inline_filebug_form_url | Return the URL to the inline filebug form. |
Method | duplicate_search_url | Return the URL to the inline duplicate search view. |
Method | publishTraverse | See IBrowserPublisher. |
Method | browserDefault | See IBrowserPublisher. |
Method | getProductOrDistroFromContext | Return the product or distribution relative to the context. |
Method | showOptionalMarker | See LaunchpadFormView . |
Method | getRelevantBugTask | Return the first bugtask from this bug that's relevant in the |
Method | getAcknowledgementMessage | An acknowlegement message displayed to the user. |
Method | extra_data_processing_job | Return the ProcessApportBlobJob for a given BLOB token. |
Method | extra_data_to_process | Return True if there is extra data to process. |
Method | bug_reporting_guidelines | Guidelines for filing bugs in the current context. |
Method | getMainContext | Undocumented |
Method | is_bug_supervisor | Return True if the logged in user is a bug supervisor. |
Inherited from LaunchpadFormView (via FileBugViewBase):
Method | render | Return the body of the response. |
Method | extendFields | Allow subclasses to extend the form fields. |
Method | help_links | Dictionary mapping field names to help links. |
Method | adapters | Provide custom adapters for use when setting up the widgets. |
Method | has_available_actions | Does the view have any available actions that will render? |
Method | addError | Add a form wide error. |
Method | getFieldError | Get the error associated with a particular field. |
Method | setFieldError | Set the error associated with a particular field. |
Static Method | validate_none | Do not do any validation. |
Method | validate_widgets | Validate the named form widgets. |
Method | error_count | Undocumented |
Method | ajax_failure_handler | Called by the form if validate() finds any errors. |
Method | validate_cancel | Noop validation in case we cancel. |
Method | focusedElementScript | Helper function to construct the script element content. |
Method | isSingleLineLayout | Undocumented |
Method | isMultiLineLayout | Undocumented |
Method | isCheckBoxLayout | Undocumented |
Method | _processNotifications | Add any notification messages to the response headers. |
Method | _abort | Abort the form edit. |
Method | _validate | Check all widgets and perform any custom validation. |
This enables better validation error handling, since the form is always used inline on the +filebug page.