[rules-users] LHS use of from with a static method
Mark Proctor
mproctor at codehaus.org
Thu Aug 2 08:21:29 EDT 2007
turns out for static fields there was an MVEL regression, this has been
picked up and fixed and will be part of 4.0.1 There where a number of
MVEL regressions, in both the MVEL engine and Tooling. 4.0.1 aims to fix
all of this, which will be out next week.
Mark
Heyns, Juan wrote:
>
> Hello everyone
>
>
>
> I have a rule:
>
>
>
> rule "my rule name"
>
> no-loop
>
> when
>
> Object1( $property1: property1 );
>
> Object2( testvalue == "Test String" )
> from StaticClass.aMethod($property1)
>
> then
>
> aFunction();
>
> end
>
>
>
>
>
> I cannot seem to get the StaticClass.aMethod to return anything but
> null. I have a test case for this method somewhere else and it seems
> to work fine. Is this a legal operation? Could it be that the version
> I am using (jbossrules-4.0.0.11754MR2-bin) still does not have support
> for this?
>
>
>
> Regards
>
> Juan
>
>
>
> "Employees of Lonmin Platinum ("Lonplats") are not authorised to conclude
> electronic transactions or to enter into electronic agreements on behalf
> of Lonplats. Any electronic signature (other than an advanced electronic
> signature as defined in the Electronic Communications and Transactions
> Act of 2003) added to a data message (such as an email or an attachment
> to an (email) ostensibly on behalf of Lonplats by a Lonplats employee
> shall
> not be legally binding on Lonplats and Lonplats shall incur no
> liability of
> any nature whatsoever, directly or indirectly, arising from such act
> on the
> part of it's employee. It is further recorded that nothing (other than an
> advanced electronic signature) inserted into any data message
> emanating from Lonplats shall be construed as constituting an electronic
> signature"
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070802/8264071d/attachment.html
More information about the rules-users
mailing list