Hi,<br><br>I suspect you need to add the import for java.util.List (or whatever collection your "collect" is operating on) into your package definition.<br><br>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.<br>
<br>Having the import implicit was causing a lot of other problems that were more "invisible" to the user.<br><br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 14 June 2011 10:00, Vincent LEGENDRE <span dir="ltr"><<a href="mailto:vincent.legendre@eurodecision.com">vincent.legendre@eurodecision.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all<br>
<br>
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).<br>
<br>
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 ?<br>
<br>
Does anyone has the problem ?<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>