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

Set the default value for macros

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • Trunk
    • 17.12.01
    • framework
    • 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

            deepak Deepak Dixit
            deepak Deepak Dixit
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: