No, but in master (i.e. unreleased) if you defined dependent enumerations and one value of a parent doesn't have a dependent enumeration defined it falls back to show a widget for the underlying data-type.

For example:-

Car.fuel = ["Diesel", "Petrol"]
Car[fuel=Diesel] = ["BIO", "REGULAR"]

Selecting Car, Fuel=Diesel would show a list box for "BIO" and "REGULAR".
Selecting Car, Fuel=Petrol would show a text box.


If you use a template or decision table and leave the textbox empty the constraint will not be included in the resulting DRL.


On 21 February 2014 14:57, SrjTx <clickthex@yahoo.com> wrote:
I know that you can have one dropdown control the contents of another
dropdown, but can a dropdown control the whether another dropdown or other
{} field is displayed at all?

ie.  If you pick car, then the "bed length" dropdown would not be shown.





--
View this message in context: http://drools.46999.n3.nabble.com/6-0-1-F-Can-this-be-done-with-enumerations-tp4028233.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