[rules-users] Guvnor - Loading enums programatically using rule metadata
dotrc
rishi.choudhary at gmail.com
Mon Aug 26 01:07:58 EDT 2013
Hi,
We are using drools-guvnor-5.5.0-final. The below snippet is still not
working for us:
/'Fact.field[dependentField1, dependentField2]' : *'*(new
com.yourco.DataHelper()).getListOfAges("@{dependentField1}",
"@{dependentField2}")*'*/
The decision table completely vanishes if we have the quotes around (new
com.yourco.DataHelper()).getListOfAges("@{dependentField1}",
"@{dependentField2}"). If we remove the quote, then @{dependentField1} is
passed as is to the backend code of Guvnor as is (without the actual value
of variable from front end) and result in a blank table column in UI that
can not be clicked.
/'Fact.field' : (new com.yourco.DataHelper()).getListOfAges()/
works perfectly fine.
Any help will be really appreciated.
Thanks,
./.rc
--
View this message in context: http://drools.46999.n3.nabble.com/rules-users-Guvnor-Loading-enums-programatically-using-rule-metadata-tp3411047p4025673.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list