[rules-users] RuntimeDroolsException

2007-08-16 Thread Raffaele Viola
Hi, I'm starting to use eclipse plug.in for JRules. I created the example JRules project in eclipse and I tried to start it as Java Application but I got this exception org.drools.RuntimeDroolsException: Unable to load dialect ' org.drools.rule.builder.dialect.java.JavaDialect:java' at

[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

[rules-users] rules name

2007-09-12 Thread Raffaele Viola
Hi all, can I set using the decision table the name of each rules? thanks Raffo ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] column in OR

2007-09-12 Thread Raffaele Viola
Hi all, how can I put two columns in OR Thanks Raffo ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] column in OR

2007-09-12 Thread Raffaele Viola
yes, but in a decision table regards Raffo 2007/9/12, Edson Tirelli [EMAIL PROTECTED]: What do you mean? rule XXX when A() or B() then // do something end ? Edson 2007/9/12, Raffaele Viola [EMAIL PROTECTED]: Hi all, how can I put two columns

[rules-users] RIGHT_PAREN

2007-09-21 Thread Raffaele Viola
Hi all, can some one help me? I don't understand why this drl package org.drools.examples.decisiontable; #generated from Decision Table import com.RuleEngine.ControlloreNodo.*; import com.RuleEngine.ControlloreNodo.OggettiControllo.Azione; import

[rules-users] assertion of object

2007-09-21 Thread Raffaele Viola
Hi all, how can I assert an object to the rules engine and be sure that for each rule fired it use s a new istance of my object?? Thanks Raffo ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] RIGHT_PAREN

2007-09-21 Thread Raffaele Viola
ok thanks ... i solved my problem using eval(statoNodo.variabiliInOR($param)); the function variabiliInOR returns a boolean variable Regards Raffo 2007/9/21, Scott Reed [EMAIL PROTECTED]: Ok, my apologies for not reading carefully. Now I see you are working from a decision table. My advice

Re: [rules-users] assertion of object

2007-09-21 Thread Raffaele Viola
No, the problem is that if I assert an object ArrayList lista and in the Condition i add a string using $param at the end of iteration I have an array with every params in the column but I want only the param in the row of my action Thanks Raffo 2007/9/21, Scott Reed [EMAIL PROTECTED]:

Fwd: [rules-users] assertion of object

2007-09-21 Thread Raffaele Viola
How can I declare a variable not global but local to every rules Thanks Raffo -- Forwarded message -- From: Raffaele Viola [EMAIL PROTECTED] Date: 21-set-2007 19.51 Subject: Re: [rules-users] assertion of object To: Rules Users List rules-users@lists.jboss.org No, the problem

Re: [rules-users] Fwd: assertion of object

2007-09-21 Thread Raffaele Viola
when a condition match call statoNodo.variabiliInOR() that add in to the list the first arg the action function add the list in the azioe with the method azione.setAzione(pio,lista); My list result is : Pisa Cagliari Pisa Cagliari package org.drools.examples.decisiontable; #generated from

[rules-users] drools cannot be resolved

2007-09-22 Thread Raffaele Viola
Hi all, why if I set in the condition eval(statoNodo.variabiliInOR(drools.getRule().getName())) I get the error drools cannot be resolved?? Thanks Raffo ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] drools cannot be resolved

2007-09-22 Thread Raffaele Viola
I have no solution Thanks Raffo 2007/9/22, Edson Tirelli [EMAIL PROTECTED]: Because the drools variable is only available in consequences. What are you trying to do? []s Edson 2007/9/22, Raffaele Viola [EMAIL PROTECTED]: Hi all, why if I set in the condition eval

[rules-users] create XML rules with XML parser

2007-11-14 Thread Raffaele Viola
Hi all, I want to create automatically the xml containing the rules using a parser like castor, which .xsd I have to use to generate the appropriate java class? Can someone give me some indications? Thanks Raffo ___ rules-users mailing list

[rules-users] BaseDescr and addOrMerge method

2007-12-17 Thread Raffaele Viola
Hi all, I'm searching for a description about the way to use the addOrMerge method in the BaseDescr interface, but in the Drools 4.0.3 API there are nothing? Can someone help me? Thanks in advance Raffo ___ rules-users mailing list