moqui / moqui-framework

Use Moqui Framework to build enterprise applications based on Java. It includes tools for databases (relational, graph, document), local and web services, web and other UI with screens and forms, security, file/resource access, scripts, templates, l10n, caching, logging, search, rules, workflow, multi-instance, and integration.
http://www.moqui.org
Other
279 stars 199 forks source link

Add subscreensItem.menuInclude to menu data #600

Closed hellozhangwei closed 1 year ago

hellozhangwei commented 1 year ago

Think we have following screen structure.

Example.xml
    -- FindExampleAaa.xml (with default-menu-include="true")
    -- FindExampleBbb.xml (with default-menu-include="true")
    -- FindExampleCcc.xml (with default-menu-include="true")
    -- EditExample.xml (with default-menu-include="false")

in this case, if I am on EditExample screen. the EditExample will be included in the menu. I dont want this. So I think we should return subscreensItem.menuInclude in menu data and check subscreensItem.menuInclude in the WebrootVue.qvt.ftl WebrootVue.qvt.ftl