RE: Re: [drools-user] Drool 3.0.4 Maven POM

2006-11-14 Thread Mark Emeny
Many thanks. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet Sent: 13 November 2006 16:04 To: user@drools.codehaus.org Subject: Re: [drools-user] Drool 3.0.4 Maven POM It's in the central maven repo under groupId drools

Re: [drools-user] how to deal with complicate bean?

2006-11-14 Thread weily li
Hi All, Thanks! Steven's solution works fine. Thanks Man! But when the V3.2 will be release? Now even checkout the latest codes from SVN, it still does not support from. (the Version is 3.0.2, even older than 3.0.4). Thanks Best Regards Weily Li On 11/13/06, Edson Tirelli [EMAIL PROTECTED]

Re: [drools-user] When do we use an activation-group

2006-11-14 Thread Michael Neale
I think what you are doing now is probably ideal already.agenda-group is the same as module in CLIPS/JESS terms (not sure about JRules). Activation group is a kind of unique thing: basically, of all the rules in the same activation group (ie their group has the same name) - only one will fire (in

Re: [drools-user] how record ever condtions test results(pass or nopass)

2006-11-14 Thread Mark Proctor
We haven't exposed that in 3.0 - you could try fitting that in with something like aspectj. Mark ideatopman wrote: Hi: My projects needed record ever conditions test results(pass or nopass) every rule.In drools2.1, I can use WorkingMemoryEventListener#conditionTested,but 3.0, i

Re: [drools-user] how record ever condtions test results(pass ornopass)

2006-11-14 Thread Mark Proctor
I have no plans to do this at the moment. If its important then weave in the listener with aspectj. Mark ideatopman wrote: thanks,but when doesdrools willsupportin it's plan? For me,this point is very important,so I have to waiting for this. ideatopman 2006-11-14

[drools-user] Access WorkingMemory from within rules or functions

2006-11-14 Thread Geise, Thorsten \(ext\)
Is it possible to access the working memory from within a rule or function? Example: I have two container objects that refer to another object (item). Both container have this item in a list. A rules decides to delete the item and therefore retracts it from the working memory. But I need to

Re: [drools-user] Access WorkingMemory from within rules or functions

2006-11-14 Thread Edson Tirelli
Torsten, If the container is asserted in the working memory, just add it to the rule: rule Item handling When $item : Item(uniqueId) $container: Container( values contains $item ) Then if(mustBeDeleted($item)) { retract($item);

[drools-user] Access rule name from RHS?

2006-11-14 Thread Dirk Bergstrom
Can I get access to the name of the rule from the java code on the RHS? I want to say This object triggered the rule called 'name of rule', without having to copy-n-paste the rule name into the RHS. -- Dirk Bergstrom [EMAIL PROTECTED] _

RE: [drools-user] Access WorkingMemory from within rules or functions

2006-11-14 Thread Geise, Thorsten \(ext\)
Edson, Unfortunately, I don't know all containers at design time. But your second advise works very well. Thanks, Torsten. -Original Message- From: Edson Tirelli [mailto:[EMAIL PROTECTED] Sent: Dienstag, 14. November 2006 17:18 To: user@drools.codehaus.org Subject: Re: [drools-user]

Re: [drools-user] Access rule name from RHS?

2006-11-14 Thread Edson Tirelli
You can try: then System.out.println( drools.getRule().getName() ); end []s Edson Dirk Bergstrom wrote: Can I get access to the name of the rule from the java code on the RHS? I want to say This object triggered the rule called 'name of rule', without having to copy-n-paste the