with JSR94 only you are screwed, its a useless spec, don't use it.
With normal Drools, just use an AgendaEventListener.
Mark
Diouf Mouhamed wrote:
Hi all,
I have a little problem: I'm using the JSR94 and I want to know, at
the end of an execution, the number of the rules fired?
My second quest
Or what about having a rule that creates the substring?
Class SupplierCode {
private String code;
private SupplierView parent;
public SubString(SupplierView parent, String code) {
this.code = code;
If you are using MR3 or later, the correct syntax is "not matches".
Before this version, you must use a predicate.
[]s
Edson
2007/7/13, Manukyan, Sergey <[EMAIL PROTECTED]>:
Nope .. it doesn't work either….
--
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROT
Nope .. it doesn't work either
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sarika
Khamitkar
Sent: Friday, July 13, 2007 5:06 PM
To: Rules Users List
Subject: RE: [rules-users] negation for matches
You can try:
$s : SupplierView(suppC
You can try:
$s : SupplierView(suppCode not matches "\\d\\d.*")
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manukyan,
Sergey
Sent: Friday, July 13, 2007 4:49 PM
To: Rules Users List
Subject: [rules-users] negation for matches
Folks,
Folks,
How can I negate the matches?, like for those that don't match certain
criteria do that
I tried something like this but it doesn't work:
rule "SupplierView: Supplier code's first two characters should be
numeric."
when
$s : SupplierView(!(suppCode matches
Good Afternoon,
Unfortunately, Drools eclipse plugin isn't compatible with Eclipse
Europa ( 3.3 ), try using 3.2 instead.
Regards.
Fernando Meyer http://fmeyer.org
[EMAIL PROTECTED]
PGP: 0xD804DDFB
On Jul 13, 2007, at 10:28 AM, Eric Miles wrote:
I attempted to send this last night, but
Hi all,
I have a little problem: I'm using the JSR94 and I want to know, at the
end of an execution, the number of the rules fired?
My second question is using only JBoss rules how can I know this number
(without using JSR94).
Thanks,
Mouhamed Diouf
begin:vcard
fn:Mouhamed Diouf
n:Diouf;Mouhame
Hi Mark,
On 7/13/07, Mark Proctor <[EMAIL PROTECTED]> wrote:
I think I've alread fixed this in trunk - when dealing with add/removing
stuff I now do a block syncronisation on the pkgs instance. If that test is
clean, we should add it to the list of integration tests, to track
regressions.
I
Chris,
I'm thinking about using dynamic proxies in my rules too. I'll be glad to hear
about your success with them. I think that there could be problem with matching
of facts as they won't be of original class but of Proxy$... one. CGLIB
approach doesn't have such problem as it just modifies or
That is not the only thing that determines shadowing. If you look the
shadowing is actually determined here:
if ( !ruleBase.getConfiguration().isShadowProxy() || cls ==
null || !ruleBase.getConfiguration().isShadowed( cls.getName() ) ) {
return;
}
By default
I attempted to send this last night, but didn't see it show up to the
user list so I'm going to try again, I apologize if this was sent more
than once.
When I attempt to open several views (Working Memory, Agenda, Global,
etc) within an JBoss Rules enabled Eclipse, I receive the following
error:
I think I've alread fixed this in trunk - when dealing with add/removing
stuff I now do a block syncronisation on the pkgs instance. If that test
is clean, we should add it to the list of integration tests, to track
regressions.
Mark
Edson Tirelli wrote:
Dean
Thanks, we will investiga
Please do! We will all thank you.
Regarding checking all the conditions in the LHS, that's what the engine
does best, so always avoid "if"s in the RHS... in the LHS they get indexed,
shared, hashed, etc, whenever possible, improving the performance of the
whole system.
[]s
Edson
2007/7/
can you make an integration test for us? As we'll need to be easily able
to reproduce this. We'll add it to our code base and fix. We'll probably
add it as aprt of the MiscTest class:
http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/Mi
Edson,
Thank you very match. I've found a lot of ideas from your response. I didn't
think about moving all conditions to LHS first and planned to use LHS only as a
filter to find object to validate in RHS. I'll try to implement prototype and
share experience in a list if you don't mind.
Oleg.
Hi Everyone,
Can any one please suggest in which cell the XOR-GROUP can be entered while
creating a rules using decision table (excel sheet) ?
I have been looking at the documentation and it states that XOR-GROUP is is
keyword and can be added. However it doesn't really tells in what cell
(
17 matches
Mail list logo