ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Dixit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-7606) Set the default value for macros
Date Sat, 28 Oct 2017 11:38:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-7606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16223436#comment-16223436
] 

Deepak Dixit commented on OFBIZ-7606:
-------------------------------------

Hi Aditya,

I think we can use data-mask attrribute to recognize the element instead of adding class.


> 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
>            Assignee: 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.4.14#64029)

Mime
View raw message