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

Nicolas Malin edited comment on OFBIZ-6254 at 4/17/15 12:22 PM:
----------------------------------------------------------------

{quote}
{code}
 <set field="resultMap" value="${groovy: new HashMap()}"/> 
{code}
{quote}

or more easier 

{code}
 <set field="resultMap" value="${groovy: [:]}"/> 
{code}
But it's necessary to know groovy ;)


was (Author: soledad):
{quote}
 <set field="resultMap" value="${groovy: new HashMap()}"/> 
{quote}

or more easier 

{code}
 <set field="resultMap" value="${groovy: [:]}"/> 
{code}
But it's necessary to know groovy ;)

> Minilang: type="NewMap" and type="NewList" for the Set element don't work
> -------------------------------------------------------------------------
>
>                 Key: OFBIZ-6254
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6254
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 12.04, Release Branch 13.07, Release 
> Branch 14.12, Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>              Labels: Minilang, NewList, NewMap, simple-method
>             Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
>
> In simple-methods the types "NewMap" and "NewList" for the Set element don't 
> work unless you add <<set-if-null="true">>



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

Reply via email to