$m.segments is java.util.List<String>
I want to evaluate one of the String (the first of the List)
How should I do it?
Thanks
The Java type of $m.segments would be - what?
-W2011/3/18 Sébastien Raickman <sebastien.raickman@gmail.com>
_______________________________________________Hi all,
Do someone knows how to disable strict type from the rule itself?
Or the way to cast segments in (String []) in the following rule:
dialect "mvel"
when
$m : Parent();
$mess : Message() from $m.message;
$seg : String[]() from $m.segments;
my error at deployment of drools-server is :
unqualified type in strict mode for: segments]
Thanks in advance
Seb
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users