Revision: 1484
          http://stripes.svn.sourceforge.net/stripes/?rev=1484&view=rev
Author:   bengunter
Date:     2012-03-30 14:14:44 +0000 (Fri, 30 Mar 2012)
Log Message:
-----------
Fixed STS-785: Add "event" for subclasses of OnwardResolution

Modified Paths:
--------------
    
branches/1.5.x/stripes/src/net/sourceforge/stripes/action/OnwardResolution.java

Modified: 
branches/1.5.x/stripes/src/net/sourceforge/stripes/action/OnwardResolution.java
===================================================================
--- 
branches/1.5.x/stripes/src/net/sourceforge/stripes/action/OnwardResolution.java 
    2012-03-24 18:17:17 UTC (rev 1483)
+++ 
branches/1.5.x/stripes/src/net/sourceforge/stripes/action/OnwardResolution.java 
    2012-03-30 14:14:44 UTC (rev 1484)
@@ -78,6 +78,16 @@
         this.event = event;
     }
 
+    /** Get the event name that was specified in one of the constructor calls. 
*/
+    public String getEvent() {
+        return event;
+    }
+
+    /** Return true if an event name was specified when this instance was 
constructed. */
+    public boolean isEventSpecified() {
+        return event != VALUE_NOT_SET;
+    }
+
     /** Accessor for the path that the user should be sent to. */
     public String getPath() {
         return path;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to