[rules-users] Guvnor: can I use resource bundles in the rules to return a message?

2010-06-18 Thread xalperte
I'm using Guvnor to externalize the business rules from the application logic but I detect some need that I do not know how to solve, is the case of return a message for a given locale, that is something like ResourceBundle.getBundle(). The idea is include the properties files into the Guvnor and

Re: [rules-users] jBPM and Drools Flow

2010-06-18 Thread Hitoshi Ozawa
Yes. Rich Faces is nice, but there sure are many Liferay users out there already. :-) Greetings 2010/6/19 Mauricio Salatino : > did you see the Drools Seam integration? > Greetings > > On Fri, Jun 18, 2010 at 7:23 PM, Hitoshi Ozawa wrote: >> >> Should have stated my stance. >> As you can see fro

Re: [rules-users] jBPM and Drools Flow

2010-06-18 Thread Mauricio Salatino
did you see the Drools Seam integration? Greetings On Fri, Jun 18, 2010 at 7:23 PM, Hitoshi Ozawa wrote: > Should have stated my stance. > As you can see from my site, I'm involved in other software such as > Liferay. I'm interested in integrating Drools with other applications > to create syste

Re: [rules-users] jBPM and Drools Flow

2010-06-18 Thread Hitoshi Ozawa
Should have stated my stance. As you can see from my site, I'm involved in other software such as Liferay. I'm interested in integrating Drools with other applications to create systems. http://sourceforge.jp/projects/oss-ja-jpn/releases/ I'm a fan of Trygve Reenskaug and his DCI concept. He and C

Re: [rules-users] jBPM and Drools Flow

2010-06-18 Thread Mark Proctor
On 18/06/2010 22:38, Hitoshi Ozawa wrote: > Will Drool Flow's API change? Should I wait until jBPM5 comes out to > actually begin using it? I heard that jBPM5 will be a little bit of a > wait. > The namespace will change. The API may go under some minimal changes, but it'll be very close to wh

Re: [rules-users] jBPM and Drools Flow

2010-06-18 Thread Mauricio Salatino
the idea is jBPM 5 supports BPMN2, so you can model your process right now and then use it inside jBPM5.. the api's probably will change, but you can reuse your projects and refactor the api usage when you need it.. probably there will be a one to one mapping in functionality. On Fri, Jun 18, 201

Re: [rules-users] jBPM and Drools Flow

2010-06-18 Thread Hitoshi Ozawa
Will Drool Flow's API change? Should I wait until jBPM5 comes out to actually begin using it? I heard that jBPM5 will be a little bit of a wait. H.Ozawa 2010/6/19 Mark Proctor : > Drools Flow will be incorporated into jBPM5. > > Mark > On 18/06/2010 18:47, Jinsong wrote: > > I am interested in th

Re: [rules-users] JBOSS DROOLS Guvnor and SSO authentication

2010-06-18 Thread Jervisliu
ShanzRules wrote: > Hi > We would like to integrate guvnor with SSO(Sun access manager), > we have a portal application already integrated with sun access manager , > and from portal we want to have a guvnor link on it and if we click on the > link , it should redirect to the guvnor home page wit

Re: [rules-users] jBPM and Drools Flow

2010-06-18 Thread Jinsong
Thank you! Best, Jinsong 2010/6/18 Mark Proctor > Drools Flow will be incorporated into jBPM5. > > Mark > > On 18/06/2010 18:47, Jinsong wrote: > > I am interested in the question as well. > Anybody can give us a answer? > > Best, > Jinsong > > > On Wed, Jun 16, 2010 at 3:01 AM, Hitoshi Ozawa

Re: [rules-users] KnowledgeBase: OK to share concurrently?

2010-06-18 Thread ljnelson
Edson Tirelli-3 wrote: > > Yes, you can. > Great! Thank you, Edson; a mention of this in the Javadoc would be most helpful. Best, Laird -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/KnowledgeBase-OK-to-share-concurrently-tp906287p906339.html Sent

[rules-users] Knowledge Builder Question

2010-06-18 Thread Fnu Mahalakshmi
Hi guys, In my program I have couple of .brl, .drl and .dslr files which get added to the rulebase. Now my .brl files get converted to drl files and then have to be added to the rulebase. After creating my .drl or .dslr file I am using this code to update the resources in my change-set.xml R

[rules-users] Knowledge Agent Question

2010-06-18 Thread Fnu Mahalakshmi
Hi guys, In my program I have couple of .brl, .drl and .dslr files which get added to the rulebase. Now my .brl files get converted to drl files and then have to be added to the rulebase. After creating my .drl or .dslr file I am using this code to update the resources in my change-set.xml Re

Re: [rules-users] KnowledgeBase: OK to share concurrently?

2010-06-18 Thread Edson Tirelli
Yes, you can. Edson 2010/6/18 ljnelson > > There have been many threads (no pun intended) on this in the past; here's > one arbitrary example: > > http://drools-java-rules-engine.46999.n3.nabble.com/KnowledgeBase-threadsafe-td59987.html#a59987 > > However I haven't been able to find a d

[rules-users] KnowledgeBase: OK to share concurrently?

2010-06-18 Thread ljnelson
There have been many threads (no pun intended) on this in the past; here's one arbitrary example: http://drools-java-rules-engine.46999.n3.nabble.com/KnowledgeBase-threadsafe-td59987.html#a59987 However I haven't been able to find a declarative statement anywhere from the Drools developers that s

Re: [rules-users] Problems with OR

2010-06-18 Thread Edson Tirelli
There is a solution that is much simpler: when TblVersichKlinik( ( versicherung != null && versicherung != " " ) || (zusatzversicherung !=null && zusatzversicherung != " ") ) then ... end []s Edson 2010/6/18 skasab2s > > Hi guys, > > many thanks for your replies! Sorry, my solutio

Re: [rules-users] jBPM and Drools Flow

2010-06-18 Thread Mark Proctor
Drools Flow will be incorporated into jBPM5. Mark On 18/06/2010 18:47, Jinsong wrote: I am interested in the question as well. Anybody can give us a answer? Best, Jinsong On Wed, Jun 16, 2010 at 3:01 AM, Hitoshi Ozawa > wrote: Hi, With changes in jBPM te

Re: [rules-users] jBPM and Drools Flow

2010-06-18 Thread Jinsong
I am interested in the question as well. Anybody can give us a answer? Best, Jinsong On Wed, Jun 16, 2010 at 3:01 AM, Hitoshi Ozawa wrote: > Hi, > > With changes in jBPM team and a new announcement on jBPM 5 being more > compatible with Drools Flow, > would appreciate if someone can tell me th

Re: [rules-users] HELP Drools Guvnor

2010-06-18 Thread Baig, Kaleem
More specifically I was wondering if it's possible to pass in this URL http://localhost:8080/drools-guvnor/ securityService?username=admin&password=admin Is it possible to do this. From my research it seems to b

Re: [rules-users] Problems with OR

2010-06-18 Thread skasab2s
Hi guys, many thanks for your replies! Sorry, my solution was other: declare EnsuranceExists value: boolean end // Initialisation Rule(s). --- rule "Always insert initial $ensuranceExists" salience 100 when then E

Re: [rules-users] creating and integrating a specific output using drools

2010-06-18 Thread Fnu Mahalakshmi
Hi, For using queries against the working memory : we do again need a knowledge of which query to fire against the working memory depending on which rule is fired. Also maintain a list of different queries which is ultimately written out to our output file. Is there any way to determine this

Re: [rules-users] creating and integrating a specific output using drools

2010-06-18 Thread Fnu Mahalakshmi
Hi, No. I did not look into that. Thanks for the info. Do you know of any documentation I could refer for the same?? Thank you. M Today's Topics: 1. creating and integrating a specific output using drools (Fnu Mahalakshmi) 2. Re: creating and integrating a specific outputusin

Re: [rules-users] Problems with OR

2010-06-18 Thread Giovanni Motta
exists( TblVersichKlinik( (versicherung != null, versicherung != " ") || (zusatzversicherung !=null, zusatzversicherung != " ") ) ) Not tested, but should be like this... Regards 2010/6/18 skasab2s > > Hello, > > we are using Drools Expert. We have a rule which should fire if at least > on

Re: [rules-users] Problems with OR

2010-06-18 Thread David Sinclair
Drooks ORs are not short circuited. They are treated individually. You could rewrite the rule to check for the "other part of the or" ( TblVersichKlinik(versicherung != null, versicherung != " ", zusatzversicherung == null) or (TblVersichKlinik(zusatzversicherung !=null, zusatzversicherung != " ",

[rules-users] Problems with OR

2010-06-18 Thread skasab2s
Hello, we are using Drools Expert. We have a rule which should fire if at least one of the object attributes are not empty. This is my pattern: ( TblVersichKlinik(versicherung != null, versicherung != " ") or (TblVersichKlinik(zusatzversicherung !=null, zusatzversicherung != " ")) ) The prob

Re: [rules-users] creating and integrating a specific output using drools

2010-06-18 Thread Swindells, Thomas
Rather maintaining global lists have you looked into using queries against the working memory to get out what you need? Thomas From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Fnu Mahalakshmi Sent: 18 June 2010 14:58 To: 'rules-users@lists.jbos

[rules-users] creating and integrating a specific output using drools

2010-06-18 Thread Fnu Mahalakshmi
Hi, I have my basic drools application up and running. Now I have a very disconnected input file (i.e all data is very diff from each other) As of now I am loading all the output data in a globallist and writing it to an output file. Now all the global lists are separate for different data input

Re: [rules-users] HELP Drools Guvnor

2010-06-18 Thread Swindells, Thomas
What you are asking for is incredibly insecure and bad for so many reasons... If you really want to be passing around your passwords in the url for anybody to see then what you may be able to do is to use the standard http method of embedding the credentials: http://user:passw...@localhost:8080/

Re: [rules-users] Accessing collections in conditional statements (inside/outside working memory)

2010-06-18 Thread Swindells, Thomas
The key difference of using collections over working memory is what happens when you update a fact. When you use update/modify you tell drools that that object has changed. Drools then works out which rules are affected by the change and re-computes the affected part of the rule and triggers the

Re: [rules-users] result of one rule to another rule

2010-06-18 Thread PAYET, Manuel
Maybe you could use insertLogical :) check about it in the doc. But, you can't do more, from my own point of view De : rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] De la part de surabhi soni Envoyé : vendredi 18 juin 2010 06:03

[rules-users] Accessing collections in conditional statements (inside/outside working memory)

2010-06-18 Thread Evert Penninckx
Hi I'm having trouble understanding how collections are accessed in conditions and what this means in terms of perfomance. My app has concepts with a unidirectional composite relation. Making it bidirectional, as suggested in other posts, is really not preferred. This is the most natural model fo