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