[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-4219) Allow use of RuleFlow in Seam RuleBase
Tihomir Surdilovic (JIRA)
jira-events at lists.jboss.org
Fri Jun 12 15:08:56 EDT 2009
[ https://jira.jboss.org/jira/browse/JBSEAM-4219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12471967#action_12471967 ]
Tihomir Surdilovic commented on JBSEAM-4219:
--------------------------------------------
added ability to use ruleflow, in components.xml you can now do:
<drools:rule-base name="ruleBase" rule-files="numberguessforruleflow.drl, numberguess.rfm"/>
You can also start the ruleflow process from a pageflow, for example (using the seam-drools example again):
<handler class="org.jboss.seam.drools.DroolsDecisionHandler">
<workingMemoryName>workingMemory</workingMemoryName>
<!-- if a ruleflow was added, start a process -->
<startProcessId>numberguess</startProcessId>
<assertObjects>
<element>#{game}</element>
<element>#{guess}</element>
</assertObjects>
</handler>
More testing and docs left.
> Allow use of RuleFlow in Seam RuleBase
> --------------------------------------
>
> Key: JBSEAM-4219
> URL: https://jira.jboss.org/jira/browse/JBSEAM-4219
> Project: Seam
> Issue Type: Feature Request
> Reporter: Tihomir Surdilovic
> Assignee: Tihomir Surdilovic
>
> Allow passing of RuleFlow .rf files through components.xml to RuleBase as well as the the process name to be started.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list