You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ri...@apache.org on 2005/09/08 00:29:23 UTC

svn commit: r279443 - /beehive/trunk/samples/netui-samples/actioninterceptors/nested/Controller.java

Author: rich
Date: Wed Sep  7 15:29:17 2005
New Revision: 279443

URL: http://svn.apache.org/viewcvs?rev=279443&view=rev
Log:
Added a comment in the nested page flow controller of the Action Interceptors sample.  Yongqin pointed out that the actual value of the returnAction ("nestedDone") isn't used anywhere, and that's confusing.


Modified:
    beehive/trunk/samples/netui-samples/actioninterceptors/nested/Controller.java

Modified: beehive/trunk/samples/netui-samples/actioninterceptors/nested/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/samples/netui-samples/actioninterceptors/nested/Controller.java?rev=279443&r1=279442&r2=279443&view=diff
==============================================================================
--- beehive/trunk/samples/netui-samples/actioninterceptors/nested/Controller.java (original)
+++ beehive/trunk/samples/netui-samples/actioninterceptors/nested/Controller.java Wed Sep  7 15:29:17 2005
@@ -28,6 +28,12 @@
     nested=true,
     simpleActions={
         @Jpf.SimpleAction(name="begin", path="index.jsp"),
+
+        // This is the action that returns from our nested flow. Note that in this particular
+        // example, this nested flow is *only* being used from an action interceptor that
+        // "injects" it before the begin action of /interceptme/Controller.jpf.  That interceptor
+        // doesn't care what action we return ("nestedDone" in this case).  We could have used any
+        // other string for returnAction.
         @Jpf.SimpleAction(name="done", returnAction="nestedDone")
     }
 )