Hi,
Can you provide your object model too please?
Thanks,
Mike
On 5 July 2011 17:59, pamerida <elpamm(a)hotmail.com> wrote:
Thanks Mike,
My rule definition is (the image cause is defined with the guided editor
from Guvnor)
http://drools.46999.n3.nabble.com/file/n3141579/drools.jpg
and the result source:
rule "prueba"
dialect "mvel"
when
Cuscar( UNB.size() == 0 )
then
end
Cuscar is defined in my model and it contains an ArrayList called UNB (with
is getters and setters), Guvnor seems to recognize everything OK because it
let me select the correct options for the type ArrayList from the drop down
menu, but when i click the validate option it throws me this error:
[prueba] Unable to wire compiled classes, probably related to compilation
failures:[Error: no such identifier: UNB] [Near : {... UNB.size() ....}] ^
[Line: 1, Column: 1]
the identifier that doesnt seems to recognize is "size()", I have already
tryed this rule:
rule "prueba"
dialect "mvel"
when
Cuscar( UNB == null )
then
end
and it compiles just fine... I wonder if it has something to do with the
strict mode that I posted in my first message?...
Thanks so much for your help :)
--
View this message in context:
http://drools.46999.n3.nabble.com/Guvnor-5-2-0-Final-in-Tomcat-6-0-32-fai...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users