<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Le 01/03/2011 15:39, ioda100 a écrit :
<blockquote
cite="mid:AANLkTi=7ap5pTmBc3Fws9-d+CAgc7Ov6sxYjTWyOZ1kX@mail.gmail.com"
type="cite"> Thanks for your quick answer Esteban.<br>
<br>
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. <br>
</blockquote>
You can define enumerations for a particular attribute. <br>
Inside a DSL you can constrain a placeholder with that enumeration.
<br>
And finally, enums can be static, or dynamic (a interface to
implement that returns a list of values).<br>
<br>
search the Guvnor's doc in these chapters<br>
<h5 class="title"><a id="d0e902">1.4.2.4.8. Data enumerations (drop
down list configurations)</a></h5>
<br>
</body>
</html>