<div dir="ltr"><br><br>&nbsp;&nbsp; If you make your map available through a get, you can use simplified Map syntax like this:<br><br>public Map getStringParameters() {<br><div dir="ltr">
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return stringParameter;<br>&nbsp;&nbsp;&nbsp; }</div><br>&nbsp;&nbsp;&nbsp; <br>io: InputObject ( stringParameters[&quot;propertyname&quot;] == &quot;something&quot;) <br><br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br><div class="gmail_quote">2008/7/23 thomas kukofka &lt;<a href="mailto:thomaskukofka@web.de">thomaskukofka@web.de</a>&gt;:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hello ,<br><br>I just recognized, that this doesn&#39;t work. But it is possible to use plain Java code in the rule, also if-conditions and for and while-loops etc.. However more Java code makes the rule less readable and elegant.<br>

Is there another possibility to use generic input objects?<br><br>Thomas<br><br><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><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>
</div>