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

Nicolas Malin closed OFBIZ-13133.
---------------------------------
    Fix Version/s: 24.09.01
       Resolution: Done

Thanks Charles,

your work was commit on trunk and next stable

> Allow to use GroovyDsl in FlexibleStringExpander
> ------------------------------------------------
>
>                 Key: OFBIZ-13133
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13133
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Upcoming Branch
>            Reporter: Charles STELTZLEN
>            Assignee: Nicolas Malin
>            Priority: Minor
>             Fix For: Upcoming Branch, 24.09.01
>
>         Attachments: exemple_of_usage.png
>
>
> It will allow to call a GroovyDSL method (label, from, run service ...) 
> directly instead of calling the Java class in flexible string expander.
>  
> The standard syntax like the first line can be replaced by the second one 
> (from MrpScreens.xml line 64): 
> <set field="eventMessage" value="${groovy: 
> org.apache.ofbiz.base.util.UtilProperties.getMessage('ManufacturingUiLabels', 
> 'ManufacturingMrpRunScheduledSuccessfully', locale)}"/>
>  
> <set field="eventMessage" value="${groovy: 
> label('ManufacturingUiLabels','ManufacturingMrpRunScheduledSuccessfully')}"/>



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to