gt;>> when
> >>>
> >>>def0: EmParamDefinition(paramName == "p2", listIndex == -1)
> >>>EmParamValue(paramDefinitionId == def0, requiredValue == 1)
> >>>$param : EmParamValue(id == 1, enabled == false)
> >>&
= false)
>>>not ParentDisabled(id == 1)
>>> then
>>>$param.setEnabled(true);
>>>update($param);
>>> end
>>>
>>> Thomas
>>>
>>> -----Original Message-----
>>> From: rules-users-boun...@lis
($param);
>> end
>>
>> Thomas
>>
>> -Original Message-
>> From: rules-users-boun...@lists.jboss.org [mailto:rules-users-
>> boun...@lists.jboss.org] On Behalf Of Waclaw Borowiec
>> Sent: 05 October 2011 10:55
>> To: rules-users@lists
ate($param);
> end
>
> Thomas
>
> -Original Message-
> From: rules-users-boun...@lists.jboss.org [mailto:rules-users-
> boun...@lists.jboss.org] On Behalf Of Waclaw Borowiec
> Sent: 05 October 2011 10:55
> To: rules-users@lists.jboss.org
> Subject: [rules-use
omas
-Original Message-
From: rules-users-boun...@lists.jboss.org [mailto:rules-users-
boun...@lists.jboss.org] On Behalf Of Waclaw Borowiec
Sent: 05 October 2011 10:55
To: rules-users@lists.jboss.org
Subject: [rules-users] Compilation errors with 5.3.0.CR1
Hello
I'm sending
On 5 October 2011 13:27, Wolfgang Laun wrote:
> Snags like this are due to a completer rework of the DRL parser after
5.1.1.
Snags like this are due to a *complete compiler* rework of the DRL parser
after 5.1.1.
___
rules-users mailing list
rules-users
For the sake of our readers, I repeat the rule:
rule "enabled paramId: 1, id: 0"
salience 50
when
(def0: EmParamDefinition(paramName == "p2", listIndex == -1) and
EmParamValue(paramDefinitionId == def0, requiredValue == 1))
$param : EmParamValue(id == 1, enabled == false)
not ParentDis
; Sent: 05 October 2011 10:55
> To: rules-users@lists.jboss.org
> Subject: [rules-users] Compilation errors with 5.3.0.CR1
>
> Hello
>
> I'm sending the message once again due to problems with code samples
> visibility in the previous one.
>
> I've got followin
Hello
I'm sending the message once again due to problems with code samples
visibility in the previous one.
I've got following rule:
rule "enabled paramId: 1, id: 0"
salience 50
when
(def0: EmParamDefinition(paramName == "p2", listIndex == -1) and
EmParamValue(paramDefinitionId == def0, re
Hello
I've got following rule:
It compiles fine under Drools 5.1.1, but after switching to 5.3.0.CR1 I get
following exception:
It is
line that causes the problem - the exeption disappears after removing it.
What's interesting, when I add '$' sign to binding variable name, and the
line
10 matches
Mail list logo