myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jak...@apache.org
Subject svn commit: r940513 - /myfaces/test/trunk/test20/src/main/java/org/apache/myfaces/test/mock/MockExternalContext20.java
Date Mon, 03 May 2010 17:01:27 GMT
Author: jakobk
Date: Mon May  3 17:01:27 2010
New Revision: 940513

URL: http://svn.apache.org/viewvc?rev=940513&view=rev
Log:
MYFACESTEST-9 MockExternalContext20 should implement encodePartialActionURL()

Modified:
    myfaces/test/trunk/test20/src/main/java/org/apache/myfaces/test/mock/MockExternalContext20.java

Modified: myfaces/test/trunk/test20/src/main/java/org/apache/myfaces/test/mock/MockExternalContext20.java
URL: http://svn.apache.org/viewvc/myfaces/test/trunk/test20/src/main/java/org/apache/myfaces/test/mock/MockExternalContext20.java?rev=940513&r1=940512&r2=940513&view=diff
==============================================================================
--- myfaces/test/trunk/test20/src/main/java/org/apache/myfaces/test/mock/MockExternalContext20.java
(original)
+++ myfaces/test/trunk/test20/src/main/java/org/apache/myfaces/test/mock/MockExternalContext20.java
Mon May  3 17:01:27 2010
@@ -157,6 +157,12 @@ public class MockExternalContext20 exten
     {
         return response.encodeRedirectURL(encodeURL(baseUrl, parameters));
     }
+    
+    @Override
+    public String encodePartialActionURL(String url)
+    {
+        return ((HttpServletResponse) response).encodeURL(url);
+    }
 
     public String getContextName() {
         return context.getServletContextName();



Mime
View raw message