Unfortunately this is not possible.<br><br>Dependent enumerations at present work only on a single line.<br><br><div class="gmail_quote">On 21 January 2013 16:26, rjr201 <span dir="ltr">&lt;<a href="mailto:rich.j.riley@gmail.com" target="_blank">rich.j.riley@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I&#39;m creating a DSL with dropdown boxes that are populated by enumerations. I<br>
have so far had success in making one drop down box dependent on the value<br>
of another dropdown box on the same [when] line:<br>
<br>
[when]For every {objectType:ENUM:Object.type} with<br>
{attribute:ENUM:Object.attribute} equal to {value:ENUM:Object.value} =<br>
{objectType}({attribute} == &quot;{value}&quot;)<br>
<br>
In the above example whatever value is chosen for objectType will dictate<br>
the values in the attribute dropdown which in turn dictates the values in<br>
the Value dropdown.<br>
<br>
My question is this: Is it possible to have a dropdown box reliant on the<br>
value of a dropdown box on a /different / line of the rule?<br>
<br>
I&#39;ve tried a few different ways but am having no luck.<br>
<br>
Thanks for any help anyone can give me on this.<br>
Rich.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/DSL-Enumerations-tp4021696.html" target="_blank">http://drools.46999.n3.nabble.com/DSL-Enumerations-tp4021696.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>