Package io.jmix.flowui.view.template
Annotation Interface ListViewTemplate
Declares that the framework should generate a list view for the annotated entity at runtime.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionLookup component 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.View route.View title.
-
Element Details
-
path
String pathResource path to the Freemarker XML descriptor template.- Default:
"io/jmix/flowui/view/template/list-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>.list.- Default:
""
-
viewRoute
String viewRouteView route. If empty, the framework derives it fromviewId.- Default:
""
-
viewTitle
String viewTitleView title. If empty, the framework uses<entityName> list.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:
""
-
lookupComponentId
String lookupComponentIdLookup component id used by the template and the generated controller.- Default:
"dataGrid"
-