This content has been marked as final.
Show 3 replies
-
1. Re: All drools rules evaluating false?
balazska Dec 21, 2009 10:14 PM (in response to flopsi)try to look at seam drools example apps.
-
2. Re: All drools rules evaluating false?
flopsi Dec 22, 2009 3:26 PM (in response to flopsi)Hi!
I just wanted to state that i solved the issue. It seems that there were some libs missing, which is kind of strange cos my project was initially setup with seam-gen and according to Seam In Action there should be nothing else to do...
Second thing (which i discovered by finally looking at the sources) is that null for the target parameter is not allowed for some reason:
org/jboss/seam/security/Identity.java:
public boolean hasPermission(Object target, String action)
{
...
if (target == null) return false;
...
}
In my test-rules i did not use any target object, so i thought i could just pass null here. Now i pass some kind of dummy object, and it works...
Thanks, best regards
Flo -
3. Re: All drools rules evaluating false?
sage.sam Jan 20, 2010 12:20 AM (in response to flopsi)
Florian Petersen wrote on Dec 22, 2009 15:26:
I just wanted to state that i solved the issue. It seems that there were some libs missing, which is kind of strange cos my project was initially setup with seam-gen and according to Seam In Action there should be nothing else to do...Thanks for posting this little follow-up... you just solved my issue!