Seam SVN: r11182 - tags/JBoss_Seam_2_2_0_CR1/src/main/org/jboss/seam/core.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2009-06-20 16:43:43 -0400 (Sat, 20 Jun 2009)
New Revision: 11182
Modified:
tags/JBoss_Seam_2_2_0_CR1/src/main/org/jboss/seam/core/ResourceLoader.java
Log:
JBSEAM-4258
Modified: tags/JBoss_Seam_2_2_0_CR1/src/main/org/jboss/seam/core/ResourceLoader.java
===================================================================
--- tags/JBoss_Seam_2_2_0_CR1/src/main/org/jboss/seam/core/ResourceLoader.java 2009-06-20 20:43:12 UTC (rev 11181)
+++ tags/JBoss_Seam_2_2_0_CR1/src/main/org/jboss/seam/core/ResourceLoader.java 2009-06-20 20:43:43 UTC (rev 11182)
@@ -52,12 +52,12 @@
public InputStream getResourceAsStream(String resource)
{
- return Resources.getResourceAsStream( resource, ServletLifecycle.getCurrentServletContext() );
+ return Resources.getResourceAsStream( resource, ServletLifecycle.getServletContext() );
}
public URL getResource(String resource)
{
- return Resources.getResource( resource, ServletLifecycle.getCurrentServletContext() );
+ return Resources.getResource( resource, ServletLifecycle.getServletContext() );
}
/**
15 years, 6 months
Seam SVN: r11181 - branches/community/Seam_2_2/src/main/org/jboss/seam/core.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2009-06-20 16:43:12 -0400 (Sat, 20 Jun 2009)
New Revision: 11181
Modified:
branches/community/Seam_2_2/src/main/org/jboss/seam/core/ResourceLoader.java
Log:
JBSEAM-4258
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/core/ResourceLoader.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/core/ResourceLoader.java 2009-06-19 17:37:51 UTC (rev 11180)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/core/ResourceLoader.java 2009-06-20 20:43:12 UTC (rev 11181)
@@ -52,12 +52,12 @@
public InputStream getResourceAsStream(String resource)
{
- return Resources.getResourceAsStream( resource, ServletLifecycle.getCurrentServletContext() );
+ return Resources.getResourceAsStream( resource, ServletLifecycle.getServletContext() );
}
public URL getResource(String resource)
{
- return Resources.getResource( resource, ServletLifecycle.getCurrentServletContext() );
+ return Resources.getResource( resource, ServletLifecycle.getServletContext() );
}
/**
15 years, 6 months
Seam SVN: r11180 - in branches/community/Seam_2_2/examples/drools/resources: WEB-INF and 1 other directory.
by seam-commits@lists.jboss.org
Author: tsurdilovic
Date: 2009-06-19 13:37:51 -0400 (Fri, 19 Jun 2009)
New Revision: 11180
Added:
branches/community/Seam_2_2/examples/drools/resources/numberguessforflow.drl
branches/community/Seam_2_2/examples/drools/resources/numberguessforflow.xls
Modified:
branches/community/Seam_2_2/examples/drools/resources/WEB-INF/components.xml
branches/community/Seam_2_2/examples/drools/resources/numberguess.drl
branches/community/Seam_2_2/examples/drools/resources/numberguess.xls
branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.jpg
branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.xml
Log:
JBSEAM-4219, JBSEAM-4241
fix for broken test
Modified: branches/community/Seam_2_2/examples/drools/resources/WEB-INF/components.xml
===================================================================
--- branches/community/Seam_2_2/examples/drools/resources/WEB-INF/components.xml 2009-06-19 13:46:04 UTC (rev 11179)
+++ branches/community/Seam_2_2/examples/drools/resources/WEB-INF/components.xml 2009-06-19 17:37:51 UTC (rev 11180)
@@ -11,11 +11,11 @@
<drools:rule-base name="ruleBase" rule-files="numberguess.drl"/>
<!-- use this in order to load from decision table instead -->
- <!-- <drools:rule-base name="ruleBase" rule-files="numberguess.xls"/> -->
+ <!-- <drools:rule-base name="ruleBase" rule-files="numberguess.xls"/> -->
<!-- use this in order to load from a drl and also add a ruleflow -->
- <!-- <drools:rule-base name="ruleBase" rule-files="numberguess.drl, numberguess.rf"/> -->
+ <!-- <drools:rule-base name="ruleBase" rule-files="numberguessforflow.drl, numberguess.rf"/> -->
<!-- use this in order to load from a xls and also add a ruleflow -->
- <!-- <drools:rule-base name="ruleBase" rule-files="numberguess.xls, numberguess.rf"/> -->
+ <!-- <drools:rule-base name="ruleBase" rule-files="numberguessforflow.xls, numberguess.rf"/> -->
<!-- use this if you want to register a custom consequence exception handler -->
<!-- <drools:rule-base name="ruleBase" rule-files="numberguess.xls" consequence-exception-handler="#{gameConsequenceExceptionHandler}"/> -->
<drools:managed-working-memory name="workingMemory" rule-base="#{ruleBase}">
Modified: branches/community/Seam_2_2/examples/drools/resources/numberguess.drl
===================================================================
--- branches/community/Seam_2_2/examples/drools/resources/numberguess.drl 2009-06-19 13:46:04 UTC (rev 11179)
+++ branches/community/Seam_2_2/examples/drools/resources/numberguess.drl 2009-06-19 17:37:51 UTC (rev 11180)
@@ -1,13 +1,14 @@
package org.jboss.seam.example.numberguess
-import org.jboss.seam.drools.Decision
+import org.jboss.seam.drools.Decision;
+import java.lang.Integer;
global Decision decision
global Integer randomNumber
global Game game
rule High
- ruleflow-group "Guess"
+ #ruleflow-group "Guess"
when
Guess(guess: value>randomNumber)
then
@@ -15,7 +16,7 @@
end
rule Low
- ruleflow-group "Guess"
+ #ruleflow-group "Guess"
when
Guess(guess: value<randomNumber)
then
@@ -23,7 +24,7 @@
end
rule Win
- ruleflow-group "Decision"
+ #ruleflow-group "Decision"
when
Guess(value==randomNumber)
then
@@ -31,7 +32,7 @@
end
rule Lose
- ruleflow-group "Decision"
+ #ruleflow-group "Decision"
when
Game(guessCount==9)
then
@@ -42,7 +43,7 @@
end
rule Increment
- ruleflow-group "Increment"
+ #ruleflow-group "Increment"
salience -10
when
Guess()
Modified: branches/community/Seam_2_2/examples/drools/resources/numberguess.xls
===================================================================
(Binary files differ)
Added: branches/community/Seam_2_2/examples/drools/resources/numberguessforflow.drl
===================================================================
--- branches/community/Seam_2_2/examples/drools/resources/numberguessforflow.drl (rev 0)
+++ branches/community/Seam_2_2/examples/drools/resources/numberguessforflow.drl 2009-06-19 17:37:51 UTC (rev 11180)
@@ -0,0 +1,52 @@
+package org.jboss.seam.example.numberguess
+
+import org.jboss.seam.drools.Decision;
+import java.lang.Integer;
+
+global Decision decision
+global Integer randomNumber
+global Game game
+
+rule High
+ ruleflow-group "Guess"
+ when
+ Guess(guess: value>randomNumber)
+ then
+ game.setBiggest(guess-1);
+end
+
+rule Low
+ ruleflow-group "Guess"
+ when
+ Guess(guess: value<randomNumber)
+ then
+ game.setSmallest(guess+1);
+end
+
+rule Win
+ ruleflow-group "Decision"
+ when
+ Guess(value==randomNumber)
+ then
+ decision.setOutcome("win");
+end
+
+rule Lose
+ ruleflow-group "Decision"
+ when
+ Game(guessCount==9)
+ then
+ if ( decision.getOutcome()==null )
+ {
+ decision.setOutcome("lose");
+ }
+end
+
+rule Increment
+ ruleflow-group "Increment"
+ salience -10
+ when
+ Guess()
+ then
+ game.incrementGuessCount();
+end
Added: branches/community/Seam_2_2/examples/drools/resources/numberguessforflow.xls
===================================================================
(Binary files differ)
Property changes on: branches/community/Seam_2_2/examples/drools/resources/numberguessforflow.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.jpg
===================================================================
(Binary files differ)
Modified: branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.xml
===================================================================
--- branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.xml 2009-06-19 13:46:04 UTC (rev 11179)
+++ branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.xml 2009-06-19 17:37:51 UTC (rev 11180)
@@ -21,7 +21,7 @@
<handler class="org.jboss.seam.drools.DroolsDecisionHandler">
<workingMemoryName>workingMemory</workingMemoryName>
<!-- if a ruleflow was added, start a process -->
- <!-- <startProcessId>numberguessid</startProcessId> -->
+ <!-- <startProcessId>numberguessid</startProcessId> -->
<assertObjects>
<element>#{game}</element>
<element>#{guess}</element>
15 years, 6 months
Seam SVN: r11179 - branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT.
by seam-commits@lists.jboss.org
Author: nico.ben
Date: 2009-06-19 09:46:04 -0400 (Fri, 19 Jun 2009)
New Revision: 11179
Modified:
branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Excel.po
Log:
Italian translation
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Excel.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Excel.po 2009-06-19 12:44:43 UTC (rev 11178)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Excel.po 2009-06-19 13:46:04 UTC (rev 11179)
@@ -917,7 +917,7 @@
#: Excel.xml:981
#, no-c-format
msgid "defines a column with a header and an iterated output"
-msgstr "definisce una colonna con un intestazione ed un output iterato."
+msgstr "definisce una colonna con un'intestazione ed un output iterato."
#. Tag: title
#: Excel.xml:881
15 years, 6 months
Seam SVN: r11178 - branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US.
by seam-commits@lists.jboss.org
Author: denis.forveille
Date: 2009-06-19 08:44:43 -0400 (Fri, 19 Jun 2009)
New Revision: 11178
Modified:
branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/I18n.xml
Log:
Documentation correct section 16.3 Internationalization/labels"
JBSEAM-4256
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/I18n.xml
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/I18n.xml 2009-06-19 04:51:38 UTC (rev 11177)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/I18n.xml 2009-06-19 12:44:43 UTC (rev 11178)
@@ -206,7 +206,7 @@
the language-specific labels.</para>
</section>
- <section id="labels" />
+ <section id="labels" >
<title>Labels</title>
<para>JSF supports internationalization of user interface labels and
@@ -316,6 +316,7 @@
<literal>G'day, Gavin</literal>, depending upon the user's
locale.</para>
</section>
+ </section>
<section>
<title>Timezones</title>
15 years, 6 months
Seam SVN: r11177 - in branches/community/Seam_2_2/doc/Seam_Reference_Guide: bn-IN and 22 other directories.
by seam-commits@lists.jboss.org
Author: nico.ben
Date: 2009-06-19 00:51:38 -0400 (Fri, 19 Jun 2009)
New Revision: 11177
Modified:
branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Annotations.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Author_Group.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Book_Info.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Cache.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/ClusteringAndEJBPassivation.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Components.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Concepts.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Configuration.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Controls.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Conversations.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Dependencies.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Drools.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Elenhancements.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Events.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Excel.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Feedback.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Framework.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Getting_Started_With_JBoss_Tools.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gettingstarted.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Glassfish.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Groovy.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Guice.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gwt.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Hsearch.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/I18n.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Itext.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jbpm.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jms.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Mail.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Performance.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Persistence.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Preface.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Remoting.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Revision_History.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Rss.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Security.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Spring.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Testing.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Text.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tools.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tutorial.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Validation.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Weblogic.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Webservices.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Websphere.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Wicket.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Xml.pot
branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Drools.po
branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Drools.po
Log:
POT and PO regeneration
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/as-IN/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/bn-IN/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/de-DE/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-ES/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/es-MX/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: Seam_-_Contextual_Components VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-11-06 00:09+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/fr-FR/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/gu-IN/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/hi-IN/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ja-JP/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -4,7 +4,7 @@
msgstr ""
"Project-Id-Version: Drools\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2009-03-04 12:55+1000\n"
"Last-Translator: Noriko Mizumoto <noriko(a)redhat.com>\n"
"Language-Team: Japanese <fedora-trans-ja(a)redhat.com>\n"
@@ -112,12 +112,47 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, fuzzy, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
+"\"policyPricing.dsl\">\n"
+" <drools:rule-files>\n"
+" <value>policyPricingRules.drl</value>\n"
+" </drools:rule-files>\n"
+"</drools:rule-base>]]>"
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -144,13 +179,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, fuzzy, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -169,7 +204,7 @@
"</drools:rule-base>]]>"
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -186,7 +221,7 @@
"です。"
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -198,7 +233,7 @@
">]]>"
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -208,7 +243,7 @@
"Drools サンプルディストリビューションからの設定ファイルの例を示します。"
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -228,7 +263,7 @@
"name=insuranceconfig"
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -238,7 +273,7 @@
"す。"
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -258,7 +293,7 @@
" configuration-name=\"insuranceconfig\" />]]>"
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -270,7 +305,7 @@
"対話に関連する fact を蓄積します。)"
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -280,7 +315,7 @@
"auto-create=\"true\" rule-base=\"#{policyPricingRules}\"/>]]>"
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -292,7 +327,7 @@
"ださい。"
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -301,7 +336,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -314,13 +349,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr "Seam コンポーネントからのルールを使用する"
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -330,7 +365,7 @@
"トし、 fact をアサートし、そしてルールを実行することができます。"
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, fuzzy, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -342,6 +377,8 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
@@ -358,13 +395,13 @@
"}]]>"
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr "jBPM プロセス定義からのルールを使用する"
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, fuzzy, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -376,14 +413,16 @@
"たはビジネスプロセス定義のどちらでも可。"
#. Tag: programlisting
-#: Drools.xml:114
-#, no-c-format
+#: Drools.xml:127
+#, fuzzy, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
" \n"
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -436,7 +475,7 @@
"</decision>]]>"
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -448,13 +487,25 @@
"合または 1 オブジェクトを返す EL 式を指定します。"
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
+#, fuzzy, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+"<literal><assertObjects></literal> エレメントは "
+"<literal>WorkingMemory</literal> に fact としてアサートされるオブジェクトの集"
+"合または 1 オブジェクトを返す EL 式を指定します。"
+
+#. Tag: para
+#: Drools.xml:141
#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr "jBPM タスク割り当てのために Drools の使用もサポートしています。"
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -494,7 +545,7 @@
"</task-node>]]>"
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -514,7 +565,7 @@
"です。"
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -546,7 +597,7 @@
"end]]>"
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -576,7 +627,7 @@
"end]]>"
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -586,7 +637,7 @@
"ださい。"
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/kn-IN/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ko-KR/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ml-IN/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/mr-IN/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/or-IN/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pa-IN/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Annotations.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Annotations.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Annotations.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Author_Group.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Author_Group.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Author_Group.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Book_Info.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Book_Info.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Book_Info.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Cache.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Cache.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Cache.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/ClusteringAndEJBPassivation.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/ClusteringAndEJBPassivation.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/ClusteringAndEJBPassivation.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Components.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Components.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Components.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Concepts.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Concepts.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Concepts.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Configuration.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Configuration.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Configuration.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Controls.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Controls.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Controls.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Conversations.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Conversations.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Conversations.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Dependencies.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Dependencies.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Dependencies.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Drools.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Drools.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Drools.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
@@ -90,12 +90,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -122,13 +151,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -141,7 +170,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -152,7 +181,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -161,7 +190,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -169,7 +198,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -182,7 +211,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -190,7 +219,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -203,7 +232,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -212,7 +241,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -220,7 +249,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -229,7 +258,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -238,7 +267,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -251,13 +280,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -265,7 +294,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -277,18 +306,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -297,7 +328,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -305,6 +336,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -330,7 +363,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -339,13 +372,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -368,7 +410,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -381,7 +423,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -400,7 +442,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -418,7 +460,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -426,7 +468,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Elenhancements.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Elenhancements.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Elenhancements.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Events.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Events.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Events.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Excel.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Excel.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Excel.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Feedback.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Feedback.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Feedback.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Framework.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Framework.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Framework.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Getting_Started_With_JBoss_Tools.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Getting_Started_With_JBoss_Tools.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Getting_Started_With_JBoss_Tools.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gettingstarted.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gettingstarted.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gettingstarted.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Glassfish.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Glassfish.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Glassfish.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Groovy.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Groovy.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Groovy.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Guice.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Guice.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Guice.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gwt.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gwt.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Gwt.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Hsearch.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Hsearch.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Hsearch.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/I18n.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/I18n.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/I18n.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Itext.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Itext.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Itext.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jbpm.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jbpm.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jbpm.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jms.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jms.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Jms.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Mail.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Mail.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Mail.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Performance.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Performance.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Performance.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Persistence.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Persistence.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Persistence.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Preface.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Preface.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Preface.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Remoting.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Remoting.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Remoting.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Revision_History.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Revision_History.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Revision_History.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Rss.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Rss.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Rss.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Security.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Security.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Security.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Spring.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Spring.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Spring.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Testing.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Testing.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Testing.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Text.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Text.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Text.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tools.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tools.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tools.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tutorial.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tutorial.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Tutorial.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Validation.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Validation.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Validation.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:52+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Weblogic.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Weblogic.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Weblogic.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:53+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Webservices.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Webservices.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Webservices.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:53+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Websphere.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Websphere.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Websphere.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:53+0000\n"
+"POT-Creation-Date: 2009-06-19 04:38+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Wicket.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Wicket.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Wicket.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:53+0000\n"
+"POT-Creation-Date: 2009-06-19 04:38+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Xml.pot
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Xml.pot 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pot/Xml.pot 2009-06-19 04:51:38 UTC (rev 11177)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-13 23:53+0000\n"
+"POT-Creation-Date: 2009-06-19 04:38+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/pt-BR/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ru-RU/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/si-LK/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/sl-SL/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-21 00:37+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/ta-IN/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/te-IN/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-CN/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/zh-TW/Drools.po 2009-06-19 04:51:38 UTC (rev 11177)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -89,12 +89,41 @@
#: Drools.xml:39
#, no-c-format
msgid ""
+"Support for Drools RuleFlow is also available and you can simply add a "
+"<literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule "
+"files as:"
+msgstr ""
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files="
+"\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid ""
+"Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) "
+"format, you need to specify the -Ddrools.ruleflow.port=true system property "
+"on server startup. This is however still an experimental feature and we "
+"advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
+msgid ""
"If you want to register a custom consequence exception handler through the "
"RuleBaseConfiguration, you need to write the handler, for example:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -121,13 +150,13 @@
msgstr ""
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file="
@@ -140,7 +169,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid ""
"In most rules-driven applications, rules need to be dynamically deployable, "
@@ -151,7 +180,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -160,7 +189,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid ""
"The properties file contains properties specific to the RulesAgent. Here is "
@@ -168,7 +197,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -181,7 +210,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid ""
"It is also possible to configure the options on the component directly, "
@@ -189,7 +218,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -202,7 +231,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid ""
"Next, we need to make an instance of <literal>org.drools.WorkingMemory</"
@@ -211,7 +240,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -219,7 +248,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid ""
"Notice that we gave the <literal>policyPricingWorkingMemory</literal> a "
@@ -228,7 +257,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid ""
"We can also add means to be notified of rule engine events, including rules "
@@ -237,7 +266,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" "
@@ -250,13 +279,13 @@
msgstr ""
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr ""
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid ""
"We can now inject our <literal>WorkingMemory</literal> into any Seam "
@@ -264,7 +293,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -276,18 +305,20 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr ""
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid ""
"You can even allow a rule base to act as a jBPM action handler, decision "
@@ -296,7 +327,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
@@ -304,6 +335,8 @@
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</"
"workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -329,7 +362,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid ""
"The <literal><assertObjects></literal> element specifies EL "
@@ -338,13 +371,22 @@
msgstr ""
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid ""
+"The <literal><retractObjects></literal> element on the other hand "
+"specifies EL expressions that return an object or collection of objects to "
+"be retracted from the <literal>WorkingMemory</literal>."
+msgstr ""
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr ""
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -367,7 +409,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid ""
"Certain objects are available to the rules as Drools globals, namely the "
@@ -380,7 +422,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -399,7 +441,7 @@
msgstr ""
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -417,7 +459,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid ""
"You can find out more about Drools at <ulink url=\"http://www.drools.org\"></"
@@ -425,7 +467,7 @@
msgstr ""
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid ""
"Seam comes with enough of Drools' dependencies to implement some simple "
15 years, 6 months
Seam SVN: r11176 - branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT.
by seam-commits@lists.jboss.org
Author: nico.ben
Date: 2009-06-19 00:50:57 -0400 (Fri, 19 Jun 2009)
New Revision: 11176
Modified:
branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Drools.po
Log:
Italian translation
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Drools.po
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Drools.po 2009-06-19 00:57:18 UTC (rev 11175)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/it-IT/Drools.po 2009-06-19 04:50:57 UTC (rev 11176)
@@ -5,8 +5,8 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-06-11 14:37+0000\n"
-"PO-Revision-Date: 2009-06-11 16:42+0100\n"
+"POT-Creation-Date: 2009-06-19 04:37+0000\n"
+"PO-Revision-Date: 2009-06-19 06:50+0100\n"
"Last-Translator: Nicola Benaglia <nico.benaz(a)gmail.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
@@ -84,11 +84,35 @@
#. Tag: para
#: Drools.xml:39
#, no-c-format
+msgid "Support for Drools RuleFlow is also available and you can simply add a <literal>.rf</literal> or a <literal>.rfm</literal> as part of your rule files as:"
+msgstr "E' disponibile il supporto a Drools RuleFlow ed è possibile aggiungere un <literal>.rf</literal> o <literal>.rfm</literal> come parte dei file delle regole:"
+
+#. Tag: programlisting
+#: Drools.xml:44
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files=\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+msgstr ""
+"<![CDATA[\n"
+" <drools:rule-base name=\"policyPricingRules\" rule-files=\"policyPricingRules.drl, policyPricingRulesFlow.rf\"/>\n"
+" ]]>"
+
+#. Tag: para
+#: Drools.xml:46
+#, no-c-format
+msgid "Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) format, you need to specify the -Ddrools.ruleflow.port=true system property on server startup. This is however still an experimental feature and we advise to use the Drools5 (<literal>.rf</literal>) format if possible."
+msgstr "Si noti che quando si usa il formato Drools 4.x RuleFlow (<literal>.rfm</literal>) occorre specificare la proprietà di sistema -Ddrools.ruleflow.port=true all'avvio del server. Questa è una funzionalità sperimentale e si consiglia l'uso del formato Drools5 (<literal>.rf</literal>) se possibile."
+
+#. Tag: para
+#: Drools.xml:52
+#, no-c-format
msgid "If you want to register a custom consequence exception handler through the RuleBaseConfiguration, you need to write the handler, for example:"
msgstr "Se si vuole registrare un handler personalizzato per le eccezioni tramite RuleBaseConfiguration, occorre scrivere l'handler, per esempio:"
#. Tag: programlisting
-#: Drools.xml:44
+#: Drools.xml:57
#, no-c-format
msgid ""
"<![CDATA[(a)Scope(ScopeType.APPLICATION)\n"
@@ -132,13 +156,13 @@
"}]]>"
#. Tag: para
-#: Drools.xml:46
+#: Drools.xml:59
#, no-c-format
msgid "and register it:"
msgstr "e registrarlo:"
#. Tag: programlisting
-#: Drools.xml:49
+#: Drools.xml:62
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-base name=\"policyPricingRules\" dsl-file=\"policyPricing.dsl\" consequence-exception-handler=\"#{myConsequenceExceptionHandler}\">\n"
@@ -154,13 +178,13 @@
"</drools:rule-base>]]>"
#. Tag: para
-#: Drools.xml:51
+#: Drools.xml:64
#, no-c-format
msgid "In most rules-driven applications, rules need to be dynamically deployable, so a production application will want to use a Drools RuleAgent to manage the RuleBase. The RuleAgent can connect to a Drools rule server (BRMS) or hot deploy rules packages from a local file repository. The RulesAgent-managed RuleBase is also configurable in <literal>components.xml</literal>:"
msgstr "Nella maggior parte delle applicazioni guidate dalle regole, le regole devono essere dinamicamente deployabili, e quindi un'applicazione in produzione dovrà usare un Drools RuleAgent per gestire la RuleBase. Il RuleAgent può connettersi al server di regole Drool (BRMS) od eseguire l'hot deploy dei pacchetti di regole dal repository locale. La RuleBase gestita dal RulesAgen è configurabile in <literal>components.xml</literal>:"
#. Tag: programlisting
-#: Drools.xml:59
+#: Drools.xml:72
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\" \n"
@@ -170,13 +194,13 @@
" configurationFile=\"/WEB-INF/deployedrules.properties\" />]]>"
#. Tag: para
-#: Drools.xml:61
+#: Drools.xml:74
#, no-c-format
msgid "The properties file contains properties specific to the RulesAgent. Here is an example configuration file from the Drools example distribution."
msgstr "Il file delle proprietà contiene proprietà specifiche per RulesAgent. Ecco un file di configurazione d'esempio proveniente dalla distribuzione Drools."
#. Tag: programlisting
-#: Drools.xml:64
+#: Drools.xml:77
#, no-c-format
msgid ""
"newInstance=true\n"
@@ -192,13 +216,13 @@
"name=insuranceconfig"
#. Tag: para
-#: Drools.xml:67
+#: Drools.xml:80
#, no-c-format
msgid "It is also possible to configure the options on the component directly, bypassing the configuration file."
msgstr "E' anche possibile configurare le opzioni derettamente sul componente, bypassando il file di configurazione."
#. Tag: programlisting
-#: Drools.xml:69
+#: Drools.xml:82
#, no-c-format
msgid ""
"<![CDATA[<drools:rule-agent name=\"insuranceRules\"\n"
@@ -214,31 +238,31 @@
" configuration-name=\"insuranceconfig\" />]]>"
#. Tag: para
-#: Drools.xml:71
+#: Drools.xml:84
#, no-c-format
msgid "Next, we need to make an instance of <literal>org.drools.WorkingMemory</literal> available to each conversation. (Each <literal>WorkingMemory</literal> accumulates facts relating to the current conversation.)"
msgstr "Successivamente occorre rendere disponibile ad ogni conversazione un'istanza di <literal>org.drools.WorkingMemory</literal>. (Ogni <literal>WorkingMemory</literal> accumula fatti relativi alla conversazione corrente.)"
#. Tag: programlisting
-#: Drools.xml:77
+#: Drools.xml:90
#, no-c-format
msgid "<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" auto-create=\"true\" rule-base=\"#{policyPricingRules}\"/>]]>"
msgstr "<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" auto-create=\"true\" rule-base=\"#{policyPricingRules}\"/>]]>"
#. Tag: para
-#: Drools.xml:79
+#: Drools.xml:92
#, no-c-format
msgid "Notice that we gave the <literal>policyPricingWorkingMemory</literal> a reference back to our rule base via the <literal>ruleBase</literal> configuration property."
msgstr "Notare che è stato dato a <literal>policyPricingWorkingMemory</literal> un riferimento alla base di regole tramite la proprietà di configurazione <literal>ruleBase</literal>."
#. Tag: para
-#: Drools.xml:85
+#: Drools.xml:98
#, no-c-format
msgid "We can also add means to be notified of rule engine events, including rules firing, objects being asserted, etc. by adding event listeners to WorkingMemory."
msgstr "Si può anche aggiungere gli strumenti per essere notificati degli eventi rule engine, inclusi l'avvio delle regole, gli oggetti da asserire, ecc. aggiungendo event listener alla WorkingMemory."
#. Tag: programlisting
-#: Drools.xml:90
+#: Drools.xml:103
#, no-c-format
msgid ""
"<![CDATA[<drools:managed-working-memory name=\"policyPricingWorkingMemory\" auto-create=\"true\" rule-base=\"#{policyPricingRules}\">\n"
@@ -256,19 +280,19 @@
"</drools:managed-working-memory>]]>"
#. Tag: title
-#: Drools.xml:94
+#: Drools.xml:107
#, no-c-format
msgid "Using rules from a Seam component"
msgstr "Utilizzo delle regole da un componente SEAM"
#. Tag: para
-#: Drools.xml:96
+#: Drools.xml:109
#, no-c-format
msgid "We can now inject our <literal>WorkingMemory</literal> into any Seam component, assert facts, and fire rules:"
msgstr "Ora è possibile iniettare la <literal>WorkingMemory</literal> in un qualsiasi componente di Seam, asserire i fatti e lanciare le regole:"
#. Tag: programlisting
-#: Drools.xml:101
+#: Drools.xml:114
#, no-c-format
msgid ""
"<![CDATA[@In WorkingMemory policyPricingWorkingMemory;\n"
@@ -280,6 +304,8 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
msgstr ""
@@ -292,29 +318,33 @@
"{\n"
" policyPricingWorkingMemory.insert(policy);\n"
" policyPricingWorkingMemory.insert(customer); \n"
+" // if we have a ruleflow, start the process\n"
+" policyPricingWorkingMemory.startProcess(startProcessId)\n"
" policyPricingWorkingMemory.fireAllRules();\n"
"}]]>"
#. Tag: title
-#: Drools.xml:106
+#: Drools.xml:119
#, no-c-format
msgid "Using rules from a jBPM process definition"
msgstr "Utilizzo delle regole da una definizione di processo jBPM"
#. Tag: para
-#: Drools.xml:108
+#: Drools.xml:121
#, no-c-format
msgid "You can even allow a rule base to act as a jBPM action handler, decision handler, or assignment handler — in either a pageflow or business process definition."
msgstr "Si può anche consentire alla base di regole di agire come action handler di jBPM, decision handler, o assignment handler — sia in una definizione di pageflow sia in un processo di business."
#. Tag: programlisting
-#: Drools.xml:114
+#: Drools.xml:127
#, no-c-format
msgid ""
"<![CDATA[<decision name=\"approval\">\n"
" \n"
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -341,6 +371,8 @@
" \n"
" <handler class=\"org.jboss.seam.drools.DroolsDecisionHandler\">\n"
" <workingMemoryName>orderApprovalRulesWorkingMemory</workingMemoryName>\n"
+" <!-- if a ruleflow was added -->\n"
+" <startProcessId>approvalruleflowid</startProcessId>\n"
" <assertObjects>\n"
" <element>#{customer}</element>\n"
" <element>#{order}</element>\n"
@@ -364,19 +396,25 @@
"</decision>]]>"
#. Tag: para
-#: Drools.xml:116
+#: Drools.xml:129
#, no-c-format
msgid "The <literal><assertObjects></literal> element specifies EL expressions that return an object or collection of objects to be asserted as facts into the <literal>WorkingMemory</literal>."
msgstr "L'elemento <literal><assertObjects></literal> specifica le espressioni EL che restituiscono un oggetto od una collezione di oggetti da asserire come fatti nella <literal>WorkingMemory</literal>."
#. Tag: para
-#: Drools.xml:122
+#: Drools.xml:135
#, no-c-format
+msgid "The <literal><retractObjects></literal> element on the other hand specifies EL expressions that return an object or collection of objects to be retracted from the <literal>WorkingMemory</literal>."
+msgstr "L'elemento <literal><retractObjects></literal> specifica le espressioni EL che restituiscono un oggetto od una collezione di oggetti da Rritrarre dalla <literal>WorkingMemory</literal>."
+
+#. Tag: para
+#: Drools.xml:141
+#, no-c-format
msgid "There is also support for using Drools for jBPM task assignments:"
msgstr "Esiste anche il supporto per l'uso di Drools per le assegnazioni dei task in jBPM:"
#. Tag: programlisting
-#: Drools.xml:126
+#: Drools.xml:145
#, no-c-format
msgid ""
"<![CDATA[<task-node name=\"review\">\n"
@@ -413,13 +451,13 @@
# rivedere la frase.
#. Tag: para
-#: Drools.xml:128
+#: Drools.xml:147
#, no-c-format
msgid "Certain objects are available to the rules as Drools globals, namely the jBPM <literal>Assignable</literal>, as <literal>assignable</literal> and a Seam <literal>Decision</literal> object, as <literal>decision</literal>. Rules which handle decisions should call <literal>decision.setOutcome(\"result\")</literal> to determine the result of the decision. Rules which perform assignments should set the actor id using the <literal>Assignable</literal>."
msgstr "Alcuni oggetti sono consultabili dalle regole come Drools globals, chiamate <literal>Assignable</literal> in jBPM, come <literal>assignable</literal> ed oggetto <literal>Decision</literal> in Seam, come <literal>decision</literal>. Le regole che gestiscono le decisioni dovrebbero chiamare <literal>decision.setOutcome(\"result\")</literal> per determinare il risultato della decisione. Le regole che eseguono assegnazioni dovrebbero impostare l'actor id usando <literal>Assignable</literal>."
#. Tag: programlisting
-#: Drools.xml:137
+#: Drools.xml:156
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -451,7 +489,7 @@
"end]]>"
#. Tag: programlisting
-#: Drools.xml:139
+#: Drools.xml:158
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.seam.examples.shop\n"
@@ -481,13 +519,13 @@
"end]]>"
#. Tag: para
-#: Drools.xml:142
+#: Drools.xml:161
#, no-c-format
msgid "You can find out more about Drools at <ulink url=\"http://www.drools.org\"></ulink>"
msgstr "Si possono trovare altre informazioni su Drools all'indirizzo <ulink url=\"http://www.drools.org\"></ulink>"
#. Tag: para
-#: Drools.xml:149
+#: Drools.xml:168
#, no-c-format
msgid "Seam comes with enough of Drools' dependencies to implement some simple rules. If you want to add extra capabilities to Drools you should download the full distribution and add in extra dependencies as needed."
msgstr "Seam viene fornito con dipendenze Drools sufficienti per implementare alcune regole semplici. Per aggiungere ulteriori funzionalità a Drools occorre scaricare la distribuzione completa ed aggiungere le dipendenze necessarie."
15 years, 6 months
Seam SVN: r11175 - branches/community/Seam_2_2/examples/drools/resources.
by seam-commits@lists.jboss.org
Author: tsurdilovic
Date: 2009-06-18 20:57:18 -0400 (Thu, 18 Jun 2009)
New Revision: 11175
Modified:
branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.xml
Log:
JBSEAM-4219, JBSEAM-4241
Modified: branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.xml
===================================================================
--- branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.xml 2009-06-19 00:17:25 UTC (rev 11174)
+++ branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.xml 2009-06-19 00:57:18 UTC (rev 11175)
@@ -21,7 +21,7 @@
<handler class="org.jboss.seam.drools.DroolsDecisionHandler">
<workingMemoryName>workingMemory</workingMemoryName>
<!-- if a ruleflow was added, start a process -->
- <startProcessId>numberguessid</startProcessId>
+ <!-- <startProcessId>numberguessid</startProcessId> -->
<assertObjects>
<element>#{game}</element>
<element>#{guess}</element>
15 years, 6 months
Seam SVN: r11174 - in branches/community/Seam_2_2: doc/Seam_Reference_Guide/en-US and 5 other directories.
by seam-commits@lists.jboss.org
Author: tsurdilovic
Date: 2009-06-18 20:17:25 -0400 (Thu, 18 Jun 2009)
New Revision: 11174
Added:
branches/community/Seam_2_2/examples/drools/resources/numberguess.rf
branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.jpg
Modified:
branches/community/Seam_2_2/build/core.pom.xml
branches/community/Seam_2_2/build/root.pom.xml
branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Drools.xml
branches/community/Seam_2_2/examples/build.xml
branches/community/Seam_2_2/examples/drools/resources/WEB-INF/components.xml
branches/community/Seam_2_2/examples/drools/resources/numberguess.drl
branches/community/Seam_2_2/examples/drools/resources/numberguess.xls
branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.xml
branches/community/Seam_2_2/seam-gen/ivy/ivy.xml
branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsActionHandler.java
branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsAssignmentHandler.java
branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsDecisionHandler.java
branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsHandler.java
branches/community/Seam_2_2/src/main/org/jboss/seam/drools/ManagedWorkingMemory.java
branches/community/Seam_2_2/src/main/org/jboss/seam/drools/RuleBase.java
Log:
JBSEAM-4219, JBSEAM-4241
Modified: branches/community/Seam_2_2/build/core.pom.xml
===================================================================
--- branches/community/Seam_2_2/build/core.pom.xml 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/build/core.pom.xml 2009-06-19 00:17:25 UTC (rev 11174)
@@ -252,7 +252,13 @@
<optional>true</optional>
</dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-templates</artifactId>
+ <optional>true</optional>
+ </dependency>
+
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-decisiontables</artifactId>
@@ -264,6 +270,16 @@
</exclusion>
</exclusions>
</dependency>
+
+ <dependency>
+ <groupId>xstream</groupId>
+ <artifactId>xstream</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>xpp3</groupId>
+ <artifactId>xpp3_min</artifactId>
+ </dependency>
<dependency>
<groupId>net.sourceforge.jexcelapi</groupId>
Modified: branches/community/Seam_2_2/build/root.pom.xml
===================================================================
--- branches/community/Seam_2_2/build/root.pom.xml 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/build/root.pom.xml 2009-06-19 00:17:25 UTC (rev 11174)
@@ -801,6 +801,12 @@
</exclusion>
</exclusions>
</dependency>
+
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-templates</artifactId>
+ <version>${version.drools}</version>
+ </dependency>
<dependency>
<groupId>org.drools</groupId>
@@ -829,6 +835,18 @@
</exclusion>
</exclusions>
</dependency>
+
+ <dependency>
+ <groupId>xstream</groupId>
+ <artifactId>xstream</artifactId>
+ <version>1.1.3</version>
+ </dependency>
+
+ <dependency>
+ <groupId>xpp3</groupId>
+ <artifactId>xpp3_min</artifactId>
+ <version>1.1.3.4.O</version>
+ </dependency>
<dependency>
<groupId>org.jboss.el</groupId>
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Drools.xml
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Drools.xml 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Drools.xml 2009-06-19 00:17:25 UTC (rev 11174)
@@ -44,6 +44,21 @@
</drools:rule-files>
</drools:rule-base>]]></programlisting>
+ <para>
+ Support for Drools RuleFlow is also available and you can simply add a <literal>.rf</literal> or a <literal>.rfm</literal>
+ as part of your rule files as:
+ </para>
+
+ <programlisting role="XML"><![CDATA[
+ <drools:rule-base name="policyPricingRules" rule-files="policyPricingRules.drl, policyPricingRulesFlow.rf"/>
+ ]]></programlisting>
+
+ <para>
+ Note that when using the Drools 4.x RuleFlow (<literal>.rfm</literal>) format, you need to specify the -Ddrools.ruleflow.port=true
+ system property on server startup. This is however still an experimental feature and we advise to use the Drools5 (<literal>.rf</literal>)
+ format if possible.
+ </para>
+
<para>
If you want to register a custom consequence exception handler through the RuleBaseConfiguration, you need to
write the handler, for example:
@@ -151,6 +166,8 @@
{
policyPricingWorkingMemory.insert(policy);
policyPricingWorkingMemory.insert(customer);
+ // if we have a ruleflow, start the process
+ policyPricingWorkingMemory.startProcess(startProcessId)
policyPricingWorkingMemory.fireAllRules();
}]]></programlisting>
@@ -169,6 +186,8 @@
<handler class="org.jboss.seam.drools.DroolsDecisionHandler">
<workingMemoryName>orderApprovalRulesWorkingMemory</workingMemoryName>
+ <!-- if a ruleflow was added -->
+ <startProcessId>approvalruleflowid</startProcessId>
<assertObjects>
<element>#{customer}</element>
<element>#{order}</element>
@@ -198,6 +217,12 @@
</para>
<para>
+ The <literal><retractObjects></literal> element on the other hand specifies EL
+ expressions that return an object or collection of objects to be retracted from the
+ <literal>WorkingMemory</literal>.
+ </para>
+
+ <para>
There is also support for using Drools for jBPM task assignments:
</para>
Modified: branches/community/Seam_2_2/examples/build.xml
===================================================================
--- branches/community/Seam_2_2/examples/build.xml 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/examples/build.xml 2009-06-19 00:17:25 UTC (rev 11174)
@@ -327,6 +327,9 @@
<include name="drools-compiler.jar" if="drools.lib" />
<include name="drools-api.jar" if="drools.lib" />
<include name="drools-decisiontables.jar" if="drools.lib"/>
+ <include name="drools-templates.jar" if="drools.lib"/>
+ <include name="xstream.jar" if="drools.lib"/>
+ <include name="xpp3_min.jar" if="drools.lib"/>
<include name="jxl.jar" if="drools.lib"/>
</fileset>
@@ -477,6 +480,8 @@
<!-- binary resources to go in the jar -->
<fileset id="jar.binary.resources" dir="${resources.dir}">
<include name="*.xls" />
+ <include name="*.rf" />
+ <include name="*.rfm" />
</fileset>
<!-- resources to go in the jar for tomcat -->
Modified: branches/community/Seam_2_2/examples/drools/resources/WEB-INF/components.xml
===================================================================
--- branches/community/Seam_2_2/examples/drools/resources/WEB-INF/components.xml 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/examples/drools/resources/WEB-INF/components.xml 2009-06-19 00:17:25 UTC (rev 11174)
@@ -12,6 +12,10 @@
<drools:rule-base name="ruleBase" rule-files="numberguess.drl"/>
<!-- use this in order to load from decision table instead -->
<!-- <drools:rule-base name="ruleBase" rule-files="numberguess.xls"/> -->
+ <!-- use this in order to load from a drl and also add a ruleflow -->
+ <!-- <drools:rule-base name="ruleBase" rule-files="numberguess.drl, numberguess.rf"/> -->
+ <!-- use this in order to load from a xls and also add a ruleflow -->
+ <!-- <drools:rule-base name="ruleBase" rule-files="numberguess.xls, numberguess.rf"/> -->
<!-- use this if you want to register a custom consequence exception handler -->
<!-- <drools:rule-base name="ruleBase" rule-files="numberguess.xls" consequence-exception-handler="#{gameConsequenceExceptionHandler}"/> -->
<drools:managed-working-memory name="workingMemory" rule-base="#{ruleBase}">
Modified: branches/community/Seam_2_2/examples/drools/resources/numberguess.drl
===================================================================
--- branches/community/Seam_2_2/examples/drools/resources/numberguess.drl 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/examples/drools/resources/numberguess.drl 2009-06-19 00:17:25 UTC (rev 11174)
@@ -7,6 +7,7 @@
global Game game
rule High
+ ruleflow-group "Guess"
when
Guess(guess: value>randomNumber)
then
@@ -14,6 +15,7 @@
end
rule Low
+ ruleflow-group "Guess"
when
Guess(guess: value<randomNumber)
then
@@ -21,6 +23,7 @@
end
rule Win
+ ruleflow-group "Decision"
when
Guess(value==randomNumber)
then
@@ -28,6 +31,7 @@
end
rule Lose
+ ruleflow-group "Decision"
when
Game(guessCount==9)
then
@@ -38,6 +42,7 @@
end
rule Increment
+ ruleflow-group "Increment"
salience -10
when
Guess()
Added: branches/community/Seam_2_2/examples/drools/resources/numberguess.rf
===================================================================
--- branches/community/Seam_2_2/examples/drools/resources/numberguess.rf (rev 0)
+++ branches/community/Seam_2_2/examples/drools/resources/numberguess.rf 2009-06-19 00:17:25 UTC (rev 11174)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<process xmlns="http://drools.org/drools-5.0/process"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+ xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
+ type="RuleFlow" name="numberguess" id="numberguessid" package-name="org.jboss.seam.example.numberguess" version="" routerLayout="2" >
+
+ <header>
+ </header>
+
+ <nodes>
+ <ruleSet id="17" name="Increment" x="336" y="156" width="80" height="40" ruleFlowGroup="Increment" />
+ <ruleSet id="13" name="Decision" x="216" y="156" width="80" height="40" ruleFlowGroup="Decision" />
+ <start id="8" name="Start" x="84" y="24" width="80" height="40" />
+ <end id="21" name="End" x="336" y="264" width="80" height="40" />
+ <ruleSet id="5" name="Guess" x="84" y="156" width="80" height="40" ruleFlowGroup="Guess" />
+ </nodes>
+
+ <connections>
+ <connection from="13" to="17" />
+ <connection from="5" to="13" />
+ <connection from="17" to="21" />
+ <connection from="8" to="5" />
+ </connections>
+
+</process>
\ No newline at end of file
Property changes on: branches/community/Seam_2_2/examples/drools/resources/numberguess.rf
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/community/Seam_2_2/examples/drools/resources/numberguess.xls
===================================================================
(Binary files differ)
Added: branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.jpg
===================================================================
(Binary files differ)
Property changes on: branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.xml
===================================================================
--- branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.xml 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/examples/drools/resources/pageflow.jpdl.xml 2009-06-19 00:17:25 UTC (rev 11174)
@@ -20,6 +20,8 @@
<handler class="org.jboss.seam.drools.DroolsDecisionHandler">
<workingMemoryName>workingMemory</workingMemoryName>
+ <!-- if a ruleflow was added, start a process -->
+ <startProcessId>numberguessid</startProcessId>
<assertObjects>
<element>#{game}</element>
<element>#{guess}</element>
Modified: branches/community/Seam_2_2/seam-gen/ivy/ivy.xml
===================================================================
--- branches/community/Seam_2_2/seam-gen/ivy/ivy.xml 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/seam-gen/ivy/ivy.xml 2009-06-19 00:17:25 UTC (rev 11174)
@@ -27,6 +27,9 @@
<dependency org="org.drools" name="drools-compiler" rev="5.0.1" conf="default"/>
<dependency org="org.drools" name="drools-core" rev="5.0.1" conf="default"/>
<dependency org="org.drools" name="drools-decisiontables" rev="5.0.1" conf="default"/>
+ <dependency org="org.drools" name="drools-templates" rev="5.0.1" conf="default"/>
+ <dependency org="xstream" name="xstream" rev="1.1.3" conf="default"/>
+ <dependency org="xpp3" name="xpp3_min" rev="1.1.3.4.O" conf="default"/>
<dependency org="org.eclipse.jdt" name="core" rev="3.2.3.v_686_R32x" conf="default"/>
<dependency org="org.codehaus.groovy" name="groovy-all" rev="1.5.4" conf="default"/>
<dependency org="org.hibernate" name="hibernate-validator" rev="3.0.0.GA" conf="default"/>
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsActionHandler.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsActionHandler.java 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsActionHandler.java 2009-06-19 00:17:25 UTC (rev 11174)
@@ -2,6 +2,7 @@
import java.util.List;
+import org.drools.WorkingMemory;
import org.jbpm.graph.def.ActionHandler;
import org.jbpm.graph.exe.ExecutionContext;
@@ -11,6 +12,7 @@
*
* @author Jeff Delong
* @author Gavin King
+ * @author Tihomir Surdilovic
*
*/
public class DroolsActionHandler extends DroolsHandler implements ActionHandler
@@ -18,11 +20,18 @@
private static final long serialVersionUID = 7752070876220597913L;
public List<String> assertObjects;
+ public List<String> retractObjects;
public String workingMemoryName;
+ public String startProcessId;
public void execute(ExecutionContext executionContext) throws Exception
{
- getWorkingMemory(workingMemoryName, assertObjects, executionContext).fireAllRules();
+ WorkingMemory workingMemory = getWorkingMemory(workingMemoryName, assertObjects, retractObjects, executionContext);
+ if(startProcessId != null && startProcessId.trim().length() > 0 )
+ {
+ workingMemory.startProcess(startProcessId);
+ }
+ workingMemory.fireAllRules();
}
}
\ No newline at end of file
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsAssignmentHandler.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsAssignmentHandler.java 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsAssignmentHandler.java 2009-06-19 00:17:25 UTC (rev 11174)
@@ -21,11 +21,17 @@
public String workingMemoryName;
public List<String> assertObjects;
+ public List<String> retractObjects;
+ public String startProcessId;
public void assign(Assignable assignable, ExecutionContext executionContext) throws Exception
{
- WorkingMemory workingMemory = getWorkingMemory(workingMemoryName, assertObjects, executionContext);
+ WorkingMemory workingMemory = getWorkingMemory(workingMemoryName, assertObjects, retractObjects, executionContext);
workingMemory.setGlobal( "assignable", assignable );
+ if(startProcessId != null && startProcessId.trim().length() > 0 )
+ {
+ workingMemory.startProcess(startProcessId);
+ }
workingMemory.fireAllRules();
}
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsDecisionHandler.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsDecisionHandler.java 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsDecisionHandler.java 2009-06-19 00:17:25 UTC (rev 11174)
@@ -19,12 +19,18 @@
private static final long serialVersionUID = -8900810376838166513L;
public List<String> assertObjects;
+ public List<String> retractObjects;
public String workingMemoryName;
+ public String startProcessId;
public String decide(ExecutionContext executionContext) throws Exception
{
- WorkingMemory workingMemory = getWorkingMemory(workingMemoryName, assertObjects, executionContext);
+ WorkingMemory workingMemory = getWorkingMemory(workingMemoryName, assertObjects, retractObjects, executionContext);
workingMemory.setGlobal( "decision", new Decision() );
+ if(startProcessId != null && startProcessId.trim().length() > 0 )
+ {
+ workingMemory.startProcess(startProcessId);
+ }
workingMemory.fireAllRules();
return ( (Decision) workingMemory.getGlobal("decision") ).getOutcome();
}
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsHandler.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsHandler.java 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/drools/DroolsHandler.java 2009-06-19 00:17:25 UTC (rev 11174)
@@ -19,26 +19,50 @@
*/
public class DroolsHandler
{
- protected WorkingMemory getWorkingMemory(String workingMemoryName, List<String> expressions, ExecutionContext executionContext)
+ protected WorkingMemory getWorkingMemory(String workingMemoryName, List<String> expressions, List<String> retractions, ExecutionContext executionContext)
throws ELException
{
WorkingMemory workingMemory = (WorkingMemory) Component.getInstance(workingMemoryName, true);
- for (String objectName: expressions)
+ if(expressions != null && expressions.size() > 0)
{
- Object object = Expressions.instance().createValueExpression(objectName).getValue();
- //Object object = new SeamVariableResolver().resolveVariable(objectName);
- // assert the object into the rules engine
- if (object instanceof Iterable)
+ for (String objectName: expressions)
{
- for (Object element: (Iterable) object)
+ Object object = Expressions.instance().createValueExpression(objectName).getValue();
+ //Object object = new SeamVariableResolver().resolveVariable(objectName);
+ // assert the object into the rules engine
+ if (object instanceof Iterable)
{
- assertObject(workingMemory, element);
+ for (Object element: (Iterable) object)
+ {
+ assertObject(workingMemory, element);
+ }
}
+ else
+ {
+ assertObject(workingMemory, object);
+ }
}
- else
+ }
+
+ if(retractions != null && retractions.size() > 0)
+ {
+ for (String objectName: retractions)
{
- assertObject(workingMemory, object);
+ Object object = Expressions.instance().createValueExpression(objectName).getValue();
+ //Object object = new SeamVariableResolver().resolveVariable(objectName);
+ // retract the object from the rules engine
+ if (object instanceof Iterable)
+ {
+ for (Object element: (Iterable) object)
+ {
+ retractObject(workingMemory, element);
+ }
+ }
+ else
+ {
+ retractObject(workingMemory, object);
+ }
}
}
@@ -60,4 +84,13 @@
workingMemory.update(fact, element);
}
}
+
+ private void retractObject(WorkingMemory workingMemory, Object element)
+ {
+ FactHandle fact = workingMemory.getFactHandle(element);
+ if (fact != null)
+ {
+ workingMemory.retract(fact);
+ }
+ }
}
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/drools/ManagedWorkingMemory.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/drools/ManagedWorkingMemory.java 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/drools/ManagedWorkingMemory.java 2009-06-19 00:17:25 UTC (rev 11174)
@@ -106,7 +106,7 @@
}
else
{
- log.debug("event Listener is not of valid type - bypassing.");
+ log.debug("event Listener " + eventListener + " is not of valid type - bypassing.");
}
}
catch (Exception e)
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/drools/RuleBase.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/drools/RuleBase.java 2009-06-18 06:01:16 UTC (rev 11173)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/drools/RuleBase.java 2009-06-19 00:17:25 UTC (rev 11174)
@@ -70,7 +70,14 @@
InputStreamReader source = new InputStreamReader(new ByteArrayInputStream(currentXMLBytes));
builder.addPackageFromDrl(source);
- } else {
+ }
+ else if(isRuleFlow(ruleFile))
+ {
+ log.debug("adding ruleflow: " + ruleFile);
+ builder.addRuleFlow( new InputStreamReader(stream) );
+ }
+ else
+ {
// read in the source
Reader drlReader = new InputStreamReader(stream);
@@ -160,4 +167,9 @@
return fileName != null && fileName.length() > 0 && fileName.endsWith(".xls");
}
+ private boolean isRuleFlow(String fileName)
+ {
+ //support both new drools5 and older drools4 formats
+ return fileName != null && fileName.length() > 0 && (fileName.endsWith(".rf") || fileName.endsWith(".rfm"));
+ }
}
15 years, 6 months
Seam SVN: r11173 - in sandbox/trunk/modules/xwidgets: src/main/javascript and 1 other directory.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-06-18 02:01:16 -0400 (Thu, 18 Jun 2009)
New Revision: 11173
Modified:
sandbox/trunk/modules/xwidgets/examples/helloworld/index.html
sandbox/trunk/modules/xwidgets/examples/helloworld/test.xw
sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Button.js
sandbox/trunk/modules/xwidgets/src/main/javascript/xw.Button.js
sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js
Log:
extremely rough first draft of component events
Modified: sandbox/trunk/modules/xwidgets/examples/helloworld/index.html
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/index.html 2009-06-18 01:52:13 UTC (rev 11172)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/index.html 2009-06-18 06:01:16 UTC (rev 11173)
@@ -7,7 +7,7 @@
<script src="../../src/main/javascript/xw.js"></script>
<script type="text/javascript">
- // Can't set the resource base to another path
+ // Can't set the resource base to a higher path
// because of browser security restrictions
//xw.setResourceBase("../../src/main/javascript");
Modified: sandbox/trunk/modules/xwidgets/examples/helloworld/test.xw
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/test.xw 2009-06-18 01:52:13 UTC (rev 11172)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/test.xw 2009-06-18 06:01:16 UTC (rev 11173)
@@ -3,6 +3,12 @@
<panel>
<label value="Hello World!"/>
- <button value="Click me!"/>
+ <button value="Click me!">
+ <event type="onclick">
+ <action type="script">
+ <![CDATA[alert("Hi there!");]]>
+ </action>
+ </event>
+ </button>
</panel>
</view>
\ No newline at end of file
Modified: sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Button.js
===================================================================
--- sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Button.js 2009-06-18 01:52:13 UTC (rev 11172)
+++ sandbox/trunk/modules/xwidgets/examples/helloworld/xw.Button.js 2009-06-18 06:01:16 UTC (rev 11173)
@@ -19,6 +19,18 @@
this.parent.control.appendChild(this.control);
var text = document.createTextNode(this.value);
this.control.appendChild(text);
+
+ if (!xw.Sys.isUndefined(this.events))
+ {
+ if (!xw.Sys.isUndefined(this.events.onclick))
+ {
+ var events = this.events;
+ var action = function() {
+ events.onclick.invoke();
+ };
+ xw.Sys.chainEvent(this.control, "click", action);
+ }
+ }
}
}
}
Modified: sandbox/trunk/modules/xwidgets/src/main/javascript/xw.Button.js
===================================================================
--- sandbox/trunk/modules/xwidgets/src/main/javascript/xw.Button.js 2009-06-18 01:52:13 UTC (rev 11172)
+++ sandbox/trunk/modules/xwidgets/src/main/javascript/xw.Button.js 2009-06-18 06:01:16 UTC (rev 11173)
@@ -19,6 +19,18 @@
this.parent.control.appendChild(this.control);
var text = document.createTextNode(this.value);
this.control.appendChild(text);
+
+ if (!xw.Sys.isUndefined(this.events))
+ {
+ if (!xw.Sys.isUndefined(this.events.onclick))
+ {
+ var events = this.events;
+ var action = function() {
+ events.onclick.invoke();
+ };
+ xw.Sys.chainEvent(this.control, "click", action);
+ }
+ }
}
}
}
Modified: sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js
===================================================================
--- sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js 2009-06-18 01:52:13 UTC (rev 11172)
+++ sandbox/trunk/modules/xwidgets/src/main/javascript/xw.js 2009-06-18 06:01:16 UTC (rev 11173)
@@ -97,6 +97,11 @@
return value.substring(0, 1).toUpperCase() + value.substring(1, value.length);
}
+xw.Sys.chainEvent = function(ctl, eventName, eventFunc)
+{
+ return ctl.addEventListener(eventName, eventFunc, false);
+}
+
/**
* Control manager
*/
@@ -185,13 +190,16 @@
var element = elements.item(i);
if (element instanceof Element)
{
- var controlName = xw.Sys.capitalize(element.tagName);
- if (!xw.Sys.arrayContains(this.controls, controlName))
+ if (element.tagName != "event")
{
- this.controls.push(controlName);
- }
-
- this.parseChildNodes(element.childNodes);
+ var controlName = xw.Sys.capitalize(element.tagName);
+ if (!xw.Sys.arrayContains(this.controls, controlName))
+ {
+ this.controls.push(controlName);
+ }
+
+ this.parseChildNodes(element.childNodes);
+ }
}
}
}
@@ -218,33 +226,68 @@
xw.ViewParser.prototype.parseControl = function(element, parentControl)
{
var tag = element.tagName;
- var controlName = tag.substring(0,1).toUpperCase() +
- tag.substring(1, tag.length);
- // TODO Test for events here
-
- // TODO improve this
- var control = eval("new xw.controls." + controlName + "()");
- control.parent = parentControl;
-
- if (xw.Sys.isUndefined(parentControl.children))
+ if (tag == "event")
{
- parentControl.children = new Array();
+ if (xw.Sys.isUndefined(parentControl.events))
+ {
+ parentControl.events = {};
+ }
+ xw.EventParser.parse(element, parentControl.events);
}
- parentControl.children.push(control);
+ else
+ {
+ // TODO improve this
+ var controlName = xw.Sys.capitalize(tag);
+ var control = eval("new xw.controls." + controlName + "()");
+ control.parent = parentControl;
+
+ if (xw.Sys.isUndefined(parentControl.children))
+ {
+ parentControl.children = new Array();
+ }
+ parentControl.children.push(control);
+
+ if (element.hasAttributes())
+ {
+ // Set control properties
+ for (var i = 0; i < element.attributes.length; i++)
+ {
+ var name = element.attributes[i].name;
+ var value = element.getAttribute(name);
+ control[name] = value;
+ }
+ }
- if (element.hasAttributes())
+ this.parseChildren(element.childNodes, control);
+ }
+ }
+}
+
+xw.EventParser = {};
+xw.EventParser.parse = function(element, events)
+{
+ var eventType = element.getAttribute("type");
+ for (var i = 0; i < element.childNodes.length; i++)
+ {
+ var child = element.childNodes.item(i);
+ if (child instanceof Element && child.tagName == "action")
{
- // Set control properties
- for (var i = 0; i < element.attributes.length; i++)
+ if (child.getAttribute("type") == "script")
{
- var name = element.attributes[i].name;
- var value = element.getAttribute(name);
- control[name] = value;
+ for (var j = 0; j < child.childNodes.length; j++)
+ {
+ if (child.childNodes[j].nodeType == 4) // CDATA_SECTION_NODE
+ {
+ var actionScript = child.childNodes[j].nodeValue;
+ var action = new xw.Action();
+ action.script = actionScript;
+ events[eventType] = action;
+ }
+ }
}
+ break;
}
-
- this.parseChildren(element.childNodes, control);
}
}
@@ -327,6 +370,19 @@
}
}
+xw.Action = function()
+{
+ this.script = null;
+
+ xw.Action.prototype.invoke = function()
+ {
+ if (!xw.Sys.isUndefined(this.script))
+ {
+ return eval(this.script);
+ }
+ }
+}
+
/**
* A single instance of a view
*/
15 years, 6 months