Unfortunately this is not possible. Dependent enumerations at present work only on a single line.
On 21 January 2013 16:26, rjr201 <[email protected]> wrote: > Hi, > > I'm creating a DSL with dropdown boxes that are populated by enumerations. > I > have so far had success in making one drop down box dependent on the value > of another dropdown box on the same [when] line: > > [when]For every {objectType:ENUM:Object.type} with > {attribute:ENUM:Object.attribute} equal to {value:ENUM:Object.value} = > {objectType}({attribute} == "{value}") > > In the above example whatever value is chosen for objectType will dictate > the values in the attribute dropdown which in turn dictates the values in > the Value dropdown. > > My question is this: Is it possible to have a dropdown box reliant on the > value of a dropdown box on a /different / line of the rule? > > I've tried a few different ways but am having no luck. > > Thanks for any help anyone can give me on this. > Rich. > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/DSL-Enumerations-tp4021696.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
