Package io.jmix.flowui.view.template
Annotation Interface DetailViewTemplate
Declares that the framework should generate a detail view for the annotated entity at runtime.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionEdited entity container id used by the template and the generated controller.Parent menu item id.Resource path to the Freemarker XML descriptor template.JSON object with additional template parameters.View id.Base view route.View title.
-
Element Details
-
path
String pathResource path to the Freemarker XML descriptor template.- Default:
"io/jmix/flowui/view/template/detail-view.ftl"
-
templateParams
String templateParamsJSON object with additional template parameters.- Default:
""
-
parentMenu
String parentMenuParent menu item id. If empty, the framework does not create a menu item.- Default:
""
-
viewId
String viewIdView id. If empty, the framework uses<entityName>.detail.- Default:
""
-
viewRoute
String viewRouteBase view route. The framework always appends/:id. If empty, the framework derives the base route fromviewId.- Default:
""
-
viewTitle
String viewTitleView title. If empty, the framework uses<entityName>.If the value starts with
msg://, it is treated as a message reference and resolved through theMessagesbean. Both the full formatmsg://group/message_idand the brief formatmsg://message_id(resolved against the entity package) are supported.- Default:
""
-
editedEntityContainerId
String editedEntityContainerIdEdited entity container id used by the template and the generated controller.- Default:
"entityDc"
-