You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ra...@apache.org on 2005/10/19 05:48:31 UTC

svn commit: r326361 - in /jakarta/commons/sandbox/scxml/trunk/xdocs/usecases: scxml-in-rdc-group.xml scxml-in-shale-dialogs.xml

Author: rahul
Date: Tue Oct 18 20:48:28 2005
New Revision: 326361

URL: http://svn.apache.org/viewcvs?rev=326361&view=rev
Log:
Display state machine diagrams via the usecases section of the SCXML website.

Modified:
    jakarta/commons/sandbox/scxml/trunk/xdocs/usecases/scxml-in-rdc-group.xml
    jakarta/commons/sandbox/scxml/trunk/xdocs/usecases/scxml-in-shale-dialogs.xml

Modified: jakarta/commons/sandbox/scxml/trunk/xdocs/usecases/scxml-in-rdc-group.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/xdocs/usecases/scxml-in-rdc-group.xml?rev=326361&r1=326360&r2=326361&view=diff
==============================================================================
--- jakarta/commons/sandbox/scxml/trunk/xdocs/usecases/scxml-in-rdc-group.xml (original)
+++ jakarta/commons/sandbox/scxml/trunk/xdocs/usecases/scxml-in-rdc-group.xml Tue Oct 18 20:48:28 2005
@@ -50,12 +50,21 @@
     </ul>
    </subsection>
 
-   <subsection name="Example">
-    <p>To illustrate the use of the SCXML strategy for &lt;rdc:group&gt;,
-    consider a simple air travel information speech dialog, which prompts
-    the user for the trip type (one way or round trip), and collect either
-    one travel date or two depending on the answer.</p>
+  </section>
 
+  <section name="Example">
+   <p>To illustrate the use of the SCXML strategy for &lt;rdc:group&gt;,
+   consider a simple air travel information speech dialog, which prompts
+   the user for the trip type (one way or round trip), and collect either
+   one travel date or two depending on the answer.</p>
+
+   <subsection name="UML Diagram">
+    <p>Here is the
+    <a href="rdc-group/travel-info.jpg">UML state machine diagram</a>
+    that represents this SCXML-based travel information speech dialog.</p>
+   </subsection>
+
+   <subsection name="Code">
     <p>That gives us the following JSP snippet, if named variable
     <code>today</code> contains the <i>MMddyyyy</i> string for the
     current date:</p>

Modified: jakarta/commons/sandbox/scxml/trunk/xdocs/usecases/scxml-in-shale-dialogs.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/xdocs/usecases/scxml-in-shale-dialogs.xml?rev=326361&r1=326360&r2=326361&view=diff
==============================================================================
--- jakarta/commons/sandbox/scxml/trunk/xdocs/usecases/scxml-in-shale-dialogs.xml (original)
+++ jakarta/commons/sandbox/scxml/trunk/xdocs/usecases/scxml-in-shale-dialogs.xml Tue Oct 18 20:48:28 2005
@@ -52,7 +52,9 @@
     </ul>
    </subsection>
 
-   <subsection name="Proof of concept">
+  </section>
+
+  <section name="Proof of concept">
     <p>There are two war files below, the first one uses SCXML
     documents to describe the Shale dialogs, and the second
     one is the Shale source distro as-is, built locally
@@ -74,9 +76,17 @@
      nightly build)</li>
     </ul>
     </p>
-  </subsection>
+   
+   <subsection name="UML Diagrams">
+    <p>Here are the UML state machine diagrams for the two dialogs in
+    the usecases examples:</p>
+    <ul>
+     <li><a href="shale-dialogs/log-on-dialog.jpg">Log on dialog</a></li>
+     <li><a href="shale-dialogs/edit-profile-dialog.jpg">Edit Profile dialog</a></li>
+    </ul>
+   </subsection>
 
-  <subsection name="Building">
+   <subsection name="Building">
    <p>For the proof of concept, we delegate the SCXML documents based
    Shale Dialog Management to a 
    &quot;<code>SCXMLDialogNavigationHandler</code>&quot;, instead of



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org