Yes ! It works with the import !
Thanks !
----- Mail original -----
De: "Michael Anstis" <michael.anstis(a)gmail.com>
À: "Rules Users List" <rules-users(a)lists.jboss.org>
Envoyé: Mardi 14 Juin 2011 12:54:17
Objet: Re: [rules-users] Guvnor 5.2 CR1 : problem with collect in guided editor
Hi,
I suspect you need to add the import for java.util.List (or whatever collection your
"collect" is operating on) into your package definition.
We did make a change between 5.2.M2 and CR1 that means you need to explicitly add the
import - which is consistent with any other class you want to use in a Rule not in your
model.
Having the import implicit was causing a lot of other problems that were more
"invisible" to the user.
With kind regards,
Mike
On 14 June 2011 10:00, Vincent LEGENDRE < vincent.legendre(a)eurodecision.com > wrote:
Hi all
We gave a try with the CR1 version, and see that all "collect" clauses appears
in grey and are not editable (such conditions are also not deletable). Everything was OK
with the M2 version (rules were edited with this version).
It is quite strange because all the "collect" condition is greyed, just like a
disabled field, and seems to be done by purpose. Is "collect" deprecated ?
Does anyone has the problem ?
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users