[rules-users] again eval
Edson Tirelli
tirelli at post.com
Thu Oct 25 12:52:45 EDT 2007
I see nothing wrong then. Can you show me the whole rule?
[]s
Edson
2007/10/25, Markus Helbig <mhelbig81 at googlemail.com>:
>
> sorry it is:
>
> item : Item(eval(Factory.getList().contains(id)))
>
>
> 2007/10/24, Edson Tirelli <tirelli at post.com>:
> >
> > You can't bind a variable to an eval.
> >
> > []s
> > Edson
> >
> > 2007/10/24, Markus Helbig <mhelbig81 at googlemail.com>:
> > >
> > > Hi
> > >
> > > rule
> > > when
> > > item : eval(Factory.getList().contains(id))
> > > then
> > > end
> > >
> > > resolves into
> > >
> > > [10/24/07 17:50:55:636 CEST] 00000030 SystemErr R
> > > org.drools.rule.InvalidRulePackage: Rule Compilation
> > error : [Rule
> > > name=Rule1, agendaGroup=MAIN, salience=30, no-loop=false]
> > > package/Rule_Rule1_0.java (13:756) : The method eval(boolean) is
> > > undefined for the type Rule_Rule1_0
> > >
> > > what does it mean?
> > >
> > > Cheers
> > >
> > > Markus
> > > _______________________________________________
> > > rules-users mailing list
> > > rules-users at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/rules-users
> > >
> >
> >
> >
> > --
> > Edson Tirelli
> > Software Engineer - JBoss Rules Core Developer
> > Office: +55 11 3529-6000
> > Mobile: +55 11 9287-5646
> > JBoss, a division of Red Hat @ www.jboss.com
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071025/65394d31/attachment.html
More information about the rules-users
mailing list