RE: JESS: JavaBean String property doesn't match on LHSpattern.

2002-12-18 Thread Alan Moore
Change your rule to: (defrule tcr2 (tc (status "fail") (OBJECT ?tc)) => (printout t "Found match for status=fail" crlf) ) Matching Strings on the lhs must be enclosed in quotes. alan -Original Message- From: Bijal Modi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18,

JESS: JavaBean String property doesn't match on LHS pattern.

2002-12-18 Thread Bijal Modi
Hello, I have a simple JavaBean class TestCase as follows: public class TestCase { private int domainID; private String status; public TestCase() { super(); } public int getDomainID() { return domainID; } public void setDomainID(int newDomainID) {

Re: JESS: facts exception

2002-12-18 Thread ejfried
I think Ruetzel, Andreas wrote: > > Executing this command: getRete().executeCommand(" (facts) ") > Throws an exception Nomethodnamed'hasMoreElements'found > What can be the cause for this? (facts) is implemented as a deffunction in jess/scriptlib.clp . The Java methods that (facts) calls hav

JESS: facts exception

2002-12-18 Thread Ruetzel, Andreas
Title: facts exception Dear Ernest, I tried to build up a GUI-Interface for Jess. I experimented a bit with the samples you gave in the online documentation. I have some questions: Executing this command: getRete().executeCommand(" (facts) ") Throws an exception Nomethodnamed'has