The spaces in your secondary definition might not help.

Try

'MyBean.listType' : ['List', 'Regex']
'MyBean.val[listType=List]' : ['a','b']
'MyBean.val[listType=Regex]' : ['c','d']


On 25 February 2014 15:35, SrjTx <clickthex@yahoo.com> wrote:
I am trying to do the dependent enumerations as covered in 16.10.1. Advanced
enumeration concepts

I set this up just like the example, and have tried a number of things to
get it to work, but now luck.

This works fine:

'MyBean.listType' : ['List', 'Regex']
'MyBean.val' : ['a','b']


This results in the val dropdown being grayed out.
This seems to follow the example in 16.10.1, but I must be missing something
subtle

'MyBean.listType' : ['List', 'Regex']
'MyBean.val[listType = List]' : ['a','b']
'MyBean.val[listType = Regex]' : ['c','d']

No errors, validation warnings, etc. are produced on the gui or in the jboss
log.



--
View this message in context: http://drools.46999.n3.nabble.com/6-0-1-F-Do-dependent-enumerations-work-as-in-docs-16-10-1-tp4028305.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users