[rules-users] Guvnor and drools implementation - questions

Vincent Legendre vincent.legendre at eurodecision.com
Tue Mar 1 10:07:48 EST 2011


Le 01/03/2011 15:39, ioda100 a écrit :
> Thanks for your quick answer Esteban.
>
> 1) Ok i will have a look at DSL. In fact in my map i know all the 
> properties (about 200). It would be cool to be able to have a drop 
> down list with all these attributes as when we do it with objects for 
> which we gave Pojo to Guvnor.
You can define enumerations for a particular attribute.
Inside a DSL you can constrain a placeholder with that enumeration.
And finally, enums can be static, or dynamic (a interface to implement 
that returns a list of values).

search the Guvnor's doc in these chapters


          1.4.2.4.8. Data enumerations (drop down list configurations)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110301/c76b5889/attachment.html 


More information about the rules-users mailing list