Re: [rules-users] make the Guvnor interface into French
You should provide a translated to french properties file and the compile it against that language. Some of the guvnor guys should point you to where that localization properties file is inside the drools guvnor source code. Cheers 2012/2/12 freelance developpement developpement.freela...@gmail.com: Hi every one, For simplicity I must make the interface Guvnor for administration of business rules, in French and not English under Internet Explorer or Firefox. Have you ant idea? thanx in advance ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- - CTO @ http://www.plugtree.com - MyJourney @ http://salaboy.wordpress.com - Co-Founder @ http://www.jugargentina.org - Co-Founder @ http://www.jbug.com.ar - Salatino Salaboy Mauricio - ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] make the Guvnor interface into French
Guvnor comes with a fr_FR locale translation. Provided your PC locale settings are fr_FR and you are using the WAR provided in the Guvnor distribution you should see French already. Alternatively, you can override your PC's locale by providing the locale in the URL; e.g. http://www.example.org/myapp.html?locale=fr_FR I know of one community user who has been using fr_FR for sometime. On 12 February 2012 15:08, Mauricio Salatino sala...@gmail.com wrote: You should provide a translated to french properties file and the compile it against that language. Some of the guvnor guys should point you to where that localization properties file is inside the drools guvnor source code. Cheers 2012/2/12 freelance developpement developpement.freela...@gmail.com: Hi every one, For simplicity I must make the interface Guvnor for administration of business rules, in French and not English under Internet Explorer or Firefox. Have you ant idea? thanx in advance ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- - CTO @ http://www.plugtree.com - MyJourney @ http://salaboy.wordpress.com - Co-Founder @ http://www.jugargentina.org - Co-Founder @ http://www.jbug.com.ar - Salatino Salaboy Mauricio - ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] How to use database in drool
Hi~ My project requires to use drool interact with MySQL. Like once the rule engine received a request, the engine will ask the database to send some fact to the engine. The engine should give a result after matching the fact with the rule (in rule engine). Is there any tutorial for building connection between the engine to the database? I know Hibernate can do it, but for SQL is there any way to do it? Regards, Shawn -- View this message in context: http://drools.46999.n3.nabble.com/How-to-use-database-in-drool-tp3737584p3737584.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] How to use database in drool
Set a DAO into the global; then the DAO can access the data in the right hand side using whatever internal implementation you have, whether it's SQL or HQL. On Feb 12, 2012, at 10:35 AM, shawn youngxiao...@hotmail.com wrote: Hi~ My project requires to use drool interact with MySQL. Like once the rule engine received a request, the engine will ask the database to send some fact to the engine. The engine should give a result after matching the fact with the rule (in rule engine). Is there any tutorial for building connection between the engine to the database? I know Hibernate can do it, but for SQL is there any way to do it? Regards, Shawn -- View this message in context: http://drools.46999.n3.nabble.com/How-to-use-database-in-drool-tp3737584p3737584.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] How to use database in drool
Thanks~~ -- View this message in context: http://drools.46999.n3.nabble.com/How-to-use-database-in-drool-tp3737584p3737622.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] make the Guvnor interface into French
Yes, there is me ! I even have a fresh newly updated french file (for 5.3.0.Final version), as the one in actual guvnor date from my last translation for 5.1 (parts are french, parts are english, which does not look very good) . I was thinking of updating the former JIRA with the new file ? Should I create a new JIRA ? Can I simply post here and you make the git push ? Do I really need to fork the git repo for that ? - Mail original - De: Michael Anstis michael.ans...@gmail.com À: Rules Users List rules-users@lists.jboss.org Envoyé: Dimanche 12 Février 2012 17:34:15 Objet: Re: [rules-users] make the Guvnor interface into French Guvnor comes with a fr_FR locale translation. Provided your PC locale settings are fr_FR and you are using the WAR provided in the Guvnor distribution you should see French already. Alternatively, you can override your PC's locale by providing the locale in the URL; e.g. http://www.example.org/myapp.html?locale=fr_FR I know of one community user who has been using fr_FR for sometime. On 12 February 2012 15:08, Mauricio Salatino sala...@gmail.com wrote: You should provide a translated to french properties file and the compile it against that language. Some of the guvnor guys should point you to where that localization properties file is inside the drools guvnor source code. Cheers 2012/2/12 freelance developpement developpement.freela...@gmail.com : Hi every one, For simplicity I must make the interface Guvnor for administration of business rules, in French and not English under Internet Explorer or Firefox. Have you ant idea? thanx in advance ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- - CTO @ http://www.plugtree.com - MyJourney @ http://salaboy.wordpress.com - Co-Founder @ http://www.jugargentina.org - Co-Founder @ http://www.jbug.com.ar - Salatino Salaboy Mauricio - ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] make the Guvnor interface into French
Translations are always welcome :) If you can ensure translations are up to date (there have been many more additions to master) I can push the file for you. Thanks, Mike sent on the move On 12 Feb 2012 20:59, Vincent LEGENDRE vincent.legen...@eurodecision.com wrote: Yes, there is me ! I even have a fresh newly updated french file (for 5.3.0.Final version), as the one in actual guvnor date from my last translation for 5.1 (parts are french, parts are english, which does not look very good). I was thinking of updating the former JIRA with the new file ? Should I create a new JIRA ? Can I simply post here and you make the git push ? Do I really need to fork the git repo for that ? -- *De: *Michael Anstis michael.ans...@gmail.com *À: *Rules Users List rules-users@lists.jboss.org *Envoyé: *Dimanche 12 Février 2012 17:34:15 *Objet: *Re: [rules-users] make the Guvnor interface into French Guvnor comes with a fr_FR locale translation. Provided your PC locale settings are fr_FR and you are using the WAR provided in the Guvnor distribution you should see French already. Alternatively, you can override your PC's locale by providing the locale in the URL; e.g. http://www.example.org/myapp.html?locale=fr_FR I know of one community user who has been using fr_FR for sometime. On 12 February 2012 15:08, Mauricio Salatino sala...@gmail.com wrote: You should provide a translated to french properties file and the compile it against that language. Some of the guvnor guys should point you to where that localization properties file is inside the drools guvnor source code. Cheers 2012/2/12 freelance developpement developpement.freela...@gmail.com: Hi every one, For simplicity I must make the interface Guvnor for administration of business rules, in French and not English under Internet Explorer or Firefox. Have you ant idea? thanx in advance ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- - CTO @ http://www.plugtree.com - MyJourney @ http://salaboy.wordpress.com - Co-Founder @ http://www.jugargentina.org - Co-Founder @ http://www.jbug.com.ar - Salatino Salaboy Mauricio - ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] How to get the Fact datatypes from the Guvnor
Hi All, Can anybody help to get the Field type(what datatype it is ). I have declared a Facts in Guvnor 5.3 and i can able to retreive all the package names rules names fact names , now i want to know what is the datatype of each fact , i don't know which api to use for this. Can any body help me pelase... below code to get the all package names rules names fact names...: CollectionKnowledgePackage kpackages = _kagent.getKnowledgeBase().getKnowledgePackages(); for(KnowledgePackage kpackage : kpackages) { for(org.drools.definition.rule.Rule rule1 :kpackage.getRules()) { //printing package names rule names. String packname= rule1.getPackageName(); String rulename=rule1.getName(); System.out.println(This is : +packname+ Packages and RuleName is +rulename); //printing Fact names.. Field[] s=kpackage.getClass().getFields(); System.out.println(s.toString()); } } Thanks, Veera -- View this message in context: http://drools.46999.n3.nabble.com/How-to-get-the-Fact-datatypes-from-the-Guvnor-tp3739223p3739223.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users