Look at how to use advanced enums in Guvnor's User Guide.
sent on the move
Hi
I'm using Drools and Guvnor in our project. We have the following Data Model
(simplified):
- Object C
-> has a List
-> has a List
I need to build an easy to edit web decision table in guvnor. We need the
table to fill a dropdown list (Object B) in dependency of another dropdown
list (Object A), when for example creating a new Object C on a form. The
table should look something like this:
[Object A] [Object B]
Test A1 Test B1
Test B2
Test B3
Test A2 Test B4
Test A3 Test B5
Test B6
Test A4 Test B7
Test B8
Test B9
Test B10
...so when a User creates a new Object C (Create-Form) and select on for
example "Test A3" in a dropdown list (Object A), Drools should be firing and
result "Test B5" and "Test B6", which then can be filled in the second
dropdown list (Object B).
How can I achieve such a scenario? We have already Drools Guvnor in use and
the requirement is, to have such a table to easy edit the dependencies of
this two dropdown lists.
Some thoughts:
- Is there a way to fill Objects in a List as a Action-Column in a web
decision table?
- Is there a way to add Objects to a List (global variable) in a web
decision table?
- Is there a way to achieve this with rule templates?
- Are there other ways to achieve this?
Thanks for your help.
Kind regards,
Peter
--
View this message in context: http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-tp4022589.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
If you reply to this email, your message will be added to the discussion below:
http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-or-other-type-of-rules-tp4022589p4022590.html
To unsubscribe from Fill dependent dropdown lists based on a web decision table (or other type of rules),
click here.
NAML