ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Crum <adrian.c...@sandglass-software.com>
Subject Re: NewList and NewMap keep giving warning for invalid type in simple-method
Date Wed, 12 Sep 2012 13:46:00 GMT
Yes, those values are deprecated. Mini-language supports 
auto-vivification, so you can do this:

<set field="theList[]" from="foo"/>

and a List will be created automatically if it does not already exist.

-Adrian

On 9/12/2012 2:13 PM, rshekhar.in wrote:
> Are these deprecated from ofbiz-minilang-simplemethods ?
>
> <set field="theList" type="NewList"/>
> <set field="theMap" type="NewMap"/>
>
> I keep getting a warning "Invalid type NewList Method" and "Invalid type
> NewMap Method"
>
> I am using ofbiz 12.04 trunk
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/NewList-and-NewMap-keep-giving-warning-for-invalid-type-in-simple-method-tp4636243.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.


Mime
View raw message