[rules-users] Problem in using genrics with drools4.0.1.

2007-10-08 Thread Gaurav2007
HI ALL, I am using drool 4.0.1 in my project. I am facing problem in using generics feature of jdk1.5. My objective is to perform validation on the basis of data type of variable. for storing values of variable i have one Attribute Class it contains getter setter for values of attribute and

[rules-users] Problem in using or operator with values in map.

2007-09-18 Thread Gaurav2007
Hi All, I am using drool 4.0.1,I am facing some problem in using or operator i am using 2 maps by inserting in to working memory: 1) ErrorMapString,String 2) validationmapString,Object my requirment is to generate error when rule fails for this i am taking following steps: 1) i insert one

[rules-users] how to perform some task when rule fails.

2007-09-18 Thread Gaurav2007
Hi All, My requirment is that i want to send corresponding error when any rule fails. for example: rule ValidationRuleExp_G250.4_0 when IValidationField(attributeId ==G250.4) (((Map( this[G250.18] !=4))(Map( this[G250.4]not in(910,990,983,995,996,997||((Map( this[G250.18] ==4))(Map(

[rules-users] How to use not operator in drool.

2007-09-12 Thread Gaurav2007
Hi ALL, I am using drool4.0.1 in my application i am able to use IN,OR,AND operator but i am facing problem in using not operator. my requirement of not operator is just like a not gate. the way i am using it is : eval(not((Map( this[city] !=mumbai))||(Map( this[city] ==delhi so can you

[rules-users] probliem in using in and not in operator in drool file.

2007-09-11 Thread Gaurav2007
Hi All, I am using drool4.0.1 in my application, I have one map in global memory this map contains mapping of id and value,i want to validate these values. but when i am using in and not in rule like: eval(validatorMap.get(name) not in(amit,siddhartha)) where validatorMap is a map of id and

Re: [rules-users] Usage of Drools in a RCP project

2007-09-05 Thread Gaurav2007
i am also working in same technology i am not able to use service of one plug-in from another in following cases : 1) export the required package of dependent plug-in, 2) add all the required jars in classpath from runtime tab of mainfest.mf file of your plugin. 3) in run time configuration of

[rules-users] how to generate rool.drl file from regular expression in excel sheet.

2007-09-05 Thread Gaurav2007
Hi All, I am using drool4.0.1 right now i am writing rool.drl file from the regular expression in excel sheet but now i want to automate this process. can you help me what is the right way to do this automation. Thanks, Gaurav -- View this message in context: