Part of lp.app.browser.launchpadform View In Hierarchy
Known subclasses: lp.answers.browser.faq.FAQEditView, lp.answers.browser.question.QuestionEditView, lp.blueprints.browser.specification.SpecificationEditView, lp.blueprints.browser.specification.SpecificationGoalProposeView, lp.blueprints.browser.specificationbranch.SpecificationBranchStatusView, lp.blueprints.browser.specificationsubscription.SpecificationSubscriptionEditView, lp.blueprints.browser.sprint.SprintEditView, lp.bugs.browser.bug.BugEditViewBase, lp.bugs.browser.bugbranch.BugBranchDeleteView, lp.bugs.browser.bugsubscriptionfilter.BugSubscriptionFilterEditViewBase, lp.bugs.browser.bugsupervisor.BugSupervisorEditView, lp.bugs.browser.bugtarget.OfficialBugTagsManageView, lp.bugs.browser.bugtask.BugTaskEditView, lp.bugs.browser.bugtracker.BugTrackerEditComponentView, lp.bugs.browser.bugtracker.BugTrackerEditView, lp.buildmaster.browser.builder.BuilderEditView, lp.code.browser.branch.BranchEditFormView, lp.code.browser.branch.BranchRescanView, lp.code.browser.branchmergeproposal.BranchMergeProposalMergedView, lp.code.browser.branchmergeproposal.BranchMergeProposalRequestReviewView, lp.code.browser.branchmergeproposal.BranchMergeProposalRescanView, lp.code.browser.branchmergeproposal.BranchMergeProposalScheduleUpdateDiffView, lp.code.browser.branchmergeproposal.MergeProposalEditView, lp.code.browser.branchsubscription.BranchSubscriptionEditView, lp.code.browser.gitrepository.GitRepositoryEditFormView, lp.code.browser.gitrepository.GitRepositoryRescanView, lp.code.browser.gitsubscription.GitSubscriptionEditView, lp.code.browser.sourcepackagerecipe.SourcePackageRecipeEditView, lp.registry.browser.branding.BrandingChangeView, lp.registry.browser.distribution.DistributionAdminView, lp.registry.browser.distributionmirror.DistributionMirrorEditView, lp.registry.browser.distributionmirror.DistributionMirrorResubmitView, lp.registry.browser.distributionmirror.DistributionMirrorReviewView, lp.registry.browser.distributionsourcepackage.DistributionSourcePackageEditView, lp.registry.browser.distroseries.DistroSeriesAdminView, lp.registry.browser.distroseries.DistroSeriesEditView, lp.registry.browser.driver.AppointDriverView, lp.registry.browser.karma.KarmaActionEditView, lp.registry.browser.milestone.MilestoneEditView, lp.registry.browser.person.BasePersonEditView, lp.registry.browser.person.PersonRenameFormMixin, lp.registry.browser.poll.PollEditView, lp.registry.browser.poll.PollOptionEditView, lp.registry.browser.product.ProductConfigureBase, lp.registry.browser.product.ProductEditPeopleView, lp.registry.browser.product.ProductEditView, lp.registry.browser.productrelease.ProductReleaseEditView, lp.registry.browser.productseries.ProductSeriesDeleteView, lp.registry.browser.productseries.ProductSeriesEditView, lp.registry.browser.productseries.ProductSeriesReviewView, lp.registry.browser.project.ProjectEditView, lp.registry.browser.RegistryEditFormView, lp.services.verification.browser.logintoken.ClaimTeamView, lp.services.webhooks.browser.WebhookView, lp.snappy.browser.snap.BaseSnapEditView, lp.snappy.browser.snap.SnapAuthorizeView, lp.soyuz.browser.archive.BaseArchiveEditView, lp.soyuz.browser.archivesubscription.ArchiveSubscriptionEditView, lp.soyuz.browser.distroarchseries.DistroArchSeriesAdminView, lp.soyuz.browser.livefs.BaseLiveFSEditView, lp.translations.browser.distribution.DistributionLanguagePackAdminView, lp.translations.browser.distroseries.DistroSeriesLanguagePackView, lp.translations.browser.distroseries.DistroSeriesTranslationsAdminView, lp.translations.browser.language.LanguageAdminView, lp.translations.browser.potemplate.POTemplateEditView, lp.translations.browser.productseries.LinkTranslationsBranchView, lp.translations.browser.productseries.ProductSeriesTranslationsSettingsView, lp.translations.browser.translationgroup.TranslationGroupEditView, lp.translations.browser.translator.TranslatorAdminView, lp.translations.browser.translator.TranslatorEditView
Method | updateContextFromData | Update the context object based on form data. |
Inherited from LaunchpadFormView:
Method | __init__ | Undocumented |
Method | initialize | Undocumented |
Method | render | Return the body of the response. |
Method | extendFields | Allow subclasses to extend the form fields. |
Method | setUpFields | Undocumented |
Method | setUpWidgets | Set up the widgets using the view's form fields and the context. |
Method | help_links | Dictionary mapping field names to help links. |
Method | adapters | Provide custom adapters for use when setting up the widgets. |
Method | action_url | Set the default action URL for the form. |
Method | has_available_actions | Does the view have any available actions that will render? |
Method | initial_values | Override this in your subclass if you want any widgets to have |
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 | Validate the form. |
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 | showOptionalMarker | Should the (Optional) marker be shown? |
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. |
If no context is given, the view's context is used.
If any changes were made, ObjectModifiedEvent will be emitted.
This method should be called by an action method of the form.
Returns True if there were any changes to apply.