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/16 16:14:00 UTC

[jira] [Closed] (OFBIZ-13676) MacroMenuRenderer: pass the macro parameters as data

     [ https://issues.apache.org/jira/browse/OFBIZ-13676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mridul Pathak closed OFBIZ-13676.
---------------------------------
    Fix Version/s: Upcoming Branch
       Resolution: Fixed

> MacroMenuRenderer: pass the macro parameters as data
> ----------------------------------------------------
>
>                 Key: OFBIZ-13676
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13676
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework/widget
>    Affects Versions: Upcoming Branch
>            Reporter: Mridul Pathak
>            Assignee: Mridul Pathak
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> {{MacroMenuRenderer}} builds the text of each macro call from a parameter map and compiles it. Run the calls through the shared {{FtlWriter}} helper with the parameter map as data, pass the {{parameterList}} of {{renderLink}} as a real list of name/value maps instead of a hash literal, and use a weak map for the per-writer environments. The menu macro signatures stay as they are.



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