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,
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) {
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
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