RE: [rules-users] Keep getting error trying to access value in hash map.

2009-04-11 Thread Alessandro Terrinoni
[primaryKey] drools looks for a getter method getValues in the object codes trying to return a field called values. try to replace target.codes.values[primaryKey] with target.codes.get(primaryKey) Alessandro Terrinoni Here is the error: Caused by: javax.el.ELException: /layout/test.xhtml

RE: [rules-users] Explicit class cast in RHS

2009-04-09 Thread Alessandro Terrinoni
To: rules-users@lists.jboss.org rule abc when Foo($prop : prop) TypeA (this == $prop, name == PropertyA) then ... 2009/4/8 Alessandro Terrinoni aleterrin...@hotmail.com Hello in my working memory I insert an object like this public class Foo{ private IntType prop; ... } where

[rules-users] Ruleflow loop until condition

2009-04-08 Thread Alessandro Terrinoni
, then queryResult group, then fasullo group, but after that it freezes, instead of going angain in group modParams. Note that it doesnt finish the execution, it waits something. What is wrong with this ruleflow? thanks in advance, Alessandro Terrinoni

[rules-users] Explicit class cast in RHS

2009-04-08 Thread Alessandro Terrinoni
Foo(p : prop, p.name == propertyA) then // call some method defined only in the TypeA class end how do i explicitly cast p into a TypeA object to call the method defined only in that class? thanks in advance, Alessandro Terrinoni