On 2/13/07, jdepaul [EMAIL PROTECTED] wrote:
Ok thanks - that worked when partnerList was an ArrayList, how would I code
my contains condition if the parternList was a HashMap!?
You could write an accessor in your model called getPartnerListKeys()
which returns getPartnerList().keySet() and
On 3/2/07, Aeinehchi Nader [EMAIL PROTECTED] wrote:
I wonder if it is possible to write rules and make queries toward the
knowledge database of Jboss Rules using Java language itself. What I need
is to to be able to access the rule engine's API.
I do not want to use Drools language or XML.
On 3/2/07, Francisco Brum [EMAIL PROTECTED] wrote:
I also need to make a rule with a lookup tables, and I have found that the new
version of rules support 'from'.
Another solution could be the the use of globals:
On 3/9/07, Uday Kamath [EMAIL PROTECTED] wrote:
We had similar use case. What we do is we model the Schema elements,
generate Java Beans (pojo), and write rules using these Pojo. Now we have
written a Service on top which takes Hibernate QL and gets the database
records as the same Pojos
Hi Mike,
On 3/13/07, Mike Dougherty [EMAIL PROTECTED] wrote:
Hello,
I am using JBoss Rules to validate entities before storing them in the
database. I therefore need a way to inform the calling code that the entity
which was asserted failed verification. The only way I have been able to
find
Hi list,
I'm experiencing problems when remotely debugging my JBoss-Rules-using
application running on an application server.
The application server is JBoss 4.2.1.GA and I connect to it via
Eclipse. My JBoss Rules version is 4.0.3.
As soon as I start inserting facts, the application seems to
Hi,
On Feb 16, 2008 1:00 PM, mmquelo massi [EMAIL PROTECTED] wrote:
Hi everybody,
I followed all the topics about globals and the fact that they are
immutables.
I also understood that once we decide to reason over globals, it's
time we no more use them and we start to use simple WM facts.
Hi,
On Wed, May 14, 2008 at 1:12 PM, ekke [EMAIL PROTECTED] wrote:
just seen that SpringSource published Drools as OSGI bundles
http://www.springsource.com/repository/app/search?query=drools
http://www.springsource.com/repository/app/search?query=drools
- I'll create a request to get
simply died.
Marcus Ilgner wrote:
Hi Edson,
thank you very much for testing this! Since I could not discern any
differences between your approach and mine, I decided to resolve the
issue manually by inserting a work-around in my test routine which
sets the context class loader for the current
Hi,
On Fri, May 30, 2008 at 10:13 AM, Thalupula Ravi
[EMAIL PROTECTED] wrote:
Hi,
Can some one answer my questions regarding drools support
1. is drools supports clustering?
I don't have that much experience on the topic, but I my guess would
be that if you write your code on top of some
Hi Sekhar,
On Mon, Jun 2, 2008 at 5:56 PM, RAJA SEKHAR REDDY MAYALURU
[EMAIL PROTECTED] wrote:
hi ,
i need to connect to data from a .drl file from a rule . i need to get the
dynamic data from DB to frmae a rule .
I have seen that Drools support Hibernate .
so how can i connect to DB
Hi,
just as a side note: I had one project using Eclipse which already
used another version of the JDT core. Encountering the same problem, I
just put the core-3.2.3.v_686_R32x.jar from Drools in my project, too,
and it worked without problems.
Best regards
Marcus
On Tue, Jun 3, 2008 at 3:25
Hi Mike,
On Wed, Jun 4, 2008 at 3:53 PM, Mike D [EMAIL PROTECTED] wrote:
I'm close, but no cigar...
I have a header record amount and did an accumulate on a detail amount. The
sum of the detail can be within a percent of the total.
The $valueUsAmt is the header, and the totValue is the
Hi,
On Fri, Jun 6, 2008 at 10:02 PM, apor [EMAIL PROTECTED] wrote:
hi, i am new with drools. one question , The rules can precompilar ?
yes, you can compile your rulebase and serialize then later
deserialize the compiled packages.
From the documentation:
7.1.4.4. Serializing
Practically all
On Wed, Jun 18, 2008 at 10:29 AM, Jaroslaw Kijanowski
[EMAIL PROTECTED] wrote:
May be you could store the names of every fired rule in a global by putting
drools.getRule().getName() into a list on the RHS.
Then you could get all rules in your package ( pkg.getRules() ) into another
list and
Hi,
On Wed, Jun 18, 2008 at 1:17 PM, Alexander Claus [EMAIL PROTECTED] wrote:
I want to use rules which shall generate as a consequence a new java
object.
The GUI of my application shall display the new generated objekt.
but how can the GUI of my application get informed by the rule engine
Hi Francesco,
On Wed, Jul 2, 2008 at 10:28 AM, fmarchioni [EMAIL PROTECTED] wrote:
Hi all drools users!
I'm just learning Drools from the manual, I have a question about Dynamic
Beans. I have added PropertyChangeSupport and listeners to my Beans: I can
see that inside my rule, if I change
On Thu, Jul 3, 2008 at 8:23 AM, Markus Helbig [EMAIL PROTECTED] wrote:
Hi everybody,
where can i get the sources for drools-eclipse? I remember they were
in svn but currently i can't find them there.
Cheers
Markus
Hi Markus,
have a look at
On Thu, Jul 3, 2008 at 2:55 PM, thomas kukofka [EMAIL PROTECTED] wrote:
Hello,
is it possible to insert an Arraylist of facts like this?:
ArraList list;
wm.insert (list);
And if yes how can I iterate over the list in the when-part of the rule?
The rule should be applied to all elements of
Hi Aziz,
On Thu, Jul 17, 2008 at 8:26 PM, Aziz Boxwala [EMAIL PROTECTED] wrote:
I have the following class structure.
Class GrandFather {
ListFather fathers;
public ListFather getFathers() {return fathers;}
}
Class Father {
int age;
ListSon sons;
public int getAge() {return
On Thu, Jul 24, 2008 at 3:28 PM, Ralph Ammon [EMAIL PROTECTED] wrote:
I'd like to get some hints to improve the rules of my simple planning
system.
My simple planning system is derived from the HelloWorld Drools Project. The
job of my planning system is to calculate startTime and endTime as
On Fri, Jul 25, 2008 at 1:04 PM, Claudio Rainoldi
[EMAIL PROTECTED] wrote:
Hi everyone,
i'm developing a java application using drools 4 for domotic control;
i ve implemented a listener on my working memory with the
method afterActivationFired(...) and activationCancelled(...) .
At startup of
On Fri, Jul 25, 2008 at 3:15 PM, Ingomar Otter [EMAIL PROTECTED] wrote:
Why don't you use facts for control?
when mylamp==on
then
assert/update sth?
That looks easier to me.
--I
Indeed. If I understand your problem correctly, the corresponding rule
should rather look like
rule Lamp is not
Hi,
On Wed, Sep 17, 2008 at 12:48 AM, Warren, David [USA]
[EMAIL PROTECTED] wrote:
If it helps, RulesUtil.containsKeywordString() checks to see if a string
passed in is present in a list of keywords held in the class.
maybe it would work if you asserted your keywords as a ListString
global
Hi,
On Mon, Sep 15, 2008 at 10:11 PM, imraan [EMAIL PROTECTED] wrote:
Users in my system will be able to configure their own rules to an extent
through a UI. I will create these rules programmatically using the
org.drools.lang.descr package. Right now, I am trying to see if its
possible to
Hi all,
I'm currently puzzled on how to implement a sort of fallback rule. In
my scenario I have a couple of articles and payments related to those
articles. Now I need to distribute royalties to the authors of these
articles. There's a common business logic which says distribute X
percent for
2009/4/24 Lindy hagan lindyha...@gmail.com:
I was looking at Blaze Advisor documentation it has “when changed”
operator that only fires when an attribute of an object changes. A business
analyst might use it to watch for any important issue, such as a thermostat
warning in a process plant or
2009/6/2 Chris Richmond crichm...@referentia.com:
Hello,
I am using netbeans and ivy with Drools 5. I have successfully named,
published the jars from drools to and could build my port of the stock
ticker application in netbeans, but when I try to run it, I get the
following error:
On Wed, Jun 3, 2009 at 10:21 PM, r.r.neum...@freenet.de
r.r.neum...@freenet.de wrote:
Hi guys,
my question is listed in the topic. Is it possible? I read, that Drools 4
provides such a feature but in this case, there is noch DSL available? Is
this correct? What's about Drools 5, same thing?
29 matches
Mail list logo