You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Nicolas Malin (Jira)" <ji...@apache.org> on 2021/09/15 10:13:00 UTC

[jira] [Closed] (OFBIZ-12319) Groovy DSL add label method

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

Nicolas Malin closed OFBIZ-12319.
---------------------------------
    Fix Version/s: Upcoming Branch
         Assignee: Nicolas Malin
       Resolution: Implemented

ok :) it's loaded on trunk

> Groovy DSL add label method
> ---------------------------
>
>                 Key: OFBIZ-12319
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12319
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>              Labels: DSL, Groovy
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-12319.patch
>
>
> I suggest to improve the groovy dsl with a simple method 'label' to resolve a uiLabel instead of use 'UtilProperty.getMessage()'
>  
> Currently :
> {code:java}
> UtilProperties.getMessage("AccountingUiLabels", "AccountingUpdatePaymentPermissionError", 'locale')){code}
> Proposal
> {code:java}
> label("AccountingUiLabels", "AccountingUpdatePaymentPermissionError"){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)