Re: [rules-users] BRMS - how to use variables on Action part?

2007-10-06 Thread Michael Neale
On the RHS, if you put "=" it will allow you to type in that calculation. I guess that is not as intuitive as it shoudl be (on the LHS it makes you tell it what you want to do), I am open to considering changing that so it is more obvious. Yes, you can only access setters this way (at the moment)

Re: [rules-users] Red Hat Developer Studio (Beta 1) and Drools Plugin - Error creating the Agenda view.

2007-10-06 Thread Kris Verlaenen
Paul, Correct me if I'm wrong, but I think RHDS is on top of Eclipse Europe (3.3), and the current version of the Drools plugin is still targeted to Eclipse 3.2. Most of it will work, but debug is one of the areas where there have been some changes in the internal eclipse APIs. We'll be upgr

Re: [rules-users] Red Hat Developer Studio (Beta 1) and Drools Plugin - Error creating the Agenda view.

2007-10-06 Thread Mark Proctor
RHDS is Eclipse 3.3, we are still Eclipse 3.2. Mark Paul Browne wrote: Folks, I'm Using RHDS Beta 1 - clean install and the only plugin is Drools-Eclipse (snapshot of Thurs 3rd Oct). OS is Vista, using Java 1.6.0_02 . When I switch to Drools Perspective and try to open the Agenda View I ge

Re: [rules-users] DRL doubts

2007-10-06 Thread Mark Proctor
If you create a drools project it can create sample files for you, I believe there is a BRL one there. Mark Thiago H. Pojda wrote: Oh yes I have, but I'd like to see something different. There are no examples with brl files (well, I didn't find any). :) On 10/5/07, *Anstis, Michael (M.) * <

[rules-users] Red Hat Developer Studio (Beta 1) and Drools Plugin - Error creating the Agenda view.

2007-10-06 Thread Paul Browne
Folks, I'm Using RHDS Beta 1 - clean install and the only plugin is Drools-Eclipse (snapshot of Thurs 3rd Oct). OS is Vista, using Java 1.6.0_02 . When I switch to Drools Perspective and try to open the Agenda View I get the following error : Error creating the view. org/eclipse/debug/inter

Re: [rules-users] DRL doubts

2007-10-06 Thread Thiago H. Pojda
Oh yes I have, but I'd like to see something different. There are no examples with brl files (well, I didn't find any). :) On 10/5/07, Anstis, Michael (M.) < [EMAIL PROTECTED]> wrote: > > Have you downloaded the examples? > > -- > *From:* [EMAIL PROTECTED] [mailto: >

Re: [rules-users] RE: Is the future avail in 4.0

2007-10-06 Thread Michael Anstis
(1) Theres nothing stopping you using a singleton to hold "state", so this provides what you want:- rule "1" when $o : AnObject( someField == someCriteria ) then boolean someFlag = true; insert(new State( someFlag ) ); end rule "2" when State (someFlag == true ) $o : AnotherObject ( ) then //some

Re: [rules-users] RE: Is the future avail in 4.0

2007-10-06 Thread Mark Proctor
Sikkandar Nawabjan wrote: Hi, I have couple of questions 1) I want to validate a Object and based upon certain condition set the flag and that flag available in my working memory context so that all the rules will execute based on the value of this flag. Is there any way to set the Global varia