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

Peter Muir peter at bleepbleep.org.uk
Wed Feb 21 13:48:46 EST 2007


  User: pmuir   
  Date: 07/02/21 13:48:46

  Modified:    doc/reference/en/modules  jbpm.xml
  Log:
  Doc task/process control using pages.xml
  
  Revision  Changes    Path
  1.28      +795 -771  jboss-seam/doc/reference/en/modules/jbpm.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: jbpm.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/jbpm.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -b -r1.27 -r1.28
  --- jbpm.xml	13 Feb 2007 16:28:18 -0000	1.27
  +++ jbpm.xml	21 Feb 2007 18:48:46 -0000	1.28
  @@ -391,6 +391,12 @@
           <programlisting><![CDATA[@Begin(pageflow="numberguess")
   public void begin() { ... }]]></programlisting>
           
  +		<para>Alternatively we can start a pageflow using pages.xml:</para>
  +		
  +		<programlisting><![CDATA[<page>
  +        <begin-conversation pageflow="numberguess"/>
  +    </page>]]></programlisting>
  +        
           <para>
               If we are beginning the pageflow during the <literal>RENDER_RESPONSE</literal>
               phase&mdash;during a <literal>@Factory</literal> or <literal>@Create</literal>
  @@ -670,6 +676,12 @@
           <programlisting><![CDATA[@CreateProcess(definition="todo")
   public void createTodo() { ... }]]></programlisting>
   
  +        <para>Alternatively we can initiate a business process using pages.xml:</para>
  +        
  +        <programlisting><![CDATA[<page>
  +    <create-process definition="todo" />
  +</page>]]></programlisting>
  +
           </section>
           
           <section>
  @@ -757,6 +769,12 @@
           <programlisting><![CDATA[@StartTask
   public String start() { ... }]]></programlisting>
           
  +        <para>Alternatively we can begin work on a task using pages.xml:</para>
  +        
  +        <programlisting><![CDATA[<page>
  +    <start-task />
  +</page>]]></programlisting>
  +        
           <para>    
               These annotations begin a special kind of conversation that has 
               significance in terms of the overarching business process. Work done 
  @@ -772,6 +790,12 @@
           <programlisting><![CDATA[@EndTask(transition="completed")
   public String completed() { ... }]]></programlisting>
   
  +        <para>Alternatively we can use pages.xml:</para>
  +        
  +        <programlisting><![CDATA[<page>
  +    <end-task transition="completed" />
  +</page>]]></programlisting>
  +
           <para>
               (Alternatively, we could have used <literal>&lt;end-conversation&gt;</literal>
               as shown above.)
  
  
  



More information about the jboss-cvs-commits mailing list