Hi,

in a Java bean I want to use a ValueVector instead of an array in order 
to have a dynamic data structure. There is a getter and setter and 
indexed getter to access the ValueVector. I tried to return a) the 
ValueVector directly in the getter or b) the ValueVector in a Value with 
type RU.LIST. In both cases I can access (get and set) the slot from 
Jess but when I use it in the match part of a rule I get an error

"<slot> is not a multislot."

I do the same thing with a normal Value, so returning a Value from the 
Java bean instead of a int or other native Java type and that works fine 
when used in rules in the match part.

In the case of the multislot it works fine when returning a int[] but I 
don't want that because I have to fill the array from the ValueVector 
which is unnecessary and extra time spent.

So how can I return my ValueVector directly and make Jess recognize it 
as multislot?
Is there a way to make a small fix in Jess 6.1a3 that can make this work 
as expected?


Thanks for your help, Peter


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