[jboss-cvs] jboss-seam/doc/reference/en/modules ...

Gavin King gavin.king at jboss.com
Mon Jul 24 12:21:10 EDT 2006


  User: gavin   
  Date: 06/07/24 12:21:10

  Modified:    doc/reference/en/modules   components.xml drools.xml
  Log:
  doc drools dsl
  
  Revision  Changes    Path
  1.38      +5 -1      jboss-seam/doc/reference/en/modules/components.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: components.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/components.xml,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -b -r1.37 -r1.38
  --- components.xml	14 Jul 2006 19:07:56 -0000	1.37
  +++ components.xml	24 Jul 2006 16:21:10 -0000	1.38
  @@ -1152,7 +1152,11 @@
                           <listitem>
                           <para>
                               <literal><emphasis>&lt;ruleBase&gt;</emphasis>.ruleFiles</literal> 
  -                            &mdash; a list of files containing rules.
  +                            &mdash; a list of files containing Drools rules.
  +                        </para>
  +                        <para>
  +                            <literal><emphasis>&lt;ruleBase&gt;</emphasis>.dslFile</literal> 
  +                            &mdash; a Drools DSL definition.
                           </para>
                           </listitem>
                       </itemizedlist>
  
  
  
  1.9       +11 -0     jboss-seam/doc/reference/en/modules/drools.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: drools.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/drools.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- drools.xml	14 Jul 2006 03:26:32 -0000	1.8
  +++ drools.xml	24 Jul 2006 16:21:10 -0000	1.9
  @@ -35,6 +35,17 @@
            </para>
            
            <para>
  +             If you want to use a Drools DSL, you alse need to specify the DSL
  +             definition:
  +         </para>
  +         
  +        <programlisting><![CDATA[<component name="policyPricingRules"
  +          class="org.jboss.seam.drools.RuleBase">
  +    <property name="ruleFiles">policyPricingRules.drl</property>
  +    <property name="dslFile">policyPricing.dsl</property>
  +</component>]]></programlisting>
  +
  +         <para>
                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.)
  
  
  



More information about the jboss-cvs-commits mailing list