Class DynamicViewModelDetailView

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<ViewLayout>
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, com.vaadin.flow.router.AfterNavigationObserver, com.vaadin.flow.router.BeforeEnterObserver, com.vaadin.flow.router.BeforeLeaveObserver, com.vaadin.flow.router.HasDynamicTitle, com.vaadin.flow.router.internal.AfterNavigationHandler, com.vaadin.flow.router.internal.BeforeEnterHandler, com.vaadin.flow.router.internal.BeforeLeaveHandler, FacetOwner, FragmentOwner, ChangeTracker, DetailView<DynamicViewModel>, HasEditedEntity<DynamicViewModel>, ReadOnlyAwareView, ReadOnlyTracker, SupportEntityLock<DynamicViewModel>, Serializable

@DialogMode(width="800px", height="600px", resizable=true) @ViewController(id="dynmod_View.detail") @ViewDescriptor(path="dynamic-view-model-detail-view.xml") public class DynamicViewModelDetailView extends StandardDetailView<DynamicViewModel>
Editor for DynamicViewModel, an entity-owned view declaration. The set of editable fields depends on whether the owning entity is dynamic or a static-entity extension (see the YAML schema in doc/features/dynamic-model/yaml-configuration.md):
  • Dynamic entity views expose every field.
  • Static entity overrides expose only viewId and a source-only descriptor.

The dialog is split into three tabs: General (type, id, route, title, component ids, roles), Descriptor (template + template parameters, or XML source — gated by a mode radio), and Menu (an "enabled" toggle and the menu item form). Descriptor and menu fields are edited inline against nested data containers instead of opening separate detail dialogs.

Ownership is resolved best-effort from the parent entity name via metadata; see resolveStaticExtension().

See Also: