You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mridul Pathak (Jira)" <ji...@apache.org> on 2026/10/13 14:18:00 UTC

[jira] [Created] (OFBIZ-13675) FtlWriter: execute every macro call through one constant template

Mridul Pathak created OFBIZ-13675:
-------------------------------------

             Summary: FtlWriter: execute every macro call through one constant template
                 Key: OFBIZ-13675
                 URL: https://issues.apache.org/jira/browse/OFBIZ-13675
             Project: OFBiz
          Issue Type: Sub-task
          Components: framework/widget
    Affects Versions: Upcoming Branch
            Reporter: Mridul Pathak
            Assignee: Mridul Pathak


{{FtlWriter}} currently builds the text {{<@name?with_args($args$name)/>}} for each macro call and compiles a new template every time, so the compiled text still depends on the macro name. Set the macro name and the arguments as environment variables and include a single compiled constant template instead, which only calls a variable that is a macro, and expose it as the one helper the screen, menu, tree and form renderers use to run a macro call. The output of the macros is unchanged.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)