myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r1067333 - /myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/java/org/apache/myfaces/tobago/example/reference/PartialReloadController.java
Date Fri, 04 Feb 2011 23:06:11 GMT
Author: bommel
Date: Fri Feb  4 23:06:11 2011
New Revision: 1067333

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

Modified:
    myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/java/org/apache/myfaces/tobago/example/reference/PartialReloadController.java

Modified: myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/java/org/apache/myfaces/tobago/example/reference/PartialReloadController.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/java/org/apache/myfaces/tobago/example/reference/PartialReloadController.java?rev=1067333&r1=1067332&r2=1067333&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/java/org/apache/myfaces/tobago/example/reference/PartialReloadController.java
(original)
+++ myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/java/org/apache/myfaces/tobago/example/reference/PartialReloadController.java
Fri Feb  4 23:06:11 2011
@@ -67,7 +67,8 @@ public class PartialReloadController {
   private String logAndNavigate(String navValue) {
     LOG.info("Return navigate value: " + navValue + "");
     /*try {
-      //((HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse()).sendRedirect("/tobago-example-demo/index.jsp");
+      //((HttpServletResponse) FacesContext.getCurrentInstance()
+      //.getExternalContext().getResponse()).sendRedirect("/tobago-example-demo/index.jsp");
       //FacesContext.getCurrentInstance().responseComplete();
       AjaxUtils.redirect(FacesContext.getCurrentInstance(), "/tobago-example-demo/index.jsp");
 



Mime
View raw message