Hi,

I'm trying Jess in supporting Intranet-based expert system.  I'm having
some problems with the web page GUI, can someone help me with that?

Instead of writing the following rules to capture the user input using
prompt-based:

(defrule initial-rule
  =>
  (printout t "Enter your interst (computing, management, accounting,
others): ")
  (assert (Interest (read))) )


I want to have a better user-interface for capturing user input using
web-page (GUI); so, I re-write the
rule as follows:

(defrule initial-rule
  =>
  ; show/pop-up the frame and combo box, and put the combo box selection
into ?*choice*
  (show-frame)
  ; assert the ?*choice* to the fact
  (assert (Interest ?*choice*) ) )

Jess can really pop-up the frame with combo box, and allow the user to
perform the selection; but, the jess.ConsoleApplet in the browser
continue to fire another rule without wating for the frame/combo-box
selection from the user.  So, the selection done by user is being
ignored; and sometimes this will make the jess hang.

How to make jess wait for the combo-box selection to take place, before
continue fires other rules?

Can it be done without modifying the Jess source code?  That is writing
some coding in the
knowledge base to allow the GUI input to take place before fire other
rules.

Thanks!

Jimmy
25 Oct 2000


---------------------------------------------------------------------
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]
---------------------------------------------------------------------

Reply via email to