I am having the same problem as Stephane does.
It's pretty bad if I need to hard code the 'or' constraint within a single
DSL constraint. I guess I could split a complex OR constraint to multiple
rules with the same consequences, it just an ugly hack. Also, how does this
work if we need a Or
All,
This is a limitation of the current DSL engine implementation. The
problem is not really the or, but the - implementation. The LHS and RHS
of a DSL rule are processed line by line, so, to allow the behavior you are
requesting, we will need to implement some look ahead mechanism with
Ok, i took the liberty and created a ticket for this.
http://jira.jboss.com/jira/browse/JBRULES-1186
On 9/12/07, Edson Tirelli [EMAIL PROTECTED] wrote:
All,
This is a limitation of the current DSL engine implementation. The
problem is not really the or, but the - implementation. The
Hi Vincent,
Thanks for your answer but I would really like to use my synthax.
I need to write or between 2 constraints and not in a single
complex constraint.
If someone else could help me ...
DELBART Vincent [EMAIL PROTECTED] a écrit :
Hello Stephane,
I think it's difficult to do