Re: JESS: Problem with fact-slot-value

2004-10-25 Thread Félix Gómez Cordero
Thanks for your help Jason. You were right I wanted to write parent-id. The code for the deftemplate is the below one: (deftemplate class "Plantilla de una clase" (slot id (type INTEGER) (default -1)) (slot template (default class)) (slot name (type STRING)) (multislot interfaz-type) (multislot int

JESS: rete reset exception

2004-10-25 Thread bhaskar yallala
I am getting this exception while calling rete.reset() after executing the rules!       Jess reported an error in routine DefinstanceList.updateShadowFact.  Message: Object not a definstance:  ...   I over rode the hashCode method. Is this the problem?         Thanks Bhaskar    Than

JESS: execute a function of the LHS of a rule

2004-10-25 Thread Giovanni Crudele
Hi, I am pretty new to jess and I would be very happy if someone could explain: what I am trying to do is syntactically wrong or jess is not design to do the following. I have used the example of the book DimmerSwitchDynamic. I defined a new method getBrightness in the java bean DimmerSwitchDyna