I have of to miss something.
I abandoned jess52 for the benefit of jess60(trial version) as you suggested to
me. In fact, I am interested only by identifying of a fact id,and not all the
fact itself.
But the answer is always the same :
first example
--------------------------------------------------------------------------------
in my java code
...
public void fooBar(int fadctId){...}
...
in my jess code
...
(defrule foo-bar
?a <- (foo bar)
=>
(bind ?G (fetch G))
(call ?G fooBar (call ?a getFactId))
and the answer is:
message : no overloading of the method fooBar in the class ... i can use with
these arguments (call ?G fooBar (call ?a getFactId))
--------------------------------------------------------------------------------
second example:
in my java code
...
public void fooBar(Fact fadctId){...}
...
in my jess code
...
(defrule foo-bar
?a <- (foo bar)
=>
(bind ?G (fetch G))
(call ?G fooBar ?a )
and the answer is:
message : no overloading of the method fooBar in the class ... i can use with
these arguments (call ?G fooBar ?a )
So, my question is always the same : how can i get back a Fact id (or Fact) in
my java programm?
At the same opportunity,Ernest Friedman, congratulations on your work
Greetings to all!
Alain
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------