You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2016/06/26 08:43:33 UTC

[jira] [Created] (OFBIZ-7606) Set the default value for macros

Deepak Dixit created OFBIZ-7606:
-----------------------------------

             Summary: Set the default value for macros 
                 Key: OFBIZ-7606
                 URL: https://issues.apache.org/jira/browse/OFBIZ-7606
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Deepak Dixit


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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)