Re: [rules-users] Please help - losing hair

2007-08-16 Thread Richard Hoberman
That did the trick. Thank you! The "insert" keyword also feels a lot more natural (although I get that "assert" went with "fact") :-) Manjax23 wrote: > I had same problem with 4M2 release. Please upgrade it to either 4.0.0 GA or > 4M3 release. > You can also find a sample example ShoppingExample

Re: [rules-users] Please help - losing hair

2007-08-16 Thread Richard Hoberman
Will bear that in mind. Thanks. Mark Proctor wrote: > These days trunk snapshot is the best place, as it has all the latest > fixes, this is what will make up 4.0.1 when its releases. > http://cruisecontrol.jboss.com/cc/artifacts/jboss-rules > > Mark > > > Manjax23 wrote: >> I had same problem wi

Re: [rules-users] Please help - losing hair

2007-08-16 Thread Mark Proctor
These days trunk snapshot is the best place, as it has all the latest fixes, this is what will make up 4.0.1 when its releases. http://cruisecontrol.jboss.com/cc/artifacts/jboss-rules Mark Manjax23 wrote: I had same problem with 4M2 release. Please upgrade it to either 4.0.0 GA or 4M3 release

Re: [rules-users] Please help - losing hair

2007-08-16 Thread Manjax23
I had same problem with 4M2 release. Please upgrade it to either 4.0.0 GA or 4M3 release. You can also find a sample example ShoppingExample.java and Shopping.drl, which is self-explanatory. However, I was not able to test few MVEL features like projections, which i think if added would make drool

Re: [rules-users] Please help - losing hair

2007-08-16 Thread Richard Hoberman
1. I can't find any mention of dialects anywhere in the Drools 4 manual. Am I missing something? 2. I've tried the following after finding a snippet in the archives for this list: package mvanamibia.claim; import java.lang.Object; import java.lang.String; import java.lang.Double

Re: [rules-users] Please help - losing hair

2007-08-16 Thread Mark Proctor
in theory for nested accessors it should switch to the MVEL dialect automatically. You only need to specify the MVEL dialect explicitely for eval, return value and consequences. Mark Manjax23 wrote: I think you should use dialect "mvel" when accessing the nested accessors. and I had some troub

Re: [rules-users] Please help - losing hair

2007-08-16 Thread Manjax23
I think you should use dialect "mvel" when accessing the nested accessors. and I had some trouble with "mvel" dialect in 4M2 release. Please let me know if it works for you.. Thanks, Manjax23 Richard Hoberman wrote: > > I'm using Drools 4 (M2), which is supposed to support nested accessors*

[rules-users] Please help - losing hair

2007-08-16 Thread Richard Hoberman
I'm using Drools 4 (M2), which is supposed to support nested accessors* This works: when Claim( submissionInfo == null), but not this: when Claim( submissionInfo.date == null) Rule file, SubmissionInfo.java and exception are below. What am I missing? Richard * See http://article.gmane.org/g