[rules-users] activationCancelled() not being executed?

2007-08-30 Thread Fermion
Hi! I'm using a JTable to display rules that have been activated. My goal is to have the table display a set of activations ordered by their salience. The user should then choose which one of them to fire (if you want to know why, be invited to read the background). Of course this makes only

[rules-users] Execution problems with (or and (and

2007-08-30 Thread vdelbart
Hi, I have a problem with this execution : rule Your First Rule when (or not Venue() (and v:Venue() l:ListeSousVenue() p:Param())) then System.out.println(OK - 1); end rule Your Second Rule when (or not Venue() (and p:Param() l:ListeSousVenue()

[rules-users] problem with threads

2007-08-30 Thread Raffaele Viola
Hi all, I have a HashTable dawned by a thread T1, another thread T2 take this HashTable and give it to the working memory as assertion. what happens if T2 and JRools try to access to the HashTable? Can I consider the working memory as a thread and use a method synchronization to solve the

Re: [rules-users] problem with threads

2007-08-30 Thread Edson Tirelli
Raffaele, Hashtable is synchronized already, and so you will not have any problem. But answering your question, drools does not start any inner thread. It will simply use the thread calling its methods, so the default java synchronization mechanisms apply. []s Edson 2007/8/30,

Re: [rules-users] Ruleflow and Global - precision

2007-08-30 Thread Jeffrey Delong
Did you put a global declaration in the XOR Split Constraint Editor (same spot to put imports)? vdelbart wrote: Just an additionnal information of my problem : this two sentences work in a rule with the declaration of my global (Global HashMap map) : Boolean(eval((Boolean)map.get(decision)

Re: [rules-users] Ruleflow and Global - precision

2007-08-30 Thread vdelbart
Thanks for the answer, I have the snapshot 4.0.1 version and I only have a imports... button http://www.nabble.com/file/p12409258/constraint%2Beditor.jpg and in the imports textual editor the global declaration is not save : I can write the declaration :

[rules-users] package merging

2007-08-30 Thread hypnosat7
Hi, in the documentation (7.1.4.2. Package) it seems possible to merge package in the rule base, how ca I do this. (Drools 4.0.1 SNAPSHOT) -- View this message in context: http://www.nabble.com/package-merging-tf4355086.html#a12409940 Sent from the drools - user mailing list archive at

Re: [rules-users] release 4.0.1

2007-08-30 Thread Mark Proctor
no as I said 4.0.1 will not work with eclipse 3.3. [EMAIL PROTECTED] wrote: Mark, Is there any change in the 4.01 snapshot eclipse plug-in in this release? More specifically, is it compatible with eclipse 3.3? Thanks, Best Regards, Tim Nguyen

[rules-users] is there anyway to access to lower level of an attribute in LHS

2007-08-30 Thread Tim . Nguyen
Hi group, Currently I have to use eval to access to lower lever of an attribute. For example: rule test rule when $person: Person () eval (($person.getContact() != null) ($person.getContact().getEmail() == null)) then System.out.println (Email address is missing) end

[rules-users] logical chain

2007-08-30 Thread Manukyan, Sergey
Folks, Using 4.0.GA I need to have the following logical chain: Having facts F1(), F2(), F3(), F4() I need a rule to be fired when (F1() and F2()) or (F3() and F4()) condition is true, so made a rule: when (or (and F1() F2() )

Re: [rules-users] is there anyway to access to lower level of an attribute in LHS

2007-08-30 Thread Edson Tirelli
Did you tried: Person( contact != null, contact.email == null ) ? Edson 2007/8/30, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi group, Currently I have to use eval to access to lower lever of an attribute. For example: rule test rule when $person: Person ()

Re: [rules-users] logical chain

2007-08-30 Thread Edson Tirelli
Yes, this was a bug related to prefixed AND/OR CEs: http://jira.jboss.com/jira/browse/JBRULES-1149 The good news is that it is fixed and was included in the 4.0.1 released that was just uploaded to the site: http://labs.jboss.com/auth/drools/downloads.html Please, upgrade to 4.0.1 and

RE: [rules-users] logical chain

2007-08-30 Thread Manukyan, Sergey
Cool! Thanks... From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edson Tirelli Sent: Thursday, August 30, 2007 3:27 PM To: Rules Users List Subject: Re: [rules-users] logical chain Yes, this was a bug related to prefixed AND/OR CEs:

[rules-users] Help command Length in LHS

2007-08-30 Thread grupo cft ing sostware
Hello list, as I can obtain the length of a variable in LHS when v: Validaciones( fonodestino.length 7) then In this way you give me error. That do I do wrong? thanks. ___ rules-users mailing list rules-users@lists.jboss.org

RE: [rules-users] Problems During addPackageFromDrl

2007-08-30 Thread Marcos Tengelmann
Edson. As usualYou are right. The God and Evil maven transitivy dependency... http://www.auster.com.br/ Solution http://www.auster.com.br/ is our Business Marcos Tengelmann Relações Comerciais Auster Solutions do Brasil Avenida Ibirapuera 2120, cj 224

[rules-users] check duplicate

2007-08-30 Thread Tim . Nguyen
Hi List, I'd like to check if any duplicate exists in my collection as below: rule check Duplicate when ref1: Reference ($type1: referenceType, $value1: referenceValue) ref2: Reference (this != ref1, referenceType == $referenceType, referenceValue == $value1)

Re: [rules-users] Help command Length in LHS

2007-08-30 Thread Edson Tirelli
This is a limitation from MVEL (the expression language we use). At this moment, it only resolves methods that follows javabean naming conventions. As the length() method does not follow the javabean naming convention, you have to do: v : Validaciones( eval( fonodestino.length() 7 ) )

[rules-users] Will this download site be updated

2007-08-30 Thread Xiandong Su
Most new users visit here after they have heard jboss rules: http://labs.jboss.com/jbossrules/downloads Does JBoss plan to update it? Thanks Xiandong ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] Will this download site be updated

2007-08-30 Thread Fernando Meyer
Hi, Use http://labs.jboss.com/drools/downloads.html instead. Regards Fernando Meyer http://fmeyer.org [EMAIL PROTECTED] PGP: 0xD804DDFB On Aug 30, 2007, at 11:28 PM, Xiandong Su wrote: Most new users visit here after they have heard jboss rules: http:// labs.jboss.com/jbossrules/downloads