myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r928038 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/EncodeAjaxCallback.java
Date Fri, 26 Mar 2010 20:08:49 GMT
Author: lofwyr
Date: Fri Mar 26 20:08:48 2010
New Revision: 928038

URL: http://svn.apache.org/viewvc?rev=928038&view=rev
Log:
TOBAGO-655: EncodeAjaxCallback should be a TobagoContext

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/EncodeAjaxCallback.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/EncodeAjaxCallback.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/EncodeAjaxCallback.java?rev=928038&r1=928037&r2=928038&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/EncodeAjaxCallback.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/EncodeAjaxCallback.java
Fri Mar 26 20:08:48 2010
@@ -24,10 +24,11 @@ import org.apache.myfaces.tobago.renderk
 import javax.faces.FacesException;
 import javax.faces.component.UIComponent;
 import javax.faces.context.FacesContext;
+import javax.faces.event.PhaseId;
 import java.io.IOException;
 import java.util.Iterator;
 
-public class EncodeAjaxCallback implements javax.faces.component.ContextCallback {
+public class EncodeAjaxCallback implements TobagoCallback {
 
   public void invokeContextCallback(FacesContext facesContext, UIComponent component) {
     try {
@@ -38,6 +39,9 @@ public class EncodeAjaxCallback implemen
     }
   }
 
+  public PhaseId getPhaseId() {
+    return PhaseId.RENDER_RESPONSE;
+  }
 
   // TODO merge with RenderUtil.prepareRendererAll
   public static void prepareRendererAll(FacesContext facesContext, UIComponent component)
throws IOException {



Mime
View raw message