Re: [rules-users] How to check an array field from LHS of a rule

2010-01-02 Thread orchid
Thanks!!! I tried your code and it worked. -- View this message in context: http://n3.nabble.com/How-to-check-an-array-field-from-LHS-of-a-rule-tp104523p106929.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailin

Re: [rules-users] Nesting rules in Drools 5.x

2010-01-02 Thread orchid
Sorry, I didn't understand your answer. Greg Barton wrote: > > I think this is fixed in trunk. > > GreG > -- View this message in context: http://n3.nabble.com/Nesting-rules-in-Drools-5-x-tp106902p106928.html Sent from the Drools - User mailing list archive at Nabble.com. _

Re: [rules-users] Nesting rules in Drools 5.x

2010-01-02 Thread Greg Barton
I think this is fixed in trunk. GreG On Jan 3, 2010, at 0:56, orchid wrote: Hi All, I'm trying to nest the LHS of rules in the following way: rule "Rule_stilton" when $c : Cheese (type == "stilton") then $c.addRuleToList( "Rule_stilton" ); System.out.println("Rule_stilton w

[rules-users] Nesting rules in Drools 5.x

2010-01-02 Thread orchid
Hi All, I'm trying to nest the LHS of rules in the following way: rule "Rule_stilton" when $c : Cheese (type == "stilton") then $c.addRuleToList( "Rule_stilton" ); System.out.println("Rule_stilton was fired"); end rule "Rule_price" extends "Rule_stilton" when Che