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

Nicolas Malin edited comment on OFBIZ-13133 at 1/2/25 3:36 PM:
---------------------------------------------------------------

Happy new years too ! 

I didn't forgot to populate security.properties just forgot a commit :D , I'm 
currently work on it to be sure that I don't miss something.

I rewrited the groovy in simple method like did on screen and form.


was (Author: soledad):
Happy new years too ! 

I didn't forgot to populate security.properties just forgot a commit :D , I'm 
currently work on it to be sure that I don't miss something.

I have rewrite the groovy on simple method like did on screen and form.

> 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