Re: [rules-users] Fwd: Re: Guvnor - expected value of a list

2012-02-15 Thread Toni Rikkola
Looks like a bug. I made a Jira for it. https://issues.jboss.org/browse/GUVNOR-1830 Toni On Feb 15, 2012, at 10:45 AM, Péter Gombás wrote: > Hello, > > its a simple pojo: > > package com.gp; > > > import java.util.ArrayList; > import java.util.List; > > public class ClassB > { >List i

Re: [rules-users] Fwd: Re: Guvnor - expected value of a list

2012-02-15 Thread Péter Gombás
Hello, its a simple pojo: package com.gp; import java.util.ArrayList; import java.util.List; public class ClassB { List items = new ArrayList(); public void add(String s, int faktor) { for (int i = 0; i < faktor; i++) { items.add(s); } }

Re: [rules-users] Fwd: Re: Guvnor - expected value of a list

2012-02-15 Thread Toni Rikkola
In the summary: "...was [[test1,test1]] expected [[test1,test1]]" Looks like it should work. Can you tell me more about ClassB. Is it a pojo or declared model and is the field "items" a collection and what kind of? Thanks Toni On Feb 15, 2012, at 10:07 AM, Péter Gombás wrote: > Hi, > > still n

Re: [rules-users] Fwd: Re: Guvnor - expected value of a list

2012-02-14 Thread Toni Rikkola
Try =[test1,test1] Toni On Feb 15, 2012, at 9:47 AM, Michael Anstis wrote: > > sent on the move > > -- Forwarded message -- > From: "Péter Gombás" > Date: 15 Feb 2012 07:40 > Subject: Re: [rules-users] Guvnor - expected value of a list > To: > > Hello Michael, > > yes, it i