[rules-users] Drools mvel strict type

Wolfgang Laun wolfgang.laun at gmail.com
Fri Mar 18 09:17:36 EDT 2011


The Java type of $m.segments would be - what?
-W

2011/3/18 Sébastien Raickman <sebastien.raickman at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110318/7201c1ee/attachment.html 


More information about the rules-users mailing list