[rules-users] java dialect and declared types

Davide Sottara dsotty at gmail.com
Thu Jan 23 10:01:53 EST 2014


Yes, if you use the java dialect, the whole RHS is parsed as a java block
with some minor syntactic sugar (e.g. "insert").

On 01/23/2014 08:46 AM, pmander wrote:
> Davide Sottara wrote
>> Declared types have public accessors as usual.
>> This seems a minor bug in the expression analysis.
>> Can you try
>>
>> getRaw().complicated()
>>
>> and / or
>>
>> raw.complicated
>>
>> and report what happens?
>> Thanks
>> Davide
> getRaw().complicated() works. This isn't just in the constraint. I use raw
> in the "then" also and it needs changing to getRaw() also.
>
> Thanks
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/java-dialect-and-declared-types-tp4027822p4027827.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> 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