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/03 09:22:57 UTC

svn commit: r1066752 - /myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java

Author: bommel
Date: Thu Feb  3 08:22:57 2011
New Revision: 1066752

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

Modified:
    myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java

Modified: myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java?rev=1066752&r1=1066751&r2=1066752&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java (original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-deprecation/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java Thu Feb  3 08:22:57 2011
@@ -130,8 +130,8 @@ public class AjaxUtils {
    * @deprecated Please use org.apache.myfaces.tobago.ajax.AjaxUtils.redirect
    */
   @Deprecated
-  public static void redirect(FacesContext facesContext, String url) throws IOException {
-    org.apache.myfaces.tobago.ajax.AjaxUtils.redirect(facesContext, url);
+  public static boolean redirect(FacesContext facesContext, String url) throws IOException {
+    return org.apache.myfaces.tobago.ajax.AjaxUtils.redirect(facesContext, url);
   }
 
   /**