Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7606

Set the default value for macros

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: Trunk
    • Fix Version/s: 17.12.01
    • Component/s: framework
    • Labels:
      None

      Description

      Need to set the default value for all the macros, so that at the time of calling we don't need to pass all the parameters. As per current implementation we have to pass all the parameters with as empty value. We have support in freemarker to set the default in macros.

      This pattern has been used in htmlTemplate.lookupField macro.

        Attachments

          Activity

            People

            • Assignee:
              deepak.dixit Deepak Dixit
              Reporter:
              deepak.dixit Deepak Dixit
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: