Khalil,
Drools does support strings, as it should. Something else is going on
there. I assume you have a proper: public String getId() method.
All I can suggest is for you to open a jira and attach a test case to
reproduce the problem.
Edson
2010/2/5 Khalil Hafsi <hafsi(a)fzi.de>
Hi Guys,
I am using Drools fusion 5, My "Event" class // @role (event) // has a
string parameter "id" , however if I try to do :
//
Rule ..
..
$a : Event(id == "a")
then
//do something
end
It complains about "Conversion from double is not supported in
java.lang.String" , is there any way to make it accept String arguments ?
Thanks,
K.H-
_______________________________________________
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 by Red Hat @
www.jboss.com