Hi Vdelbart,
Awesome, you nailed it! Thanks!
Andy
On 9/3/07, vdelbart <delbart.v(a)mipih.fr> wrote:
Hi Andy Mei,
In your DSL file you put some parentheses. I think it's the problem. Try
with this :
> [when]There is a person with=person:Person()
> [when]-age is at least {age} years old=age >= {age}
> [when]-age is less than {age} years old=age < {age}
> [when]-must has a name=name != "" && name != null
> [when]-id must be positive integer=id > 0
Good luck,
vdelbart
--
View this message in context:
http://www.nabble.com/DSL-field-constraint-question-tf4360996.html#a12457145
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users