[jboss-cvs] jboss-seam/examples/drools/resources/WEB-INF ...

Norman Richards norman.richards at jboss.com
Fri Dec 8 00:14:20 EST 2006


  User: nrichards
  Date: 06/12/08 00:14:20

  Modified:    examples/drools/resources/WEB-INF  components.xml
  Log:
  usage namespaced xml
  
  Revision  Changes    Path
  1.5       +15 -26    jboss-seam/examples/drools/resources/WEB-INF/components.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: components.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/drools/resources/WEB-INF/components.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- components.xml	10 Nov 2006 19:07:54 -0000	1.4
  +++ components.xml	8 Dec 2006 05:14:20 -0000	1.5
  @@ -1,26 +1,15 @@
  -<!DOCTYPE components PUBLIC
  -  "-//JBoss/Seam Component Configuration DTD 1.1//EN"
  -  "http://jboss.com/products/seam/components-1.1.dtd">
  -
  -<components>
  -
  -    <component name="ruleBase" class="org.jboss.seam.drools.RuleBase">
  -        <property name="ruleFiles">numberguess.drl</property>
  -    </component>
  -    
  -    <component name="workingMemory" class="org.jboss.seam.drools.ManagedWorkingMemory">
  -        <property name="ruleBase">#{ruleBase}</property>
  -    </component>
  -
  -    <component name="org.jboss.seam.core.init">
  -        <property name="debug">true</property>
  -    </component>
  -    
  -    <component class="org.jboss.seam.core.Jbpm">
  -        <property name="pageflowDefinitions">pageflow.jpdl.xml</property>
  -    </component>
  -
  -    <component class="org.jboss.seam.core.Microcontainer" 
  -           installed="@microcontainer@"/>
  +<components xmlns="http://jboss.com/products/seam/components" 
  +            xmlns:core="http://jboss.com/products/seam/core"
  +            xmlns:drools="http://jboss.com/products/seam/drools">
  +    <drools:rule-base name="ruleBase" rule-files="numberguess.drl"/>
  +    <drools:managed-working-memory name="workingMemory" rule-base="#{ruleBase}"/>
  +
  +    <core:jbpm>
  +        <core:pageflow-definitions>
  +            <value>pageflow.jpdl.xml</value>
  +        </core:pageflow-definitions>
  +    </core:jbpm>
       
  +    <core:init debug="true"/>
  +    <core:microcontainer installed="@microcontainer@"/>
   </components>
  \ No newline at end of file
  
  
  



More information about the jboss-cvs-commits mailing list