[rules-users] Object parameter
Mark Proctor
mproctor at codehaus.org
Fri Apr 13 10:45:24 EDT 2007
we obey the javabean spec for field names, see BeanIntrospector for more
details.
Mark
Scott Reed wrote:
> Anstis, Michael (M.)'s message received 4/13/2007 6:20 AM:
>> You need to change your rule:-
>>
>> rule "userrole"
>> when
>> user1: BnUserValue(name : name, creationDate : creationDate)
>> and
>> ActiviteOut : BnNodeValue( BnRole: *_b_*nRole )
>> and lien: BnEdgeValue(id : id)
>> then
>> System.out.println("oui ça marche");
>> end
>
> This is a work-around for a bug, right? Or does Drools intentionally
> require that references to fields start with a lower case letter? If
> that's the case, I would consider it a conceptual bug to require field
> references to conform to any coding standard.
>
> Scott
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
More information about the rules-users
mailing list