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 <[email protected]> > 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 > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
