Author: craigmcc
Date: Sat Apr 30 14:46:37 2005
New Revision: 165423

URL: http://svn.apache.org/viewcvs?rev=165423&view=rev
Log:
Leverage new ability to have global transition definitions in a dialog.

Modified:
    struts/shale/trunk/use-cases/src/web/WEB-INF/dialog-config.xml

Modified: struts/shale/trunk/use-cases/src/web/WEB-INF/dialog-config.xml
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/web/WEB-INF/dialog-config.xml?rev=165423&r1=165422&r2=165423&view=diff
==============================================================================
--- struts/shale/trunk/use-cases/src/web/WEB-INF/dialog-config.xml (original)
+++ struts/shale/trunk/use-cases/src/web/WEB-INF/dialog-config.xml Sat Apr 30 
14:46:37 2005
@@ -69,6 +69,12 @@
   <dialog                name="Edit Profile"
                         start="Setup">
 
+    <!-- Global transitioh definitions -->
+    <transition       outcome="cancel"
+                       target="Cancel"/>
+    <transition       outcome="finish"
+                       target="Finish"/>
+
     <action              name="Setup"
                        method="#{profile$edit.setup}">
       <transition     outcome="success"
@@ -77,20 +83,12 @@
 
     <view                name="Page 1"
                        viewId="/profile/profile1.jsp">
-      <transition     outcome="cancel"
-                       target="Cancel"/>
-      <transition     outcome="finish"
-                       target="Finish"/>
       <transition     outcome="next"
                        target="Page 2"/>
     </view>
 
     <view                name="Page 2"
                        viewId="/profile/profile2.jsp">
-      <transition     outcome="cancel"
-                       target="Cancel"/>
-      <transition     outcome="finish"
-                       target="Finish"/>
       <transition     outcome="next"
                        target="Page 3"/>
       <transition     outcome="previous"
@@ -99,10 +97,6 @@
 
     <view                name="Page 3"
                        viewId="/profile/profile3.jsp">
-      <transition     outcome="cancel"
-                       target="Cancel"/>
-      <transition     outcome="finish"
-                       target="Finish"/>
       <transition     outcome="next"
                        target="Exit"/>
       <transition     outcome="previous"



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to