<div dir="ltr">The spaces in your secondary definition might not help.<div><br>Try</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">&#39;MyBean.listType&#39; : [&#39;List&#39;, &#39;Regex&#39;]</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">&#39;MyBean.val[listType=List]&#39; : [&#39;a&#39;,&#39;b&#39;]</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">&#39;MyBean.val[listType=Regex]&#39; : [&#39;c&#39;,&#39;d&#39;]</span><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 25 February 2014 15:35, SrjTx <span dir="ltr">&lt;<a href="mailto:clickthex@yahoo.com" target="_blank">clickthex@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am trying to do the dependent enumerations as covered in 16.10.1. Advanced<br>
enumeration concepts<br>
<br>
I set this up just like the example, and have tried a number of things to<br>
get it to work, but now luck.<br>
<br>
This works fine:<br>
<br>
&#39;MyBean.listType&#39; : [&#39;List&#39;, &#39;Regex&#39;]<br>
&#39;MyBean.val&#39; : [&#39;a&#39;,&#39;b&#39;]<br>
<br>
<br>
This results in the val dropdown being grayed out.<br>
This seems to follow the example in 16.10.1, but I must be missing something<br>
subtle<br>
<br>
&#39;MyBean.listType&#39; : [&#39;List&#39;, &#39;Regex&#39;]<br>
&#39;MyBean.val[listType = List]&#39; : [&#39;a&#39;,&#39;b&#39;]<br>
&#39;MyBean.val[listType = Regex]&#39; : [&#39;c&#39;,&#39;d&#39;]<br>
<br>
No errors, validation warnings, etc. are produced on the gui or in the jboss<br>
log.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/6-0-1-F-Do-dependent-enumerations-work-as-in-docs-16-10-1-tp4028305.html" target="_blank">http://drools.46999.n3.nabble.com/6-0-1-F-Do-dependent-enumerations-work-as-in-docs-16-10-1-tp4028305.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></div>