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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users