... the only thing that would not be allowed is to do the binding on the this 'connective constraint', since it would make sense. Eg, Record ($invalidBinding : fieldAsString matches "[zxc]" or fieldAsInt > 0) ) , since it's kind of 'views' for the 'field' variable, while this one will work: Record ($correctBidning : field, fieldAsString matches "[zxc]" or fieldAsInt > 0) ), ie you need to bind the 'original' field, NOT the views. To think of this, it would actually be need to the <field>AsString, <field>AsInt, etc getters to be autogenerated.... Or even better - do that behind the scene depending on the context, if there is no ambiguity involved...
Vlad
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
