[rules-users] Guvnor and drools implementation - questions

Eddy Hautot eddyhautot at gmail.com
Tue Mar 1 11:05:54 EST 2011


Thank you i will have a look to see exactly how to do.
When in the import i put import java.util.Map;  i have access to Map in the
objects in the When condition. So it's possible to have a drop-down list to
have the choice between all properties of the Map defined in a DSL file
(even dynamacally)?



2011/3/1 Vincent Legendre <vincent.legendre at eurodecision.com>

>  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)
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110301/ef0fe441/attachment.html 


More information about the rules-users mailing list