Thank you i will have a look to see exactly how to do.<br>When in the import i put import java.util.Map;  i have access to Map in the objects in the When condition. So it&#39;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)?<br>

<br><br><br><div class="gmail_quote">2011/3/1 Vincent Legendre <span dir="ltr">&lt;<a href="mailto:vincent.legendre@eurodecision.com">vincent.legendre@eurodecision.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



  
    
  
  <div bgcolor="#ffffff" text="#000000">
    Le 01/03/2011 15:39, ioda100 a écrit :
    <div class="im"><blockquote 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></div>
    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&#39;s doc in these chapters<br>
    <h5><a>1.4.2.4.8. Data enumerations (drop
        down list configurations)</a></h5>
    <br>
  </div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>