Hi.
Jira Bug created. http://jira.jboss.com/jira/browse/JBRULES-1089
BTW, the work around works just fine.
Thanks!
--Arsalan
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Edson Tirelli
Sent: 13 August 2007 22:16
To: Rules
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
not yet.
Mark
Simon French wrote:
Hi Mark,
Any news on this one? I know its just a puzzle, but I would have hoped
drools would cope with it.
I was hoping to use the golfer example as a training aid to people in
work.
Regards
Simon
On 09/08/07, *Simon French* [EMAIL PROTECTED]
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*
Hi,
I'm starting to use eclipse plug.in for JRules. I created the example JRules
project in eclipse and I tried to start it as Java Application but I got
this exception
org.drools.RuntimeDroolsException: Unable to load dialect '
org.drools.rule.builder.dialect.java.JavaDialect:java'
at
I'll probably want to speak to ILog about help with JRules.
Mark
Raffaele Viola wrote:
Hi,
I'm starting to use eclipse plug.in http://plug.in for JRules. I
created the example JRules project in eclipse and I tried to start it
as Java Application but I got this exception
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
More importantly why ILOG are using org.drools.* classes! ;-)
Of course there could be another explanation.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Proctor
Sent: 16 August 2007 12:20
To: Rules Users List
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
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
Hi, all,
use 4.0.0 GA.
want to have an xls rule file. i am not sure of how to define the following
trivial case in xls.
can anybody help? thanx!
when
$p : Person()
then
// do something with any person
end
/ Ben
On 8/16/07, pns77 [EMAIL PROTECTED] wrote:
Now, is it possible to change the logic dynamically at runtime ? Or is the
drl file used only to externalize the business logic? I tried changing the
message in drl file and it didnt get reflected
Unless things have changed radically since the last
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
Download the example.zip and there is a sample ExamplePolicyPricing.xls and
PricingRuleDTExample.java.
:) pls read documentation :)
Bin Shen (BA/EDD) wrote:
Hi, all,
use 4.0.0 GA.
want to have an xls rule file. i am not sure of how to define the
following trivial case in xls.
can
On 8/16/07, Mark Proctor [EMAIL PROTECTED] wrote:
I'll probably want to speak to ILog about help with JRules.
Mark
:)
--
Geoffrey Wiseman
___
rules-users mailing list
rules-users@lists.jboss.org
This exception is thrown when it cannot find (one of) the necessary libraries
for loading the Java Dialect. In this case probably the eclipse jdt compiler.
Make sure all the necessary dependencies are in your classpath. If you are
using a Drools project, the Drools classpath container should
hi, Manjax,
have studied the example that u mentioned.
take the schema as follows:
object type $p : Person
snippet ?
cell?
i mean a special case when there is no field constraint at all. if i leave out
the snippet. some runtime
http://downloads.jboss.com/drools/docs/4.0.0.13773GA/html_single/index.html#d0e1805
Condition and action cell should not be null and should contain valid data.
If you could see a small plus sign, expand it.you should be able to see the
parameters that are passed to the rule, and both the
The log file also shows that the BenefitsProgramEvent was inserted
properly. So why wouldn't it appear in the working memory? Do I need to do
something special or is somehow inserted in another working memory?
Thanks for any suggestions,
Michael
object-stream
list
but, u haven't answered my question.
i see the grouped hidden lines in the example.
i use yr terms. the condition (snippet in my term) can not be empty, and the
action (cell in my term) can be empty. in my case how should i put the
condition, when no field constraint is there? how should i
sorry, i used the wrong word action, instead of data.
take the schema once more to avoid misunderstanding (assume no grouped rows).
---
| CONDITION
---
object type/| $p :
Sorry, this message just came to my attention.
A variable bound in the source pattern can only be used in the action()
and reverse() blocks. This makes sense because the init() and result()
blocks are executed only once for all matches, while the action() and
reverse() blocks are executed
Hi all,
many thanks to all the participators in the round 1 and congratulations to
the winner Dr. Starke. I'll post a detailed report with current scores of
all participators and comments to each solution to Drools wiki tomorrow. Now
it's Dr. Starke's turn to post the next puzzle.
Happy
My 3.1 app has a mechanism that allowed the user to change the salience of some rules before running
them, before loading up WorkingMemory. This was quite simple, rule.getSalience() returned a rule's
int salience value and rule.setSalience(int) set it. Now in 4.0 I see salience is no longer just
Salience salience = new SalienceInteger( Integer.parseInt( salienceText ) );
rule.setSalience( salience );
Cheers,
manjax23
Scott Reed-4 wrote:
My 3.1 app has a mechanism that allowed the user to change the salience of
some rules before running
them, before loading up WorkingMemory. This
25 matches
Mail list logo