Revision: 1136
          http://stripes.svn.sourceforge.net/stripes/?rev=1136&view=rev
Author:   mongus
Date:     2009-08-05 20:12:50 +0000 (Wed, 05 Aug 2009)

Log Message:
-----------
changed direct uses of path to getPath() to allow subclasses to override

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 
    2009-07-25 17:25:18 UTC (rev 1135)
+++ 
branches/1.5.x/stripes/src/net/sourceforge/stripes/action/OnwardResolution.java 
    2009-08-05 20:12:50 UTC (rev 1136)
@@ -104,7 +104,7 @@
     @Override
     public String toString() {
         return getClass().getSimpleName() + "{" +
-            "path='" + path + "'" +
+            "path='" + getPath() + "'" +
             "}";
     }
 
@@ -189,7 +189,7 @@
      * @param locale the locale to be used by {...@link Formatter}s when 
formatting parameters
      */
     public String getUrl(Locale locale) {
-        UrlBuilder builder = new UrlBuilder(locale, path, false);
+        UrlBuilder builder = new UrlBuilder(locale, getPath(), false);
         if (event != VALUE_NOT_SET) {
             builder.setEvent(event == null || event.length() < 1 ? null : 
event);
         }


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to