You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2011/02/15 23:01:40 UTC

svn commit: r1071085 - /myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java

Author: bommel
Date: Tue Feb 15 22:01:39 2011
New Revision: 1071085

URL: http://svn.apache.org/viewvc?rev=1071085&view=rev
Log:
(TOBAGO-969) Support for redirect in the ajax case
sync with 1.5

Modified:
    myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java

Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java?rev=1071085&r1=1071084&r2=1071085&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java Tue Feb 15 22:01:39 2011
@@ -223,7 +223,7 @@ public class AjaxUtils {
     return true;
   }
 
-  public static void redirect(ServletResponse response, String url) throws IOException {
+  public static void redirect(HttpServletResponse response, String url) throws IOException {
     PrintWriter out = response.getWriter();
     out.print("<redirect url=");
     out.print(url);