If you make your map available through a get, you can use simplified Map syntax like this:

public Map getStringParameters() {
        return stringParameter;
    }

   
io: InputObject ( stringParameters["propertyname"] == "something")

   []s
   Edson

2008/7/23 thomas kukofka <thomaskukofka@web.de>:
Hello ,

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.
Is there another possibility to use generic input objects?

Thomas



_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




--
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @ www.jboss.com