You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Nicolas Malin (JIRA)" <ji...@apache.org> on 2015/04/17 14:21:58 UTC
[jira] [Commented] (OFBIZ-6254) Minilang: type="NewMap" and
type="NewList" for the Set element don't work
[ https://issues.apache.org/jira/browse/OFBIZ-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14499725#comment-14499725 ]
Nicolas Malin commented on OFBIZ-6254:
--------------------------------------
{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)