[rules-users] dialect "mvel" not working in drools template

himansu.nayak himansumca at gmail.com
Fri Oct 5 01:56:39 EDT 2012


Hi,
I am trying to use dialect "mvel" in my template and trying to use fields
defined in 
my domain object. but not of them are getting access. when i removed dialect
"mvel" then i can accss the fields using the getter's method.

ex:
package com.drools.rules;
dialect "mvel"
.
.
.
when
$admissionObj.Age() > @{Age0} &&
		 $admissionObj.Age() < @{Age1} // this line throws exception

// the same code works fine if i use getAge() instead of Age() after
removing the dialect "mvel"



-----
Thanks...
Himansu
--
View this message in context: http://drools.46999.n3.nabble.com/dialect-mvel-not-working-in-drools-template-tp4020138.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list