[rules-users] Guvnor 5.5.0.Final Web decision table's advanced enum is not working.

Soumya.plavaga soumya.bose at plavaga.in
Mon Aug 26 05:17:48 EDT 2013


Hi, 

We are trying to use the advanced enumeration with guvnor 5.5.0.Final. But
seems not working for us. We are doing this - 

Having model cascadedModel. CascadedModel has following fields - 
1. categoryField (Type Text) 
2. departmentField. (Type Text) 

Cascaded model has a fact called - 
cascadedFact. 

Created an enum called cascadedEnum having following - 

Fact => 'cascadedFact' 
Field => 'categoryField' 
Context => '(new
com.ugamsolutions.projectname.guvnorhelper.CategoryListing()).getAttributeListByName("categoryName")' 

Fact => 'cascadedFact' 
Field => departmentField[categoryField] 
Context => '(new
com.ugamsolutions.projectname.guvnorhelper.DepartmentListing()).getAttributeListByNameAndCategoryIdString("departmentName","@{categoryField}")' 

And using these two enums in a web decision table's drop down. First drop
down suppose to display all the categories returned for 'categoryField' and
second dropdown will return the departments based upon category dropdown
selection. 

Here my case Category drop down is listing properly, no issues. But upon
category selection department dropdown is not loading at all. Actually I can
see '{@categoryField} in enum is not replacing the primary drop down's
selected value. Can you please take a look and let me know if there is any
issue with the advanced dropdown with web decision table in guvnor
5.5.0.Final war? 

Any help will be really appriciated. 

Many Thanks, 

Soumya



--
View this message in context: http://drools.46999.n3.nabble.com/Guvnor-5-5-0-Final-Web-decision-table-s-advanced-enum-is-not-working-tp4025675.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list