<div dir="ltr"><br><br> 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">
return stringParameter;<br> }</div><br> <br>io: InputObject ( stringParameters["propertyname"] == "something") <br><br> []s<br> Edson<br><br><div class="gmail_quote">2008/7/23 thomas kukofka <<a href="mailto:thomaskukofka@web.de">thomaskukofka@web.de</a>>:<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'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>