[rules-users] Fill dependent dropdown lists based on a web decision table

peach_wyss peach_wyss at yahoo.com
Thu Feb 28 05:16:42 EST 2013


hy

thanks for your answer.

1) I think you have misunderstood me. I don't want this dropdown list in guvnor, we're having our dropdown list on our own form in our application. So guvnor should only provide a way to define this dependencies.

2) Where can I define an enum like this http://docs.jboss.org/drools/release/5.5.0.Final/drools-guvnor-docs/html_single/index.html#d0e1903 in the Guvnor-Webclient? When I click on Knowledge Bases > Create New > New Enumeration, I can type in something like Fact, Field and Context...which I don't understand. Is there a text view for enumerations in guvnor?

Thanks for your help.
Peter




________________________________
 From: manstis [via Drools] <ml-node+s46999n4022590h45 at n3.nabble.com>
To: peach_wyss <peach_wyss at yahoo.com> 
Sent: Tuesday, February 26, 2013 8:40 AM
Subject: Re: [rules-users] Fill dependent dropdown lists based on a web decision table
 

Look at how to use advanced enums in Guvnor's User Guide.
sent on the move
On 26 Feb 2013 07:33, "peach_wyss" <[hidden email]> wrote:

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



--
View this message in context: http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-or-other-type-of-rules-tp4022589p4022630.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130228/dea2f80d/attachment.html 


More information about the rules-users mailing list