[rules-users] Can set field in LHS part?

Marcus Ilgner marcus.ilgner at gmail.com
Tue May 8 10:21:31 EDT 2007


On 5/8/07, Joj <jojpm at yahoo.com> wrote:
>
> Hi,
>
> I know tht v can set value of a field in the RHS part using setter method in
> simple Java.
> Similarly, can v assign a value to a field of an object in the LHS? Is it
> feasible?
> I think no. :)
>
> Thanx
> Jojan
>

Aside from the fact that this is not possible (though you could use
eval, maybe), it sounds like a really(!) bad thing to do.
Save yourself lots of trouble and don't do it.
Please. ;)

Best regards
Marcus



More information about the rules-users mailing list