Thanks,
but I've still Problems if I try to use
io: InputObject ( stringParameters[InputObject.Parameter.ParameterName] ==
"something")
=>Field/method 'InputObject' not found for class
'com.rules.InputObject'Rule
Compilation error
Parameter is an enum witch contains all allowed Parameters of InputObject
Kind Regards
Thomas
2008/7/23 Edson Tirelli <tirelli(a)post.com>:
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(a)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(a)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
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users