<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Ok, the problem here is that the documentation has gone old.</div><div><br></div><div>For example:</div><div>&nbsp; &nbsp;'Car.color' : [ 'red','blue','green']</div><div>in the new editor is&nbsp;</div><div>&nbsp; &nbsp;Fact =&gt; Car</div><div>&nbsp; &nbsp;Field =&gt; color</div><div>&nbsp; &nbsp;Context =&gt;&nbsp;'red','blue','green'</div><div><br></div><div>Toni</div><br><div><div>On Mar 1, 2013, at 9:14 AM, peach_wyss wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt">ok thanks, all is much clearer now...<br><br>What I don't understand:<br>- When I see examples of enumerations in guvnor like:<br>'Car.color' : ['red', 'blue','green']<br><br>-&gt; In all of this examples, there seems to be a text editor in guvnor. But when I create a new enumeration in guvnor (5.5. final), there isn't a text editor. What I see are three text-fields ("Fact", "Field", 'Context'), which I don't understand. Is there a way, to switch to the text editor view?<br><br>Sorry, maybe this is a stupid question, but couldn't really find a description of this in the web.<br><br>Thanks for your help.<br><br>Kind regards,<br>Peter<br><div><span><br></span></div><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="x-msg://184/user/SendEmail.jtp?type=node&amp;node=4022649&amp;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="x-msg://184/user/SendEmail.jtp?type=node&amp;node=4022649&amp;i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, February 28, 2013 1:58 PM<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="yiv1632104462">

        Did you read the "Advanced" section?<br><br>This talks about how you can use an external source of data for enumerations in Guvnor.<br><br>I thought this is what you wanted?<br><br><div class="yiv1632104462gmail_quote">On 28 February 2013 10:16, peach_wyss <span dir="ltr">&lt;<a href="x-msg://184/" rel="nofollow" target="_top" link="external">[hidden email]</a>&gt;</span> wrote:<br>
<blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" class="yiv1632104462gmail_quote"><div style="font-size:10pt;font-family:verdana, helvetica, sans-serif;">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 <a href="http://docs.jboss.org/drools/release/5.5.0.Final/drools-guvnor-docs/html_single/index.html#d0e1903">http://docs.jboss.org/drools/release/5.5.0.Final/drools-guvnor-docs/html_single/index.html#d0e1903</a> 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"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> manstis [via Drools] &lt;<a rel="nofollow" target="_blank" href="http://user/SendEmail.jtp?type=node&amp;node=4022630&amp;i=0" link="external">[hidden email]</a>&gt;<br>
 <b><span style="font-weight:bold;">To:</span></b> peach_wyss &lt;<a rel="nofollow" target="_blank" href="http://user/SendEmail.jtp?type=node&amp;node=4022630&amp;i=1" 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><div class="yiv1632104462im">

        <div>Look at how to use advanced enums in Guvnor's User Guide.</div>
<div>sent on the move</div>
</div><div><div class="yiv1632104462h5"><div>On 26 Feb 2013 07:33, "peach_wyss" &lt;<a href="x-msg://184/" rel="nofollow" target="_top" link="external">[hidden email]</a>&gt; wrote:<br></div></div></div><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em">
<div><div class="yiv1632104462h5">
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: <a href="http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-tp4022589.html">http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-tp4022589.html</a><br>


Sent from the Drools: User forum mailing list archive at <a rel="nofollow" target="_blank" href="http://nabble.com/" link="external">Nabble.com</a>.<br>
_______________________________________________<br>
rules-users mailing list<br>
</div></div><a href="x-msg://184/" 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="x-msg://184/" 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>
                <a href="http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-or-other-type-of-rules-tp4022589p4022590.html">http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-or-other-type-of-rules-tp4022589p4022590.html</a>
        </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 href="x-msg://184/" rel="nofollow" target="_top" 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 rel="nofollow" target="_blank" href="http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-or-other-type-of-rules-tp4022589p4022630.html" link="external">Re: [rules-users] Fill dependent dropdown lists based on a web decision table</a><div class="yiv1632104462HOEnZb">
<div class="yiv1632104462h5"><br>
Sent from the <a rel="nofollow" target="_blank" href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html" link="external">Drools: User forum mailing list archive</a> at <a href="http://Nabble.com">Nabble.com</a>.<br></div></div><br>_______________________________________________<br>

rules-users mailing list<br>
<a href="x-msg://184/" 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></div><br>
<br>_______________________________________________
<br>rules-users mailing list
<br><a href="x-msg://184/" 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>
                <a href="http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-or-other-type-of-rules-tp4022589p4022633.html">http://drools.46999.n3.nabble.com/Fill-dependent-dropdown-lists-based-on-a-web-decision-table-or-other-type-of-rules-tp4022589p4022633.html</a>
        </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="x-msg://184/" 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-tp4022589p4022649.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 <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users</blockquote></div><br></body></html>