<div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt">hy<br><br>thanks for your answer.<br><br>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.<br><br>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 &gt; Create New &gt; 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?<br><br>Thanks for your help.<br>Peter<br><br><div><br></div>  <div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;">
 <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> manstis [via Drools] &lt;<a href="/user/SendEmail.jtp?type=node&node=4022630&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;<br> <b><span style="font-weight: bold;">To:</span></b> peach_wyss &lt;<a href="/user/SendEmail.jtp?type=node&node=4022630&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, February 26, 2013 8:40 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [rules-users] Fill dependent dropdown lists based on a web decision table<br> </font> </div> <br>
<div id="yiv621218571">

        <div>Look at how to use advanced enums in Guvnor's User Guide.</div>
<div>sent on the move</div>
<div>On 26 Feb 2013 07:33, "peach_wyss" &lt;<a href="" rel="nofollow" target="_top" link="external">[hidden email]</a>&gt; wrote:<br></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #CCCCCC;padding:0 1em;" class="yiv621218571gmail_quote">
Hi<br>
<br>
I'm using Drools and Guvnor in our project. We have the following Data Model<br>
(simplified):<br>
- Object C<br>
-&gt; has a List<br>
-&gt; has a List<br>
<br>
I need to build an easy to edit web decision table in guvnor. We need the<br>
table to fill a dropdown list (Object B) in dependency of another dropdown<br>
list (Object A), when for example creating a new Object C on a form. The<br>
table should look something like this:<br>
<br>
[Object A] [Object B]<br>
<br>
Test A1 &nbsp; &nbsp; Test B1<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Test B2<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Test B3<br>
<br>
Test A2 &nbsp; &nbsp; Test B4<br>
<br>
Test A3 &nbsp; &nbsp; Test B5<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Test B6<br>
<br>
Test A4 &nbsp; &nbsp; Test B7<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Test B8<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Test B9<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Test B10<br>
<br>
...so when a User creates a new Object C (Create-Form) and select on for<br>
example "Test A3" in a dropdown list (Object A), Drools should be firing and<br>
result "Test B5" and "Test B6", which then can be filled in the second<br>
dropdown list (Object B).<br>
<br>
How can I achieve such a scenario? We have already Drools Guvnor in use and<br>
the requirement is, to have such a table to easy edit the dependencies of<br>
this two dropdown lists.<br>
<br>
Some thoughts:<br>
- Is there a way to fill Objects in a List as a Action-Column in a web<br>
decision table?<br>
- Is there a way to add Objects to a List (global variable) in a web<br>
decision table?<br>
- Is there a way to achieve this with rule templates?<br>
- Are there other ways to achieve this?<br>
<br>
Thanks for your help.<br>
<br>
Kind regards,<br>
Peter<br>
<br>
<br>
<br>
--<br>
View this message in context: http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-tp4022589.html<br>

Sent from the Drools: User forum mailing list archive at <a target="_blank" href="http://nabble.com/" rel="nofollow" link="external">Nabble.com</a>.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="" rel="nofollow" target="_top" link="external">[hidden email]</a><br>
<a rel="nofollow" target="_blank" href="https://lists.jboss.org/mailman/listinfo/rules-users" link="external">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote>
<br>_______________________________________________
<br>rules-users mailing list
<br><a href="" rel="nofollow" target="_top" link="external">[hidden email]</a>
<br><a rel="nofollow" target="_blank" href="https://lists.jboss.org/mailman/listinfo/rules-users" link="external">https://lists.jboss.org/mailman/listinfo/rules-users</a>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade="" size="1">
        <div style="color:#444;font:12px tahoma, geneva, helvetica, arial, sans-serif;">
                <div style="font-weight:bold;">If you reply to this email, your message will be added to the discussion below:</div>
                http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-or-other-type-of-rules-tp4022589p4022590.html
        </div>
        <div style="color:#666;font:11px tahoma, geneva, helvetica, arial, sans-serif;margin-top:.4em;line-height:1.5em;">
                
                To unsubscribe from Fill dependent dropdown lists based on a web decision table (or other type of rules), <a rel="nofollow" target="_blank" href="" link="external">click here</a>.<br>
                <a rel="nofollow" target="_blank" href="http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font:9px serif;" link="external">NAML</a>
        </div></div><br><br> </div> </div>  </div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-or-other-type-of-rules-tp4022589p4022630.html">Re: [rules-users] Fill dependent dropdown lists based on a web decision table</a><br/>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html">Drools: User forum mailing list archive</a> at Nabble.com.<br/>