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 200 forks source link

Refactor getTitle to prioritize title() method call over data #578

Closed acetousk closed 1 year ago

acetousk commented 1 year ago

First use the titleTemplate from the title(String) method, then if the titleText is null or empty use the notification topic's titleTemplate / errorTitleTemplate.

Calling the title method should override the data because the title method is more granular and can change the title on a case by case basis.

jonesde commented 1 year ago

Looks good, thank you